retrieve without key?



i'm completely new to objectdb. i do have apps running with db4o and perst.

i have a db which has only a single model object which would be an entity in objectdb. i'm managing the object in java. i'm loading data from an external source. i use keys from that source.

since i have a singleton i want to do something like "get * from entities" knowing there is only one.

i've looked at the api and can't see an option to retrieve an object w/o using a key.

can this be done?


You can use a single result query.

ObjectDB Support
ObjectDB - Fast Object Database for Java (JPA/JDO)

Post Reply

To post a reply and/or subscribe to update notifications - please login