ObjectDB ObjectDB

Internal Website Search

1-10 of 200 resultsRefresh
102

JPA Persistence Unit

is optional when using ObjectDB, but required by JPA. persistence.xml Persistence units are defined in a persistence.xml file, which has to be located in the META-INF directory in the classpath. One persistence.xml file can include definitions for one or more persistence units. The portable way
20

Step 6: Set the Spring XML

of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using another xml configuration file. Open the web.xml file (under Web Pages > WEB-INF) in a text editor (by right clicking and selecting Edit or by double click and then moving to the XML tab in the editor window
20

Step 6: Set the Spring XML

of the Spring dispatcher servlet to the web.xml configuration file and to configure that servlet using another xml configuration file. Open the web.xml file (under src/main/webapp/WEB-INF) in a text editor (by ... tab in the editor window). Use copy and paste to replace the default content of the web.xml file
18

Step 2: Entity Class and Persistence Unit

the [Provider and Database] step just click Finish to generate a default persistence.xml file ... + ")"; } } A default JPA persistence unit (with default settings) was generated in a persistence.xml file that was added to the project (under Configuration Files). Open the persistence.xml file in
18

Step 2: Entity Class and Persistence Unit

the [Provider and Database] step click Finish to generate a default persistence.xml file ... + ")"; } } A default JPA persistence unit (with default settings) was generated in a persistence.xml file ... the persistence.xml file in a text editor (by right clicking and selecting Edit or by double click
17

Step 2: Entity Class and Persistence Unit

/persistence.xml file: Open the [New Folder] dialog box, e.g. by right clicking the project node (in ... > File, enter persistence.xml as file name and click Finish. Verify that a new persistence.xml file ... to the persistence.xml file: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" xmlns="http
17

Step 2: Entity Class and Persistence Unit

guests in the database. We also need to configure JPA by setting a META-INF/persistence.xml file ... the new META-INF folder in the [Project Explorer] window, select New > File, enter persistence.xml as file name and click Finish. Verify that a new persistence.xml file was created as shown below: Finally
8

[ODB1] Chapter 3 - Persistent Classes

Persistent Classes are user defined classes whose instances can be stored in a database using JDO. Instances of these classes that represent objects in the database are called persistent objects or persistent instances. Objects that do not represent anything in the database (including instances
3

[ODB1] Chapter 6 - Persistent Objects

Persistent In JDO applications, every object in memory is either a persistent object, i.e. represents some ... , regardless of its type. Instances of persistent classes can become persistent later, as demonstrated by ... a simple transient object. Then it becomes persistent by an explicit call to the makePersistent
3

[ODB1] Chapter 4 - JDO Metadata

A JDO metadata file is an XML file with a '.jdo' suffix, containing information about one or more persistent classes. All the persistent classes, and only them, have to be declared in a metadata file ... , ObjectDB determines whether or not each class is persistent. It searches for JDO metadata description

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