About update

111-120 of 200Refresh
Issue
2

Removing of an entity removes also another entity type

also the Issue #303. Tested with 2.7.1, 2.7.1_02 and the newest 2.7.1_03. OK. Thanks for the update. Please note that mixing direct DELETE / UPDATE database queries with EntityManager's operations is known as problematic. It is not specific to ObjectDB but general to JPA. DELETE / UPDATE JPA queries bypass
Forum
2

Pessimistic Lock Timeouts setting

the meantime, I'll use an optimistic lock and fail on stale updates. Support of pessimistic lock timeout ... is: Failed to update object com.x.y.z.ProductCodeTracking:1 - locked by another owner (error 672 ... ? My apologies, I haven't updated this thread. I have not got the issue again and I consider
Forum
2

Entity listener - event instead of object

in updated entity. There is a problem however with accessing "old" version of object stored in ... value: {}, new value: {}, actor: {}, date: {}", new Object[] { OPERATION_TYPE_UPDATE, entityName ...                                 .toString() : null, OPERATION_TYPE_UPDATE, actorId, transTime
Forum
2

Optimization Question

to identify exactly what fields have changed from one update to the next. Currently the following sequence executes when a track update comes in: - If it’s a new track simply add it to the database. - If it's an update to an existing track, delete the entire previous entry and then add in the new
JPA Doc
2

CacheStoreMode.REFRESH

Enum Constant javax.persistence.CacheStoreMode REFRESH Insert/update entity data into cache when read from database and when committed into database. Forces refresh of cache for items read from database. Since: JPA 2.0
JPA Doc
2

CacheStoreMode.USE

Enum Constant javax.persistence.CacheStoreMode USE Insert/update entity data into cache when read from database and when committed into database: this is the default behavior. Does not force refresh of already cached items when reading from database. Since: JPA 2.0
JPA Doc
2

createNativeQuery(sqlString)

Method javax.persistence.EntityManager Query createNativeQuery(   String sqlString ) Create an instance of Query for executing a native SQL statement, e.g., for update or delete. Parameters: sqlString - a native SQL query string Returns: the new query instance Since: JPA 1.0
JPA Doc
2

getResultList()

Method javax.persistence.Query List getResultList() Execute a SELECT query and return the query results as an untyped List. Returns: a list of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException - if the query
JPA Doc
2

getResultList()

Method javax.persistence.TypedQuery List getResultList() Execute a SELECT query and return the query results as a typed List. Returns: a list of the results Throws: IllegalStateException - if called for a Java Persistence query language UPDATE or DELETE statement QueryTimeoutException
JPA Doc
2

getSingleResult()

query language UPDATE or DELETE statement QueryTimeoutException - if the query execution exceeds