ObjectDB ObjectDB

Internal Website Search

111-120 of 200 resultsRefresh
10

Persist error @ManyToMany how to define correct entities relationships

); em.merge(prod); em.getTransaction().commit ... ); em.getTransaction().commit(); System.out.println("add product id ... (); } } } lo Hoel I finally managed to get it working by using merge when commit fails on persist and using
0

refresh(pc)

store so that a subsequent commit is more likely to succeed. Outside a transaction, this method
0

makePersistent(pc)

persistent-new instances (return true to isPersistent, isNew, and isDirty). But at commit time
0

makeNontransactionalAll(pcs)

Method javax.jdo.PersistenceManager void makeNontransactionalAll( Collection pcs ) Make a Collection of instances non-transactional after commit. Parameters: pcs - the Collection of instances to make nontransactional. Since: JDO 1.0 See Also: makeNontransactional(Object pc)
0

makeTransactional(pc)

. At transaction commit, the state of the instance in the cache is compared to the state
0

makeNontransactional(pc)

Method javax.jdo.PersistenceManager void makeNontransactional( Object pc ) Make an instance non-transactional after commit. Normally, at transaction completion, instances are evicted from the cache. This method allows an application to identify an instance as not being evicted from the cache
0

ForeignKey.deferred

Annotation Element javax.jdo.annotations.ForeignKey String deferred Whether this foreign key is deferred (constraint is checked only at commit). Returns: whether this foreign key is deferred Default value: "" Since: JDO 2.1
0

getOptimistic()

Method javax.jdo.Transaction boolean getOptimistic() Optimistic transactions do not hold data store locks until commit time. Returns: the value of the Optimistic property. Since: JDO 1.0
0

preClear(event)

during an application call to evict, and in afterCompletion for commit with RetainValues false and rollback
0

javax.jdo.listener.ClearLifecycleListener

. This happens during an application call to evict, and in afterCompletion for commit with RetainValues false

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