ObjectDB ObjectDB

Internal Website Search

21-30 of 195 resultsRefresh

Obtaining a JPA Database Connection

variable represents the ObjectDB home directory (by default - the directory in which ObjectDB

JPA Persistence Unit

a persistence.xml file, which has to be located in the META-INF directory in the classpath ... classes under the classpath root directory that contains the META-INF/persistence.xml file

Database Replication and Clustering

databases on the slave server are automatically generated under a special root directory, $replication, under the server data root directory. Starting a new replication of an existing master database

JPA Web App Tutorial - Eclipse Project

> Import... > Maven > Existing Maven Projects and click Next. Select the guestbook-web directory as Root Directory and press ENTER. Select the project and click Finish. Run the project in Eclipse: Right

Getting Started with JPA - Eclipse Project

directory as Root Directory and press ENTER. Select the project and click Finish. Run the project in

Step 2: Entity Class and Persistence Unit

the new source directory node (in the [Package Explorer] window) and selecting New > Class. Enter guest as

Spring MVC JPA Tutorial - NetBeans Project

To open and run the Spring MVC JPA tutorial project in NetBeans: Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the Maven project in NetBeans: Select File > Open Project.... Select the guestbook-spring directory and click Open Project. Run the project: Select

Step 6: Run the Java EE 6 Application

You can run the application now by right clicking the GuestServlet node (in the [Projects] window), selecting Run File, and then clicking OK (no need to change the servlet execution URI). Since we are using ObjectDB in embedded mode - the database file is created under the GlassFish directory (e.g

[ODB1] Chapter 5 - JDO Connections

Assuming the name of the file is jdo.properties, it can be loaded by a class in the same directory using ... the changes in a related temporary file in the same directory as the database file. For instance

[ODB1] Chapter 2 - A Quick Tour

by step. Both sample programs are contained in ObjectDB's samples directory. 2.1 Hello World ... , which is devoted to JDO metadata. The following package.jdo file is located in the same directory

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