About change

release

2.2.6

... criteria queries. Fixed a bug in collection change tracking in a new entity object. Fixed merging entity ...

 
issue

JQL-Update Queries fails with activated L2-Cache

When using JQL-Update Queries it is basically not working without calling entityManager.clear() after a transaction commit. When the clear() method isn't called the entityManager will never return a container the updated Entities. Scenario 1: Disabled L2 Cache, updating elements using UPDATE-Query and fetching Entities afterwards from database. Expected result: Getting changed Entities from database - Actual result: No changes are visble. Bug Version: Priority: Critical Status: Closed Replies: 1 Type:  Bug ...

 
manual

Working with JPA Entity Objects

Explains the entity object lifecycle and the persistence context.... entity object is modified within an active transaction the change is detected by the owning EntityManager and the update is propagated ...

 
release

2.3.2

... criteria queries. Fixed a bug in collection change tracking in a new entity object. Fixed merging entity ...

 
issue

Internal Exception and Index Problems

Dear Support Team, we have an urgent issue in a productive database. The objectdb doctor finds no error but one string field of one database item is not editable (even not using the objectdb explorer). The corrupt entry is in entity "UserModelData" with id="7d29d5eb-69a6-4d46-9bf1-802cbb6e439b". Try to change the userName attribute of this entry then the following error occurs: ... with id="7d29d5eb-69a6-4d46-9bf1-802cbb6e439b". Try to change the userName attribute of this entry then the following error occurs: ... it to another super/sub class), and due to any inheritance change (such as adding, removing or changing the super class). You can ...

 
release

2.2.9

... criteria queries. Fixed a bug in collection change tracking in a new entity object. Fixed merging entity ...

 
release

2.2.7

... criteria queries. Fixed a bug in collection change tracking in a new entity object. Fixed merging entity ...

 
forum_thread

Selective merge/cascade of detatched entity

I'm having an issue with my application, and I'm hoping you guys will be able to help. Please forgive typos and obvious errors, I'm having to retype from a non-internet connected network. A contrived example is: ... then to perform the modification, and for things that change after the re-attach happens to be changed in the database. Is there some ...

 
manual

Locking in JPA

Explains how to use optimistic locking and pessimistic locking in JPA. JPA 2 supports both optimistic locking and pessimistic locking . Locking is essential to avoid update collisions resulting from simultaneous updates to the same data by two concurrent users. Locking in ObjectDB (and in JPA) is always at the da ...

 
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. #1 2013-11-24 06:05 Hey, I have a problem to use SF with an Extended Persistence Context Regarding to Transactions. T ...