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 » identity   (RSS)
  • Query by Identity in Native Queries

    Carl Rosenberger: There is no way to enable 'idendity' for QBE ?   Yes there is: query.constrain(new A(specificB)); query.descend(''b'').constraints().identity(); (...)  Native Queries are our primary query interface, so this is how you ''should'' set up the query, completely typesafe and refactorable, without having to ...
    Posted to db4o User Forum (Forum) by Poison on April 2, 2007
  • Re: Wrong Result of Native Query

    I found a mistake in the SODA query above. I have to add the identity flag to the _product constraint: Query q = container.query(); q.constrain(Attribute.class); q.descend(''_product'').constrain(lProduct).indentity().and(q.descend(''_language'').constrain(''de'')); lList = q.execute(); So this SODA query returns the ...
    Posted to db4o User Forum (Forum) by Poison on April 2, 2007