ObjectDB ObjectDB

Internal Website Search

31-40 of 200 resultsRefresh
118

Spring Transactions (@Transactional) within ObjectDB

Hi, We are using OBD with Spring and transactions are managed by Spring. Our spring service interfaces take list of objects and persist them and the interface service is marked as @Transactional ... object we don't get it back on lookup. This is with transactions we are not able to retrieve
117

Attempt to begin a new transaction when a transaction is active

persisted"); } } Persistence unit looks like this : <persistence-unit name="recordPU" transaction ... ._PersistenceException: Attempt to begin a new transaction when a transaction is active root cause com.objectdb.o._PersistenceException: Attempt to begin a new transaction when a transaction is active root cause
116

Failed to commit transaction: Attempt to commit a rollback only transaction

Anyone know what this means?? Suddenly cropped up. Failed to commit transaction: Attempt to commit a rollback only transaction (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:271) at javax.jdo.Transaction$commit.call(Unknown Source) dmoshal David Moshal Some fatal exceptions mark
27

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

[]: buildProject: em.transaction.isActive(true) Info: ExtRequestBean []: Created: com.greensoft ... ._PersistenceException: Attempt to begin a new transaction when a transaction is active at com.sun.ejb ... .transaction == null"); } else { EntityTransaction t = em.getTransaction
4

Constants.PROPERTY_TRANSACTION_ISOLATION_LEVEL

Static Field javax.jdo.Constants String PROPERTY_TRANSACTION_ISOLATION_LEVEL "javax.jdo.option.TransactionIsolationLevel" Since: JDO 2.2
4

PersistenceModifier.TRANSACTIONAL

Enum Constant javax.jdo.annotations.PersistenceModifier TRANSACTIONAL Since: JDO 2.1
4

Constants.OPTION_TRANSACTIONAL_TRANSIENT

Static Field javax.jdo.Constants String OPTION_TRANSACTIONAL_TRANSIENT "javax.jdo.option.TransientTransactional" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()
4

getRestoreValues()

Method javax.jdo.Transaction boolean getRestoreValues() Return the current value of the restoreValues property. Returns: the value of the restoreValues property Since: JDO 1.0
4

setRetainValues(retainValues)

Method javax.jdo.Transaction void setRetainValues( boolean retainValues ) If true, at commit instances retain their values and the instances transition to persistent-nontransactional. If an implementation does not support this option, a JDOUnsupportedOptionException is thrown. Parameters
2

[ODB1] Chapter 2 - A Quick Tour

[] args) { 10 11 // Create or open a database and begin a transaction: 12 ... System.out.println(itr.next()); 35 36 // Close the transaction and the database ... automatically. To enable updating the content of the database, a transaction is begun (line 14

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