ObjectDB ObjectDB

Internal Website Search

191-200 of 200 resultsRefresh

JPA Annotations for Java EE

The following JPA annotations are in use to integrate JPA into a Java EE application and are managed by the Java EE container:

Locking in JPA

automatic. Optimistic locking should be the first choice for most applications, since compared

Deleting JPA Entity Objects

well. Cascading may continue recursively when applicable (e.g. to entity objects that the Address

Entity Management Settings

. However, for some applications disabling this ability could be more efficient. The <persist> element

Posting Sample Code

/ embeddable classes. Avoid dependency on external libraries. Use a console application with a main method

Database Management Settings

for most applications. The <recovery> element <recovery enabled="true" sync="false" path="." max

Strings in JPQL and Criteria Queries

and when applicable simple Java objects as well as criteria expressions.

Database Schema Evolution

toString() if necessary). From String to numeric types including enum types (when applicable). From

Step 1: Create a Java Project

We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File > New Project... Select Java > Java Application and click Next. Choose a Project Name (e.g. Tutorial). The name of the Main class should be tutorial.Main. Verify that exactly this case sensitive fully

Step 3: Define a Spring DAO Component

the application to the Spring Framework. For instance, in this example the Spring container: Manages

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