ObjectDB Database Search
51-100 of 200 resultsPessimistic 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 | |
Where can I learn how to use ObjectDB? The best source for learning ObjectDB is the ObjectDB Manual , which contains all the necessary information for using ObjectDB. The only required background is a good understanding of the Java language. Reading the manual and getting started with ObjectDB could be easier for developers with prior | |
ObjectDB Release History Please read the ObjectDB licence page. | |
Server User List: access - permission to open a database for read . modify - permission to modify the content | |
Chapter 1 - Quick Tour This chapter demonstrates basic ObjectDB and JPA concepts by introducing a simple example program. After reading this chapter you should be able to write basic programs that create, open and close ObjectDB databases and perform basic CRUD operations (Create/Store, Retrieve, Update and Delete | |
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 ... 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 and only the statement | |
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 6: Run the Java EE 6 Application server and open the database file in ObjectDB Explorer : This is the end of the tutorial. Learn more about ObjectDB and JPA by reading the Manual . | |
Step 6: Run the Web Application of the tutorial. Learn more about ObjectDB and JPA by reading the Manual . | |
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 ... an implementation but are not standard. Standard values in order of low to high are: read -uncommitted read -committed repeatable- read snapshot serializable Parameters: level - the transaction isolation level | |
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 |