About API

forum_thread

Drop JDO support

In my opinion JDO is a legacy/deprecated technology. You should remove JDO support in favour of JPA. I think this would make ObjectDB to grow faster. ... ObjectDB already supports JPA and this is its main API (e.g. the manual focuses on JPA). We have no reason to drop JDO, as ...

 
forum_thread

retrieve without key?

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? ... 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. ...

 
forum_thread

Analyse opensource project

Hello , it will be good if you analyse open source project : OrientDB: https://github.com/nuvolabase/orientdb     i heard it new. Maybe it can be helpful for more faster objectdb or jdbc side. ... support to objectdb.   There is an api named : CacheWriter for that.   ...

 
api-jpa

getLockMode()

Get the current lock mode for the query.(Method of javax.persistence.Query)

 
manual

[ODB1] Chapter 8 - ObjectDB Server

An ObjectDB server can manage one or more databases. Databases that are managed by a server can be accessed by multiple processes simultaneously. In addition, the server supports accessing these databases from remote machines by TCP/IP. More details about client server mode vs. embedded database mode are discussed in Section 1.2.... mode are discussed in Section 1.2 . Because the JDO API and the format of the database file are the same in both modes, switching ...

 
forum_thread

Using Scala collections with ObjectDB

Hi, I cannot see that it is possible to make scala collection classes persistable within ObjectDB. Am I missing something or must  ObjectDB Software Ltd do a specific incorporation of the scala.collection._  api for it to work ? (http://www.scala-lang.org/docu/files/collections-api/collections.html)   /Peter   ... incorporation of the scala.collection._  api for it to work ? (http://www.scala-lang.org/docu/files/collections-api/collections.html)   /Peter   ...

 
api-jpa

select(selection)

Specify the item that is to be returned in the query result.(Method of javax.persistence.criteria.CriteriaQuery)

 
forum_thread

Multi selection and distinct in a criteria query

hi, How can I realize multi selection with the criteria api concerning distinct? I.e. doing something like SELECT DISTINCT $1, $2 wouldn't work because I do only have something like criteria.multiselect(...) and nothing like builder.distinct(selection) so that I could do something like criteria.multiselect(builder.distinct($1), $2)... ?? Alex ... How can I realize multi selection with the criteria api concerning distinct? I.e. doing something like SELECT DISTINCT ...

 
forum_thread

JPA CriteriaQuery -- Iterate Expression<List<Object>>

Hi, I am new to  JPA and in particular the CriteriaQuery API. I have a simple CriteriaQuery where I pattern match a simple search String against field entires in a Person entity... i.e. the searchString is always decorated with %searchString%.  The Person object can contain many Record objects. I would like to update my query below to include a similar 'like' pattern match for each applicable field (String) of each element of the List of Records (see pseudo code).  ... I am new to  JPA and in particular the CriteriaQuery API. I have a simple CriteriaQuery where I pattern match a simple search String ...

 
faq

Is ObjectDB better than Object Relational Mapping (ORM)?

... relational database). By using the Java Persistence API (JPA), you can develop portable applications that can use both ObjectDB and ...