Internal Website Search

31-40 of 119 resultsRefresh

Spring Data JPA - PersistenceException thrown

.java:497) at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.invokeProxyMethod( at org.springframework.orm.jpa.AbstractEntityManagerFactoryBean ... /<my code dir>/META-INF/orm-objectdb.xml: at

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

; </bean> <bean id="entityManagerFactory"   class="org.springframework.orm.jpa ... name="jpaVendorAdapter">    <bean class="org.springframework.orm.jpa.vendor ... ;bean id="txManager" class="org.springframework.orm.jpa.JpaTransactionManager">   <property

JPA vs JDO - which is more efficient for OneToMany queries?

> It is true, however, that in ORM-based implementations it is more efficient ... ), but that is true for both JPA and JDO ORM-based implementations. By the way, if you define the reference ... either side. Therefore, the same definition above, which is less efficient in ORM-based implementation

JPA Annotations for Relationships

|OneToOne"> Unlike ORM JPA implementations, ObjectDB does not enforce

Updating JPA Entity Objects

recommended to use collections rather than arrays when using JPA. Collections are more portable to ORM JPA

ObjectDB Object Database Features

="/api/java/jpa/annotations/orm">O/R mapping. Easier to learn

JPA Persistence Unit

that are added to the default META-INF/orm.xml mapping file. Every annotation

Locking in JPA

/fields#version_field">version field (which is required by some ORM JPA providers) is defined in


support of JPA and JDO and is much faster than any ORM


/java/jdo/Constants/ORM_DTD_RESOURCE" title="Static Field of javax.jdo.Constants">ORM_DTD_RESOURCE ... "> String ORM_XSD_NS" title="Static Field of javax.jdo.Constants">ORM_XSD_NS