db4o Developer Community

db4o open source object database, native to Java and .NET
Welcome to db4o Developer Community Sign in | Join
in Search
More Search Options

Browse by Tags

All Tags » java » Query   (RSS)
  • Ordinals only for enum NL Query?

    I am using a NL query in Java to do a search with an enum field as a criterion. The field is indexed. It seems that it only works if I compare the ordinal values of the enum. When I say it ''works'' I mean that I get the correct number of objects back. Without the ordinal methods the enum field seems to be treated as unconstrained. Is this ...
    Posted to db4o User Forum (Forum) by pspringer on March 1, 2007
  • ObjectNotStorableException when using native queries in embedded client-server-mode with Apache Avalon/Excalibur

    Hi,  I'm using db4o in a java environment and Apache Avalon/Excalibur as my component framework. Working with the local mode everything works fine for me. But switching to embedded client-server mode a ObjectNotStorableException is throws while performing native queries. I recognized that after the exception is thrown the db4o object manager ...
    Posted to db4o User Forum (Forum) by nobi2002 on February 21, 2007
  • List Sub Query

    Hi,we are new users in db4o and have the following problem using a java class construct like:class Folder {    Stirng name;    List mails;}  class Mail {    String subject;}Now we have some folders (e.g. ''inbox'', ''sent'' ...) containing mails.We are trying to search for mails with a subject ...
    Posted to db4o User Forum (Forum) by andsch on January 31, 2007
  • native queries in client/server networking mode with java 5.0

    Hello all, i'm newbie to db4o (and java for this matter). i was trying to work some queries using the ObjectContainer.query method passing a predicate like this: java.util.List <Pilot> pilots = objectContainer.query(new Predicate<Pilot>(){ public boolean match(Pilot pilot) {        return ...
    Posted to db4o User Forum (Forum) by natias on January 30, 2007
  • Dynamic queries crash if Comparator used

    Hi, I am evaluating db4o for use at work. We store a single table of fairly simple data (no joins, just one class with 13 or so string/long fields), but it needs to be able to handle millions of records. Currently we are using a normal SQL database, but some of the queries are a bit slow: 10-20 seconds is too much. I am having trouble getting ...
    Posted to db4o User Forum (Forum) by tysonlt on December 11, 2006