ObjectDB ObjectDB

Internal Website Search

31-40 of 80 resultsRefresh
111

ID format in objectdb 2.x for JDOHelper.getObjectId

for a persistable object, i am getting an integer as a result e.g Object obj = JDOHelper.getObjectId ... for the same object in object db 2.x, i am getting Object obj = JDOHelper.getObjectId(logTestRunImpl) obj ... . Can you please let me know if there is any change in the JDOHelper.getObjectId method from object db 1.x
111

JDOHelper.isDetached failure ?

) { PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory("test.odb"); PersistenceManager pm ... = new TestClass(1234,"test"); pm.makePersistent(test); System.out.println(JDOHelper ... ); TestClass detached = pm.detachCopy(first); System.out.println(JDOHelper.isDetached
6

isNew(pc)

Static Method javax.jdo.JDOHelper boolean isNew( Object pc ) Tests whether the parameter instance has been newly made persistent. Instances that have been made persistent in the current transaction return true. Transient instances and instances of classes that do not implement PersistenceCapable
6

isDirty(pc)

Static Method javax.jdo.JDOHelper boolean isDirty( Object pc ) Tests whether the parameter instance is dirty. Instances that have been modified, deleted, or newly made persistent in the current transaction return true. Transient instances and instances of classes that do not implement
6

isTransactional(pc)

Static Method javax.jdo.JDOHelper boolean isTransactional( Object pc ) Tests whether the parameter instance is transactional. Instances whose state is associated with the current transaction return true. Transient instances and instances of classes that do not implement PersistenceCapable return
6

isPersistent(pc)

Static Method javax.jdo.JDOHelper boolean isPersistent( Object pc ) Tests whether the parameter instance is persistent. Instances that represent persistent objects in the data store return true. Transient instances and instances of classes that do not implement PersistenceCapable return false
3

[ODB1] Chapter 5 - JDO Connections

"); PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(properties ... path. The JDOHelper.getPersistenceManagerFactory(...) static method constructs and returns a new ... Properties(); properties.load(in); PersistenceManagerFactory pmf = JDOHelper
1

[ODB1] Chapter 2 - A Quick Tour

JDOHelper.getPersistenceManagerFactory(properties); 28 PersistenceManager pm = pmf
1

[ODB1] Chapter 8 - ObjectDB Server

.truststore.password", "ts-pwd"); PersistenceManagerFactory pmf = JDOHelper
1

[ODB1] Chapter 3 - Persistent Classes

void jdoPreDelete() { PersistenceManager pm = JDOHelper.getPersistenceManager(this); pm

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