About API

issue

Integration with Java EE (JPA 1.0)

ObjectDB can be used in both Java EE and Java SE by using application managed EntityManager. Support of container managed EntityManager and integration with the JTA (Java Transaction API) is not implemented yet.... and integration with the JTA (Java Transaction API) is not implemented yet. ObjectDB Support ... Support for Java Transaction API (JTA) and running ObjectDB in Java EE containers (application servers) has ...

 
forum_thread

migration path from JPA / Hibernate

Hi. Is there a conversion tool or documentation that is of help when migrating an existing JPA solution to ObjectDB? Any recommendations or known pitfalls when it comes to ...   ... exact details. Notice that the JPA 2 criteria query API is now fully supported (relevant documentation will be released in a few days). If your application uses old Hibernate API / extensions (e.g. Session instead of EntityManager , queries with ...

 
page

What is the Java Data Objects (JDO)?

... to represent the object model. Unlike Java Persistence API (JPA), which is designated to be used with relational databases, JDO is ... ObjectDB, and it is probably the most popular Java API for object databases today. ...

 
forum_thread

objectdb explorer in ver 2.2 and 1.0

Hi   In first step  I have evaluated JPA API now I'm testing JDO API and I'have spotted that object explorer has lower functionality than in ver 2.2 eg garbarage collector or xml import/export functions are missing, could You explain why?   br Tomasz ... Hi   In first step  I have evaluated JPA API now I'm testing JDO API and I'have spotted that object explorer has lower functionality than in ...

 
forum_thread

Populating entity id before transaction commit

Hi, I have a question about populating auto generated id before transaction commit. We are using OBD with Spring and transactions are managed by Spring. The problem is, that we have custom annotation that wraps some of those functions to do additional work. But this annotation is executed before transaction is committed so all returned entities are not populated with ID in this context. How can I force ODB to populate entity ID before transaction is committed? Or maybe there is another way to finding ID of entity before commit? ... by: Object id = emf. < a href = "/api/java/jpa/EntityManagerFactory/getPersistenceUnitUtil" > ... ( ) </ a > . < a href = "/api/java/jpa/PersistenceUnitUtil/getIdentifier_Object" > getIdentifier ...

 
api-jpa

javax.persistence.criteria.Root

A root type in the from clause.(Interface of JPA)

 
api-jpa

javax.persistence.criteria.Join

A join to an entity, embeddable, or basic type.(Interface of JPA)

 
faq

Can I use ObjectDB to access a relational database?

... To access relational databases using the Java Persistence API (JPA) you will need an Object Relational Mapping (ORM) tool, such as ... implementation supports also the Java Data Objects (JDO) API. ObjectDB is a full featured standalone Object Database Management System ...

 
api-jpa

javax.persistence.SqlResultSetMapping

Specifies the mapping of the result of a native SQL query.(Annotation of JPA)

 
issue

Error reading UTF string (Serialized Objects in Explorer)

This is the message I get for attached db and this query: ... com . lexware . vereinsverwaltung . abrechnung . api . model . mitglied . MitgliedDebitorenKontoFragment ) $1 . ... . get ( 'com.lexware.vereinsverwaltung.abrechnung.api.model.mitglied.MitgliedDebitorenKontoFragment' ) ) . ...