Internal Website Search
51-100 of 200 resultsPuzzler: Not getting cascades on read from Spring context; -dh dhosek Don Hosek Fetching doesn't work by default for detached objects. Please read | |
DB reading fails in debug mode in Eclipse. My application works fine with them up to I try to launch it in debug mode in eclipse. Upon reading it in debug | |
Failed to read the value of field ... using reflection Hello, we got following exception. Can you explain me, what is the reason of this exception? Caused by: com.objectdb.o.UserException: Failed to read the value of field field com.btc.ep.expression.formula.bl.dmos.Valuation.variableSettings using reflection at com.objectdb.o.MSG.a(MSG.java:77 | |
NPE when reading map from DB Greetings, this NPE happened in our app first time today while reading objects from DB. Could u please check what could be the issue ? Inner message: Cannot invoke "com.objectdb.o.ORS.YD()" because " " is null -------------------- com.objectdb.o.TYR. (TYR.java:113) com.objectdb.o.ENT | |
Pessimistic lockPessimistic lock | |
WORM (Write once read many) supportWORM (Write once read many) support | |
Internal ObjectDB error by read the primary keyInternal ObjectDB error by read the primary key | |
Failed to read the value of field using reflection (error 363)Failed to read the value of field using reflection (error 363) | |
OptimisticLockException Have read read the documentation on optimistic locks, still not sure how to deal ... . But you can disable optimistic locking in the server configuration . support Support read the documentation ... - since someone can change the object just after the refresh . In that case - use pessimistic locks. support | |
reading from table gives Unexpected exception reading from table gives Unexpected exception [ObjectDB 2.6.3] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_131 (on Windows 10 10.0). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: null com | |
query returns failed to read from database file we have since today exceptions on executing some queries like this: Failed to read from file 'F:\Hummingbird\Objectdb\db\coreSystemDb.odb' we are using objectdb 2.7.2_05 in the objectdb log there is no message hgzwicker Hans-Georg Zwicker it seams that this is only happening | |
Optimistic locking: prevent version increment on entity collection attribute create the readings in one call and I try to read them in another call. I checked the database and all the entities are created (document and readings ) but when I try to get the collection of readings null is returned. I have tried to clear the entity manager in the second call to make sure the reading | |
javax.persistence.Query to the transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails and only the statement is rolled ... context has not been joined to the transaction PessimisticLockException - if pessimistic locking fails | |
javax.persistence.TypedQuery PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails and only the statement is rolled back PersistenceException - if the query ... to the transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled | |
EntityManager.lock(entity,lockMode,properties) - JPA Method and with specified properties. If a pessimistic lock mode type is specified and the entity contains a version ... is pessimistic and the entity instance is found but cannot be locked: the PessimisticLockException ... transaction EntityNotFoundException - if the entity does not exist in the database when pessimistic | |
EntityManager.lock(entity,lockMode) - JPA Method the persistence context with the specified lock mode type. If a pessimistic lock mode type is specified ... will be thrown. If the lock mode type is pessimistic and the entity instance is found but cannot be locked ... transaction EntityNotFoundException - if the entity does not exist in the database when pessimistic | |
EntityManager.find(entityClass,primaryKey,lockMode) - JPA Method is pessimistic and the entity has a version attribute, the persistence provider must perform optimistic ... will be thrown. If the lock mode type is pessimistic and the entity instance is found but cannot be locked ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic locking | |
EntityManager.find(entityClass,primaryKey,lockMode,properties) - JPA Method there. If the entity is found within the persistence context and the lock mode type is pessimistic and the entity ... mode type is pessimistic and the entity instance is found but cannot be locked ... OptimisticLockException - if the optimistic version check fails PessimisticLockException - if pessimistic | |
EntityManager.refresh(entity,lockMode,properties) - JPA Method is pessimistic and the entity instance is found but cannot be locked: the PessimisticLockException will be thrown ... EntityNotFoundException - if the entity no longer exists in the database PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails | |
EntityManager.refresh(entity,lockMode) - JPA Method. If the lock mode type is pessimistic and the entity instance is found but cannot be locked ... EntityNotFoundException - if the entity no longer exists in the database PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails | |
javax.persistence.PessimisticLockScope JPA Enum PessimisticLockScope java.lang.Object ∟ java.lang.Enum ∟ javax.persistence.PessimisticLockScope Defines the values of the javax.persistence.lock.scope property for pessimistic ... for pessimistic locking. The persistence provider must lock the database row(s) that correspond | |
Query.getResultStream() - JPA Method the persistence context has not been joined to the transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails | |
Query.getSingleResult() - JPA Method has not been joined to the transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails | |
Query.getResultList() - JPA Method - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking | |
TypedQuery.getSingleResult() - JPA Method been joined to the transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails and only the statement | |
TypedQuery.getResultList() - JPA Method - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking | |
TypedQuery.getResultStream() - JPA Method the persistence context has not been joined to the transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails | |
javax.persistence.StoredProcedureQuery has not been joined to the transaction PessimisticLockException - if pessimistic locking fails and the transaction is rolled back LockTimeoutException - if pessimistic locking fails | |
javax.persistence.PessimisticLockScope.NORMAL JPA Enum Constant in javax.persistence.PessimisticLockScope NORMAL This value defines the default behavior for pessimistic locking. The persistence provider must lock the database row(s) that correspond to the non-collection-valued persistent state of that instance. If a joined inheritance | |
javax.persistence.EntityNotFoundException when EntityManager.lock is used with pessimistic locking is used and the entity no longer exists in the database | |
javax.persistence.LockTimeoutException JPA Exception LockTimeoutException java.lang.Object ∟ java.lang.Throwable ∟ java.lang.Exception ∟ java.lang.RuntimeException ∟ javax.persistence.PersistenceException ∟ javax.persistence.LockTimeoutException Thrown by the persistence provider when an pessimistic | |
javax.persistence.PessimisticLockException when an pessimistic locking conflict occurs. This exception may be thrown as part of an API call, a flush or at commit | |
javax.persistence.CacheStoreMode when data is read from the database and when data is committed into the database. Since: JPA 2.0 ... insert into cache. Since: JPA 2.0 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 | |
Step 7: Run the Spring Web App enabled without specifying a Java agent. This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual . | |
javax.jdo.PersistenceManagerFactory getReadOnly () Gets the value for read -only for this PMF. Indicates whether the datastore is read -only or ... (boolean flag) Sets the value for whether the datastore is to be considered read -only. ReadOnly ... are: read -uncommitted read -committed repeatable- read snapshot serializable Parameters: level | |
javax.jdo.Transaction () If true , allows persistent instances to be read without a transaction active. Return: the value ... to high are: read -uncommitted read -committed repeatable- read snapshot serializable Parameters: level - the transaction isolation level See Also: getIsolationLevel () Constants.TX_ READ _UNCOMMITTED Constants | |
javax.jdo.Constants JDO Interface Constants Constant values used in JDO. Since: JDO 2.1 Public Static Fields TX_ READ _COMMITTED Transaction isolation level representing the requirement to read committed data ... () Since: JDO 2.2 TX_ READ _UNCOMMITTED Transaction isolation level representing the ability to read | |
PersistenceManagerFactory.setTransactionIsolationLevel(level) - JDO Method from low to high are: read -uncommitted read -committed repeatable- read snapshot serializable ... _ READ _UNCOMMITTED Constants.TX_ READ _COMMITTED Constants.TX_REPEATABLE_ READ Constants.TX_SNAPSHOT Constants.TX_SERIALIZABLE Since: JDO 2.2 | |
Transaction.setIsolationLevel(level) - JDO Method values in order of low to high are: read -uncommitted read -committed repeatable- read snapshot ... _ READ _UNCOMMITTED Constants.TX_ READ _COMMITTED Constants.TX_REPEATABLE_ READ Constants.TX_SNAPSHOT Constants.TX_SERIALIZABLE Since: JDO 2.2 | |
PersistenceManagerFactory.supportedOptions() - JDO Method.GetDataStoreConnection javax.jdo.option.UnconstrainedQueryVariables javax.jdo.option.TransactionIsolationLevel. read -uncommitted javax.jdo.option.TransactionIsolationLevel. read -committed javax.jdo.option.TransactionIsolationLevel.repeatable- read javax.jdo.option.TransactionIsolationLevel.snapshot javax.jdo.option | |
PersistenceManagerFactory.getReadOnly() - JDO Method JDO Method in javax.jdo.PersistenceManagerFactory boolean getReadOnly () Gets the value for read -only for this PMF. Indicates whether the datastore is read -only or writable. Return: the readOnly setting. See Also: setReadOnly Since: JDO 2.2 | |
javax.jdo.identity.LongIdentity readExternal (ObjectInput in) Read this object. Read the superclass first. Parameters: in - the input | |
IntIdentity.readExternal(in) - JDO Method JDO Method in javax.jdo.identity.IntIdentity void readExternal ( ObjectInput in ) Read this object. Read the superclass first. Parameters: in - the input Since: JDO 1.0 | |
javax.jdo.identity.IntIdentity (ObjectInput in) Read this object. Read the superclass first. Parameters: in - the input | |
CharIdentity.readExternal(in) - JDO Method JDO Method in javax.jdo.identity.CharIdentity void readExternal ( ObjectInput in ) Read this object. Read the superclass first. Parameters: in - the input Since: JDO 1.0 | |
ObjectIdentity.readExternal(in) - JDO Method JDO Method in javax.jdo.identity.ObjectIdentity void readExternal ( ObjectInput in ) Read this object. Read the superclass first. Parameters: in - the input Since: JDO 1.0 | |
javax.jdo.identity.ObjectIdentity Since: JDO 1.0 void readExternal (ObjectInput in) Read this object. Read the superclass first | |
LongIdentity.readExternal(in) - JDO Method JDO Method in javax.jdo.identity.LongIdentity void readExternal ( ObjectInput in ) Read this object. Read the superclass first. Parameters: in - the input Since: JDO 1.0 | |
javax.jdo.identity.ByteIdentity Since: JDO 1.0 void readExternal (ObjectInput in) Read this object. Read the superclass first | |
ByteIdentity.readExternal(in) - JDO Method JDO Method in javax.jdo.identity.ByteIdentity void readExternal ( ObjectInput in ) Read this object. Read the superclass first. Parameters: in - the input Since: JDO 1.0 |