ObjectDB ObjectDB

Internal Website Search

1-10 of 194 resultsRefresh
6

javax.jdo.PersistenceManagerFactory

javax.jdo Interface PersistenceManagerFactory Superinterfaces: Serializable The PersistenceManagerFactory is the interface to use to obtain PersistenceManager instances. All PersistenceManager instances obtained from the same PersistenceManagerFactory will have the same default properties
5

[ODB1] Chapter 5 - JDO Connections

The PersistenceManagerFactory interface represents a factory of database connections. Its main role ... 6). 5.1 javax.jdo.PersistenceManagerFactory Most applications require multiple database connections ... .PersistenceManagerFactory interface. A PersistenceManagerFactory instance represents a specific database address (local or
5

close()

Method javax.jdo.PersistenceManagerFactory void close() Close this PersistenceManagerFactory. Check ... from this PersistenceManagerFactory have no active transactions. If any PersistenceManager instances ... all PersistenceManager instances obtained from this PersistenceManagerFactory, mark
5

getPersistenceManagerProxy()

Method javax.jdo.PersistenceManagerFactory PersistenceManager getPersistenceManagerProxy ... of PersistenceManager. When used with a PersistenceManagerFactory that uses TransactionType JTA, the proxy ... is automatically closed when the transaction completes. When used with a PersistenceManagerFactory that uses
5

removeInstanceLifecycleListener(listener)

Method javax.jdo.PersistenceManagerFactory void removeInstanceLifecycleListener ... this PersistenceManagerFactory. The addInstanceLifecycleListener and removeInstanceLifecycleListener methods are considered to be configuration methods and can only be called when the PersistenceManagerFactory
5

isClosed()

Method javax.jdo.PersistenceManagerFactory boolean isClosed() A PersistenceManagerFactory instance can be used until it is closed. Returns: true if this PersistenceManagerFactory has been closed. Since: JDO 2.0 See Also: close()
5

getProperties()

Method javax.jdo.PersistenceManagerFactory Properties getProperties() Return non-configurable properties of this PersistenceManagerFactory. Properties with keys VendorName and VersionNumber are required. Other keys are optional. Returns: the non-configurable properties of this PersistenceManagerFactory. Since: JDO 1.0
5

addInstanceLifecycleListener(listener, classes)

Method javax.jdo.PersistenceManagerFactory void addInstanceLifecycleListener ... this PersistenceManagerFactory. The addInstanceLifecycleListener and removeInstanceLifecycleListener methods are considered to be configuration methods and can only be called when the PersistenceManagerFactory
4

setTransactionType(name)

Method javax.jdo.PersistenceManagerFactory void setTransactionType( String name ) Sets the TransactionType for this PersistenceManagerFactory. Permitted values are "JTA" and "RESOURCE_LOCAL". This has the same semantics as the same-named property in JSR-220 EntityManagerFactory. Parameters: name
4

getName()

Method javax.jdo.PersistenceManagerFactory String getName() Gets the name of this PersistenceManagerFactory. Returns: the name of this PMF Since: JDO 2.1

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