About removed

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 ...

 
forum_thread

Tutorial issue

Ok, so I'm stuck on the Eclipse tutorial. I have a number of other projects running in Eclipse right now, so I created the new project as specified in Step 1 The only thing I did differently was in steps two and three I used the source folder "Tutorial/src" which is what I used to create the project in Step 1; Here's the output; #1 2014-03-18 10:18 Ok, so I'm stuck on the Eclipse tutorial. I have a number of other projects running in Eclipse right now, so ...

 
issue

Post-compile enhancement sometimes causes error in generic loops: incompatible types found: java.lang.Object: required: Entity

I have moved from automatic run-time enhancement to explicit post-compile enhancement in an Ant build.xml in a NetBeans web app, and sometimes on editing a file that performs a generic loops over and @entity type I get a generics error. The loop is:  for (Steel s: this.steelMaterials.getL_Steel().getEls()) { eSteelTableItems.add(asXmlElement(s)); } Where getEls() here gives: List<Steel> This sometimes (only, I don't understand the circumstances) gives this error: Bug Version: 2.4.0 Priority: Normal Status: Active Replies: 2 Type:  Bug ...

 
forum_thread

Failed to commit transaction: Attempt to commit a rollback only transaction

Anyone know what this means?? Suddenly cropped up.   Failed to commit transaction: Attempt to commit a rollback only transaction (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:271) at javax.jdo.Transaction$commit.call(Unknown Source) #1 2011-05-24 22:22 Anyone know what this means?? Suddenly cropped up. Failed to commit transaction: Attempt to commit ...

 
issue

DISTINCT key causing internal exception on 2.6.4.b10

I observed that on new ObjectDb v.2.6.4.b10 query below causes internal exception SELECT DISTINCT $1 FROM Pa3DictionaryItem $2 JOIN $2.values $1 WHERE ($2.namespace == 'com.anritsu.pa3.ttcn3' AND $2.key == 'TliEvent' AND $1 != '') Query above also worked fine on ObjectDb version 2.6.1.b06 Bug Version: 2.6.4 Priority: Normal Status: Fixed Replies: 4 Type:  Bug ...

 
forum_thread

Cache usage

after a runtime of several weeks we are now analyzing the usage of the cache and so on. Looking at the heap dump we suspect that the cache is really used (see heap dump attached), the RAM allocated by objectdb is much less than we would expect. The database file has around 25 GByte of size and there is heavy traffic of around 400 clients communicating permanently via webSockets to the objectdb. The config is attached as well. The question is: is the cache really used ? ... 54,283 query results are in the cache. Results have to be removed from the cache on every change to the data that may affect them. Query ...

 
issue

Issue with TYPE expression in Criteria API

Find attached project using latest 2.3.4_03 odb still causes:   Bug Version: Priority: Normal Status: Fixed Replies: 2 Type:  Bug ...

 
forum_thread

Bug with unique constraint exception not resulting in transaction roll back

I'm using ObjectDB 2.5.6_02 and running into a bug with a JDO @Unique constraint.  I'm using JPA in general. I have an EJB persisting two entities with @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) declared on the EJB method.  The two entities have the same value for the field with the @Unique constraint. The unique constraint causes an exception as expected, but I would expect ObjectDB to roll back the transaction and not persist anything.  However, it is persisting both entities. #1 2014-06-27 17:30 I'm using ObjectDB 2.5.6_02 and running into a bug with a JDO @Unique constraint.  I'm using JPA in ...

 
issue

again merger missing logs + objectdb exception

we are facing similar problems as we had before, in the log we have a lot of entries merger ... missing + an objectdb exception. Some objects in the system behave strange. This is a part of the log: ... [2017-09-26 12:16:14 #1222 store] SectionClassifier: SectionClassifier{238146996->merger[3309]-missing:1} [2017-09-26 12:16:25 #1223 store] SectionClassifier: SectionClassifier{238146996->merger[3309]-missing:1} ... be application issue rather then ObjectDB (if an object is removed from the database but still referenced). Are you aware for something in ... version 2.7.2 (temporary stack traces in the log will be removed in the next build). If you cannot see these section errors when running ...

 
forum_thread

Performance in SELECT statement

Hello, I have the following 2 entities : #1 2016-02-01 07:53 Hello, I have the following 2 entities : @ Entity public class TestEntity imp ...