About JPA

forum_thread

Problem upgrading

Hello! We are trying to upgrade from 2.6.3 to 2.6.6. Now our application throws an exception. It's generating endless log files. I had to turn up Xmx to even see it before the JVM crashes. (Our web framework tried to show the exception on the client) I did a full rebuild of the project. It's using the right version of the enhancer. There are no code errors. If I change everything back to 2.6.3 it starts to work again. Any ideas? Best Regards   Here's a part of the output: ... a part of the output: org.springframework.orm.jpa.JpaSystemException: Failed to set reference value of field property ...

 
issue

Web Application Tutorial

A tutorial that demonstrates how to use ObjectDB in a web application should be written and added to the Tutorials section.... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ... The following web tutorials are now available: JPA Web Application in Eclipse JPA Web Application in NetBeans ...

 
forum_thread

Database crash

just running objectdb we run into a crash situation as described in the attached log. What can be the reason for such a behaviour ?   ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

How to Use a SF with extended Persistence Context?

Hey, I have a problem to use SF with an Extended Persistence Context Regarding to Transactions. The need for an extended persistence Context emerges for the need to create queries in advance for fast execution so I need to store the queries and I need an EntityManager that doesn't get closed between calls. When I call the SF directly no problem happens but if I use SL to hold a reference to the SF I get com.objectdb.o._PersistenceException: Attempt to begin a new transaction when a transaction is active. ... "Guestbook.war" 13:52:02,780 INFO  [org.jboss.as.jpa] (MSC service thread 1-16) JBAS011401: Read persistence.xml for guest-pu ... 13:52:03,019 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011401: Read persistence.xml for paltzefomat-pu 13:52:03,022 INFO  [org.jboss.as.jpa] (MSC service thread 1-9) JBAS011402: Starting Persistence Unit Service ...

 
issue

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

objectdb-2.6.9_01 NetBeans8.1+Glassfish4.1.1 Mac OS X Possibly related: How to Use a SF with extended Persistence Context? Test mini web app at: https://www.webel.com.au/downloads/objectdb/GreensoftObjectdbTestWebMini3683.2016-09-29.tgz ... when no transaction is active (error 611) at com.objectdb.jpa.EMImpl.beforeCompletion(EMImpl.java:370) at ... when no transaction is active (error 611) at com.objectdb.jpa.EMImpl.afterCompletion(EMImpl.java:396) at ... when no transaction is active (error 611) at com.objectdb.jpa.EMImpl.afterCompletion(EMImpl.java:396) at ...