retrieve without key?

#1

hi,

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?

#2

You can use a single result query.

ObjectDB Support

Reply