ObjectDB ObjectDB

Internal Website Search

61-70 of 200 resultsRefresh
8

Database Management Settings

and page size settings: The initial attribute specifies the initial size of every new database file ... . When the specified maximum is reached - new requests are pending until previous requests ... are handled. When a new index is defined for an existing entity class that already has instances
8

Retrieving JPA Entity Objects

entity object is not found in the persistence context a new object is constructed and filled with data that is retrieved from the database (or from the L2 cache - if enabled). The new entity object ... . Notice that construction of a new managed object during retrieval uses the no-arg constructor
8

CRUD Database Operations with JPA

it to store, retrieve, update and delete database objects. Storing New Entity Objects The following ... i = 0; i < 1000; i++) { Point p = new Point(i, i); em.persist(p); } em.getTransaction().commit(); Operations that modify the content of the database (such as storing new objects
1

Step 3: Define an EJB Session Bean

that we will define in this step: Open the [New Session Bean] dialog box by right clicking the guest package node (in the [Projects] window), selecting New > Other... > Java EE (or Enterprise JavaBeans ... class name. The Java package name should be guest. Click Finish to create the new session bean (EJB
1

Step 3: Define a Spring DAO Component

) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Projects] window under Source Packages) and selecting New ... . The Package should be guest. Click Finish to create the new DAO Spring component class. Now replace
1

Step 3: Define a Spring DAO Component

) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window) and selecting New > Class ... name. Click Finish to create the new DAO Spring component class. Now replace the content of the new
1

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 ... ) and selecting New > Java Class... Enter Guest as the class name - use exactly that case sensitive class name ... to create the new class. Use copy and paste to replace the new source file content with the following
1

Step 1: Create a Web Project

We start by creating a new Eclipse Dynamic Web Project: Open the [New Project] dialog box, e.g. by using File > New > Project... Select Web > Dynamic Web Project and click Next. Choose a Project Name ... 6 as a new server by clicking the New Runtime... button. Follow the instructions and specify
1

Step 3: Define an EJB Session Bean

that we will define in this step: Open the [New Java Class] dialog box by right clicking the guest package node (in the [Package Explorer] window) and selecting New > Class. The package name should be guest ... the new session bean (EJB) class. Now replace the content of the new source file with the following
1

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 ... ) and selecting New > Java Class... Enter Point as the class name - use exactly that case sensitive class name. The package name should be tutorial. Click Finish to create the new class. Use copy

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