ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
83

Rollback of several closed transactions

to split a transaction into several transactions. But then we need actually a rollback for several transactions. Is there any possibility in the ObjectDB to rollback several closed transactions? btc_es BTC EmbeddedSystems You cannot roll back a committed transaction. In that case, you may want
83

Transaction isolation support?

have been unable to find any documentation about how transaction isolation is handled. For example: What happens If I am reading data in transaction A, and then transaction B commits while A is reading ... would run in their own transaction, and the answer would thus depend on the the selected isolation level
83

One transaction or two?

is it more efficient to do everything in one transaction or two? Currently my code looks like ... and adds into separate transactions? I think I remember reading in another forum post that you recommended this, I just wanted to clarify. carr.onstott Carr Onstott Actually one transaction
82

Populating entity id before transaction commit

Hi, I have a question about populating auto generated id before transaction commit. We are using OBD with Spring and transactions are managed by Spring. The problem is, that we have custom annotation ... transaction is committed so all returned entities are not populated with ID in this context. How can I
82

Update entity without first opening a transaction

Hi everyone, I want to update an entity in my program without having to open a transaction, do the modifications and commit the transaction. I want to have a managed entity that is in sync ... transactions for updating the content of a database. But if you use Java EE or Spring, the container may manage the transactions automatically. support Support
16

Working with JPA Entity Objects

via an EntityManager’s persist method, which must be invoked within an active transaction. On transaction commit ... Entities section. If a managed entity object is modified within an active transaction the change is detected by the owning EntityManager and the update is propagated to the database on transaction
16

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

a transaction (including the entity manager) the ODB file writer still holds a reference to entities ... DBVectorStepBlockCollectionImpl was modified and then the transaction will be committed. em.getTransaction ... much memory, if we execute several transactions on the identical entity manager. Also triggering
16

Unexpected exception (Error 990) - Merge with no Transaction

I am frequently having an error when merging a detached object outside of a transaction ... transaction when NontransactionalWrite is disabled: com.fastmodel.fastplan.db.experiments.ErrorTest ... with no active transaction when NontransactionalWrite is disabled: com.fastmodel.fastplan.db.experiments
3

Step 3: Define a Spring DAO Component

.transaction.annotation.Transactional; @Component public class GuestDao { // Injected database ... : @Transactional public void persist(Guest guest) { em.persist(guest ... field (because it is annotated with the @PersistenceContext annotation). Handles transactions
3

Step 3: Define a Spring DAO Component

.TypedQuery; import org.springframework.stereotype.Component; import org.springframework.transaction.annotation.Transactional; @Component public class GuestDao { // Injected database connection: @PersistenceContext private EntityManager em; // Stores a new guest: @Transactional

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