ObjectDB ObjectDB

Internal Website Search

31-40 of 81 resultsRefresh
107

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
107

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
16

Updating JPA Entity Objects

automatically JDOHelper.makeDirty(employee, "projects"); // reported as dirty em.getTransaction
5

getPersistenceManagerFactory(propsFile)

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory( File propsFile ) Returns a PersistenceManagerFactory configured based on the properties stored in the file at propsFile. This method is equivalent to invoking getPersistenceManagerFactory(File,ClassLoader
5

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory( Map overrides, String name, ClassLoader resourceLoader, ClassLoader pmfLoader ) Returns a PersistenceManagerFactory configured based on the properties stored in the resource at name, or, if not found, returns
5

getPersistenceManagerFactory(overrides, name, resourceLoader)

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory( Map overrides, String name, ClassLoader resourceLoader ) Returns a named PersistenceManagerFactory or persistence unit. Parameters: overrides - name - resourceLoader - Since: JDO 2.1 See Also: getPersistenceManagerFactory(Map,String,ClassLoader,ClassLoader)
5

getPersistenceManagerFactory(overrides, name)

Static Method javax.jdo.JDOHelper PersistenceManagerFactory getPersistenceManagerFactory( Map overrides, String name ) Returns a named PersistenceManagerFactory or persistence unit. Parameters: overrides - name - Since: JDO 2.1 See Also: getPersistenceManagerFactory(Map,String,ClassLoader,ClassLoader)
3

JDO Reference (JavaDoc)

Java/JDO API Reference (based on the JDO 2.2 JavaDoc)
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 8 - ObjectDB Server

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

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