About trigger

manual

JPA Lifecycle Events

Explains how to use JPA lifecycle events (client side triggers) with callback methods and listener classes. Callback methods are user defined methods that are attached to entity lifecycle events and are invoked automatically by JPA when these events occur. This page covers the following topics: Internal Callback Methods ...

 
api-jdo

javax.jdo.listener.InstanceLifecycleEvent

This is the event class used in life cycle event notifications.(Class of JDO)

 
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 Bug Version: Priority: Normal Status: Active Replies: 3 Type:  Bug ...

 
api-jpa

javax.persistence.spi.ProviderUtil

Utility interface implemented by the persistence provider.(Interface of JPA)

 
forum_thread

ODB should auto-restart if it detects it's necessary

Hi! I find very tricky the need to restart ObjectDB server after schema modifications in a distributed environment. Moreover, not doing it does sometimes trigger ugly errors, which mean application downtime. It might be very useful to have an additional feature (that could be enabled/disabled in objectdb.config) that each time ObjectDB detects a schema change that requires restart, it should automatically restart itself. This way we save a lot of headaches from our dev. ops. Currently we have to manually do: ... environment. Moreover, not doing it does sometimes trigger ugly errors, which mean application downtime. It might be very ...

 
forum_thread

enhanced object .. NOT enhanced

Hi  I think I have found a bug :  - I have enhanced a class but when I tried to persitst it I got an error that this class has not been ehanced (what is important, this class has _odbTracker field added) So, instead of DB write a standard serialization mechanizm is triggered. Finnally we get an OutOfMemory expeption. b #1 2011-08-08 08:22 Hi  I think I have found a bug :  - I have enhanced a class but when I tried to persits ...

 
forum_thread

Pre-detach loading: retrieval by navigation not working in if statement

objectdb-2.6.3_04 JDK1.7 VM option at runtime: -javaagent:lib/objectdb.jar Experimental mode: objectdb.temp.no-detach NOT USED ... problem.) Similarly, using debug logging can also trigger loading.   It's the Schrödinger's cat of JPA. ...

 
forum_thread

Problem to use find method on an abstract Class: AbstractMethodError is thrown

Hi, I'm using JBoss AS 7 WildFly with ObjectDB installed as a module ( also Java 7, Eclipse Juno) In my db there are objects of type SentenceStatement which inherit from type LogicalObject  When I use find method mentioning SentenceStatement everything works just fine but when I use this method mentioning LogicalObject I get AbstractMethodError Please see services.Tester class with the 2 options for a better ease    this is the stack trace when I try to find LogicalObject: ... Found Guestbook.war in deployment directory. To trigger deployment create a file called Guestbook.war.dodeploy 08:17:22,683 ... Found Paltzefomat.war in deployment directory. To trigger deployment create a file called Paltzefomat.war.dodeploy 08:17:22,746 ...

 
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. ... Found Guestbook.war in deployment directory. To trigger deployment create a file called Guestbook.war.dodeploy 13:52:02,449 ... Found Paltzefomat.war in deployment directory. To trigger deployment create a file called Paltzefomat.war.dodeploy ...

 
api-jpa

isLoaded(entity)

If the provider determines that the entity has been provided by itself and that the state of all attributes for which FetchType.EAGER has been specified have been loaded, this method returns LoadState.LOADED.(Method of javax.persistence.spi.ProviderUtil)