Fast Object Database for Java - with JPA/JDO support

Internal Website Search

61-70 of 200 resultsRefresh


() String OPTION_GET_DATASTORE_CONNECTION "javax.jdo.option.GetDataStoreConnection" "javax.jdo.option ... OPTION_GET_JDBC_CONNECTION "javax.jdo.option.GetJDBCConnection" "javax.jdo.option.GetJDBCConnection ... _ATTRIBUTE_CONNECTION_DRIVER_NAME The name of the persistence manager factory element's "connection

ObjectDB 1.0 Manual

for persistence capable classes. Chapter 5 - JDO Connections Shows how to use database connections

Step 3: Add a Main Class

[] args) { // Open a database connection // (create a new database if it doesn't exist ... ); } // Close the database connection: em.close(); emf.close

Step 3: Add a Main Class

void main(String[] args) { // Open a database connection // (create a new database ... ) { System.out.println(p); } // Close the database connection: em.close

Online Backup

) that represents the connection (local or remote) to the database:     em.createQuery("objectdb backup ... represents a client-server connection then the backup file will be downloaded to the client


javax.jdo.datastore Interface JDOConnection The underlying connection that is being used by a javax.jdo.PersistenceManager. Since: JDO 2.0 void close() Returns this connection to the JDO implementation. Returns this connection to the JDO implementation. The object must be returned to the JDO

Step 3: Define an EJB Session Bean

class GuestDao { // Injected database connection: @PersistenceContext private EntityManager

CRUD Database Operations with JPA

Given an EntityManager, em, that represents a JPA connection to the object database, we can use it to store, retrieve, update and delete database objects. Storing New Entity Objects The following code fragment stores 1,000 Pointobjects in the database: em.getTransaction().begin(); for (int i

Posting Sample Code

over JUnit). Use embedded mode to connect to the ObjectDB database directly (no persistence unit

Database Management Settings

in tests). The content of these temporary databases is deleted when using the drop url connection

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