ObjectDB ObjectDB

Internal Website Search

71-80 of 194 resultsRefresh
21

EM close causes an exception

and locking in Linux, if parallel processes access different files in the same directory ... on temporarily files with file locking? btc_es BTC EmbeddedSystems Is it related to the original post ... to the original post. In Linux we try to get a lock on a lock file additionally by opening a file
17

Attempt to open a non existing file '/tmp/objectdb_xxxx/SortQueryItr_6.mrg'

it tries to delete temporary files of other processes that are not locked (active temporary files are always locked). The cause of the reported issue is unclear. We added in build 2.6.0_04 an ability ... that directory a lock file, lock.lck, is created and hold for the life of the process (or class loader
4

getLockMode(entity)

Method javax.persistence.EntityManager LockModeType getLockMode( Object entity ) Get the current lock mode for the entity instance. Parameters: entity - entity instance Returns: lock mode Throws: TransactionRequiredException - if there is no transaction IllegalArgumentException - if the instance
4

getLockMode()

Method javax.persistence.Query LockModeType getLockMode() Get the current lock mode for the query. Returns: lock mode Throws: IllegalStateException - if the query is found not to be a Java Persistence query language SELECT query or a Criteria API query Since: JPA 2.0
4

Blocked by find

blocked: 109 Total waited: 80 Stack trace: com.objectdb.o.PGC.C(PGC.java:484) - locked java ... .find(EMImpl.java:551) - locked com.objectdb.jdo.PMImpl@ae89a com.objectdb.jpa.EMImpl.find ... (ObjectDbInstanceContainer.java:108) - locked rbccm.felix.objectdb.workflow.ObjectDbInstanceContainer@9c71a4 rbccm
3

javax.persistence.Version

javax.persistence Annotation Version Target: Fields (including property get methods) Specifies the version field or property of an entity class that serves as its optimistic lock value. The version is used to ensure integrity when performing the merge operation and for optimistic concurrency
3

LockModeType.PESSIMISTIC_WRITE

Enum Constant javax.persistence.LockModeType PESSIMISTIC_WRITE Pessimistic write lock. Since: JPA 2.0
3

LockModeType.PESSIMISTIC_READ

Enum Constant javax.persistence.LockModeType PESSIMISTIC_READ Pessimistic read lock. Since: JPA 2.0
3

LockModeType.PESSIMISTIC_FORCE_INCREMENT

Enum Constant javax.persistence.LockModeType PESSIMISTIC_FORCE_INCREMENT Pessimistic write lock, with version update. Since: JPA 2.0
0

setOptimistic(optimistic)

Method javax.jdo.Transaction void setOptimistic( boolean optimistic ) Optimistic transactions do not hold data store locks until commit time. If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters: optimistic - the value of the Optimistic flag. Since: JDO 1.0

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support