About start

forum_thread

Replication issue, Replayer failing due to NullPointerException.

I'm getting replication errors and upon trying to play the replayer I get a NullPointerException which i'm also seeing in the slave logs when it's trying to replicate... ... be relevant since I have recording on from the start. It's worth noting that some of the databases may be totally ... too much pain, assuming recording is enabled from the start. edit ...

 
forum_thread

Optimistic lock

Hello When I get an optimistic lock on an object, refresh(), start trans and persist?  Will the changes made to the object before the violation be retained or must they be duplicated in the retry code?  Assuming it affects only one object.  tia. ... When I get an optimistic lock on an object, refresh(), start trans and persist?  Will the changes made to the object before the ... the object?  Or do I need to refresh() the object start a transaction, reapply the changes,persist and commit? ...

 
forum_thread

@Entity saved in Tomcat session - problem

Hi, I have found a problem, when storing @Entity object in Tomcat session. When starting or stopping Tomcat, I get nasty exception - please check attached log. Strange thing is, that after this exception everything works perfectly fine. The problem appears after using Enhancer. The nasty solution is to create copy of @Entity class as normal POJO and use it to store in session. The problem is, that we need the same logic for temporary users (without storing in DB) and permanent users (stored in database). A separate POJO makes the whole logic quite complicated. #1 2010-12-13 14:42 Hi, I have found a problem, when storing @Entity object in Tomcat session. When starting or stopping ...

 
api-jdo

javax.jdo.annotations.FetchPlan

Annotation for the fetch plan of a persistence manager, query, or extent.(Annotation of JDO)

 
api-jpa

substring(x, from)

Create an expression for substring extraction.(Method of javax.persistence.criteria.CriteriaBuilder)

 
forum_thread

Connection is closed (error 526)

Serval times I found the c/s method will close by unknown reason, when I read only the db. ... ) ; int iSum = 0 ; long start = System. currentTimeMillis ( ) ; for ... ( System. currentTimeMillis ( ) - start ) / 1000f ) ; if ( null == sons ...

 
manual

Database Explorer

Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually. ObjectDB Database Explorer is a visual GUI tool for managing ObjectDB databases. It can be used to view data in ObjectDB databases, execute JPQL and JDOQL queries and edit the content of databases. This page covers the followi ...

 
issue

Unexpected error when loading all entity instance

Hi, when going through all entity instance to find orphaned entries we get the exception: ... 3. Load the next 10.000 instance and start over After a while and a lot of queries we get the above ... changed to advanced deployment (shutdown Tomcat, deploy, start Tomcat). Using this approach it will be impossible for multiple processes ...

 
forum_thread

best practice for DB recovery

Hi, I'm trying to come up with the best approach for supporting some kind of hot standby for my master DB. ... application to the slave", do you mean that we can just start writing to the slave DB? My understanding from the documentation is that ... DB in master mode, is that correct? Or is there a way to start writing to the replica DB without restart? We need to ensure that ...

 
manual

Database Explorer

Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually. ObjectDB Database Explorer is a visual GUI tool for managing ObjectDB databases. It can be used to view data in ObjectDB databases, execute JPQL and JDOQL queries and edit the content of databases. This page covers the followi ...