ObjectDB ObjectDB

Internal Website Search

71-80 of 198 resultsRefresh
22

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
18

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

setLockMode(lockMode)

Method javax.persistence.Query Query setLockMode( LockModeType lockMode ) Set the lock mode type to be used for the query execution. Parameters: lockMode - lock mode Returns: the same query instance 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

NamedQuery.lockMode

Annotation Element javax.persistence.NamedQuery LockModeType lockMode (Optional) The lock mode type to use in query execution. If a lockMode other than LockModeType.NONE is specified, the query must be executed in a transaction. Default value: javax.persistence.LockModeType.NONE Since: JPA 2.0
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.OPTIMISTIC

Enum Constant javax.persistence.LockModeType OPTIMISTIC Optimistic lock. Since: JPA 2.0
3

LockModeType.NONE

Enum Constant javax.persistence.LockModeType NONE No 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

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