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 » Native Queries » java   (RSS)
  • NQ optimization: Diagnosis says "Native query not present"

    Using db4o 6.4 for java, with single user .yap file or in-memory adapter (i.e., still no c/s).I do have the nqopt and bloat jars on the classpath in ant build file:   <property name=''thirdParty.lib.dir'' location=''${masterbuild.dir}/thirdParty/lib'' description=''dependencies jars'' />  <!-- OO database -->  ...
    Posted to db4o User Forum (Forum) by tatjana.kostic@ch.abb.com on March 13, 2008
  • 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
  • Re: Sorted Native Language Queries Optimized?

    Thank you Tetyana. This makes sense. Can you tell me if there are any known problems with using Java enum types in NL queries? Is there a place I should look for these kinds of issues so I don't have to bother the forum? Thanks, Paul
    Posted to db4o User Forum (Forum) by pspringer on February 22, 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