ObjectDB ObjectDB

Internal Website Search

121-130 of 200 resultsRefresh
6

Chapter 3 - Using JPA

This chapter explains how to manage ObjectDB databases using the Java Persistence API (JPA). The first two pages introduce basic JPA interfaces and concepts: The next section explains how to use JPA for database CRUD operations: More advanced topics (e.g. locking and events) are discussed in the last section:
6

Server User List

") specifies if the user is a superuser. A superuser is authorized to manage server settings using
6

General Settings and Logging

-history size="50" user="true" password="true" /> ObjectDB manages a list of the recently accessed
6

Criteria Query From Elements

Fetch Elements Join Fetch is managed in criteria queries by the following interfaces: See the FROM in Criteria Queries section for more details and an example.
1

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New > Servlet... Enter GuestServlet as the class name - use exactly that case sensitive class name. The Java
1

Step 2: Define a JPA Entity Class

is adding a context listener class that will manage a JPA's EntityManagerFactory representing the ObjectDB database.
1

Step 3: Add a Context Listener Class

and the database - when the application stops (contextDestroyed). The next step is adding a servlet class that will manage the guestbook page.
1

Step 3: Define an EJB Session Bean

: Manages the instantiation of the EJB class and injects an instance of the EJB class into the servlet (as
1

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [Create Servlet] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting New > Other... > Web > Servlet and clicking Next. The Java package name should be guest. Enter
1

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New > Servlet... Enter GuestServlet as the class name - use exactly that case sensitive class name. The Java

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