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 » SODA » Constraint   (RSS)
  • SODA question - querying Lists

    Hello! Can somebody tell me how SODA behaves for querying Lists? Assumed that Foo is a class which got a field (List _bars) which holds Bar-Objects and I want to get all Foos which got a special Bar. Does this Query Query q = _objectContainer.query();q.constrain(Foo.class);q.descend(''_bars'').constrain(special_bar); // special_bar is a ...
    Posted to db4o User Forum (Forum) by Poison on April 24, 2007
  • SODA Query not working when constraints are specified

    hi All, We are using DB4o as our cache layer in our web-app - we get all the benefits of the B-Tree based system for free :). It works great. However there are couple of problems that keep surfacing intermittently all the time 1. S.O.D.A query doesnt fetch an object present in the db. We opened the file in ObjectManager and tried the same query, ...
    Posted to db4o User Forum (Forum) by manjuss on April 16, 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
  • Summary

    Hi, Sorry for late feedback - I have been busy with other development. Just wanted to summarize: - On the original question about OR union and custom evaluators - I solved my problem by running several queries and then using collections and operating on them to make the OR or AND. Maybe not as quick and politically correct, but it gets the job ...
    Posted to db4o User Forum (Forum) by demo.bau on October 3, 2006
  • Range query for indexed field of type long broken

      Db4o does not respond correctly to a query on an index field of type long. The query in this example restricts the result set to a range of values. query.execute() delivers an empty result set if the upper limit of the range is a value which does not exist in the database. I have not investigated wether this bug also appears if ...
    Posted to db4o User Forum (Forum) by fransson on September 20, 2006