ObjectDB ObjectDB

Internal Website Search

51-60 of 200 resultsRefresh
37

Chapter 2 - JPA Entity Classes

JPA Entity classes are user defined classes whose instances can be stored in a database. To store data in an ObjectDB database using JPA you have to define entity classes that represent your application data object model. This chapter explains how to define and use entity classes.
37

JPA Annotations for Access Modes

Persistence fields can either be accessed by JPA directly (as fields) or indirectly (as properties and get/set methods). JPA 2 provides an annotation and an enum for setting the access mode: More details are provided in chapter 2 of the ObjectDB manual.
37

JPA Metamodel API

The JPA Metamodel API provides the ability to examine the persistent object model and retrieve details on managed classes and persistent fields and properties, similarly to the ability that Java reflection provides for general Java types. The Metamodel Interface The main interface of the JPA
37

JPA Annotations for Mapping (ORM)

The following JPA annotations and enums are designated for mapping a JPA object model to a relational database, and are not required by ObjectDB: ObjectDB silently ignores all the above annotations.
7

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... . The next step is adding a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database.
7

Getting Started with JPA - NetBeans Project

To open and run the Quick Start with JPA tutorial project in NetBeans: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the Maven project in NetBeans: Select File > Open Project.... Select the points-console directory and click Open Project. Run
7

Getting Started with JPA - IntelliJ Project

To open and run the Quick Start with JPA tutorial project in IntelliJ IDEA: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the project in IntelliJ IDEA: Select File > Open Project.... Select the points-console directory and click Open Project. Run
7

JPA Web App Tutorial - Eclipse Project

To open and run the JPA Web Application tutorial project in Eclipse: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in Eclipse: Select File > Import... > Maven > Existing Maven Projects and click Next. Select the guestbook-web directory as Root
7

Step 2: Define a JPA Entity Class

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Projects] window ... is adding a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database.
7

JPA Web App Tutorial - IntelliJ Project

To open and run the JPA Web Application tutorial project in IntelliJ IDEA: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the project in IntelliJ IDEA: Select File > Open Project.... Select the guestbook-web directory and click OK. Define the Server: Select File

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