Fast Object Database for Java - with JPA/JDO support

Internal Website Search

1-10 of 200 resultsRefresh
239

Database Connection using JPA

A connection to a database is represented by an EntityManager instance, which also provides functionality for performing operations on a database. Many applications require multiple database connections ... database connection, using a separate EntityManager instance, for every HTTP request. The main role
226

[ODB1] Chapter 5 - JDO Connections

The PersistenceManagerFactory interface represents a factory of database connections. Its main role ... connection. Every operation on a database requires a PersistenceManager instance. The Transaction ... 6). 5.1 javax.jdo.PersistenceManagerFactory Most applications require multiple database connections
219

Obtaining a JPA Database Connection

In JPA a database connection is represented by the EntityManager interface. Therefore, in order ... a connection to the database. When using JPA, every operation on a database is associated ... . When the connection to the database is no longer needed the EntityManager can be closed: em.close
58

Constants.PMF_ATTRIBUTE_CONNECTION_USER_NAME

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_CONNECTION_USER_NAME The name of the persistence manager factory element's "connection-user-name" attribute. Since: JDO 2.1
58

Constants.PMF_ATTRIBUTE_CONNECTION_URL

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_CONNECTION_URL The name of the persistence manager factory element's "connection-url" attribute. Since: JDO 2.1
58

Constants.PMF_ATTRIBUTE_CONNECTION_PASSWORD

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_CONNECTION_PASSWORD The name of the persistence manager factory element's "connection-password" attribute. Since: JDO 2.1
58

Constants.PMF_ATTRIBUTE_CONNECTION_FACTORY_NAME

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_CONNECTION_FACTORY_NAME The name of the persistence manager factory element's "connection-factory-name" attribute. Since: JDO 2.1
58

Constants.PMF_ATTRIBUTE_CONNECTION_FACTORY2_NAME

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_CONNECTION_FACTORY2_NAME The name of the persistence manager factory element's "connection-factory2-name" attribute. Since: JDO 2.1
58

Constants.PMF_ATTRIBUTE_CONNECTION_DRIVER_NAME

Static Field javax.jdo.Constants String PMF_ATTRIBUTE_CONNECTION_DRIVER_NAME The name of the persistence manager factory element's "connection-driver-name" attribute. Since: JDO 2.1
56

Constants.OPTION_GET_JDBC_CONNECTION

Static Field javax.jdo.Constants String OPTION_GET_JDBC_CONNECTION "javax.jdo.option.GetJDBCConnection" Since: JDO 2.1 See Also: PersistenceManagerFactory.supportedOptions()

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