About SET

forum_thread

Log is almost empty (log level 'trace')

Hi, Using 2.4.6_01 version on Linux (2.6.18, VPS)..  Just wondering what should I suppose to see in a log file with a log level 'trace'/'debug'.. Trying to fix an issue that server version sometimes accidentally quits without any notice.. My log file (independently on whats specified in config file) has only database open/close messages, some query.compiler info but nothing more..  Is that right behaviour? Are there are server statistics API/logs available? Regards, #1 2013-02-08 16:25 Hi, Using 2.4.6_01 version on Linux (2.6.18, VPS)..  Just wondering what should I suppose to ...

 
forum_thread

OptimisticLockException

Have read read the documentation on optimistic locks, still not sure how to deal with these exceptions: [ObjectDB 2.2.5_04] javax.persistence.RollbackException Failed to commit transaction: Optimistic lock failed for object   ... 3. what happens if locking version-check is set false? are the changes from process B lost if process A subsequently ... by the object modified)? Can cascading refresh be set in the conf file? edit ...

 
api-jpa

getRoots()

Return the query roots.(Method of javax.persistence.criteria.AbstractQuery)

 
tutorial

JPA Web App Tutorial - IntelliJ Project

Opening a JPA Maven web application project in the IntelliJ IDEA.... Application Servers . Add Tomcat 6 Server if not set already (Tomcat has to be downloaded separately). Define Run ...

 
tutorial

Java EE 6 JPA Tutorial - IntelliJ Project

Opening a Java EE 6 JPA Maven web application project in the IntelliJ IDEA.... > Application Servers . Add Tomcat 6 Server if not set already (Tomcat has to be downloaded separately). Define Run ...

 
forum_thread

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

I'm curious about the trade offs between JDO and JPA. Seems to me that JDO will perform better and be statically typed. For example: Assume there are Customers and Orders.... the above, questions: 1) Do I need to explicitly set both ends, ie: customerX. orders . add ( orderY ) ... customer = customerX ; or, can I just set: orderY.customer = customerX , and the inverse is set ...

 
tutorial

Spring MVC JPA Tutorial - IntelliJ Project

Opening a Spring MVC JPA Maven web application project in the IntelliJ IDEA.... > Application Servers . Add Tomcat 6 Server if not set already (Tomcat has to be downloaded separately). Define Run ...

 
api-jpa

getPluralAttributes()

Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) of the managed type.(Method of javax.persistence.metamodel.ManagedType)

 
api-jpa

getDeclaredPluralAttributes()

Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) declared by the managed type.(Method of javax.persistence.metamodel.ManagedType)

 
api-jpa

javax.persistence.criteria.CollectionJoin

The CollectionJoin interface is the type of the result of joining to a collection over an association or element collection that has been specified as a java.util.Collection.(Interface of JPA)