ObjectDB ObjectDB

Internal Website Search

151-160 of 200 resultsRefresh
8

Is ObjectDB better than Object Relational Mapping (ORM)?

As noted above, using ObjectDB instead of a relational database and ORM combination is easier ... database is mandatory (e.g. as a result of a customer request or when a new application is developed for an existing old relational database). By using the Java Persistence API (JPA), you can develop
8

Running JPA Queries

(with getResultList) The following query retrieves all the Country objects in the database. The query ... object, which is a Long object reflecting the number of Country objects in the database ... might fail, depending on the database content. For example, the following query is expected to return
8

Shared (L2) Entity Cache

on the client side - ObjectDB manages also several caches on the server side: Cache of database file pages ... is wider, since they exist per database and are shared by all the EntityManagerFactory and EntityManager instances of the same database - including on different client machines. Setting the Shared Cache
8

Chapter 1 - Quick Tour

ObjectDB databases and perform basic CRUD operations (Create/Store, Retrieve, Update and Delete) on ObjectDB databases. The example program that this chapter presents manages a simple database ... , that hold the point's x and y coordinates. The program demonstrates CRUD database operations by storing
1

Step 3: Define a Spring DAO Component

Operations on the database will be performed by an instance of a Data Access Object (DAO ... .transaction.annotation.Transactional; @Component public class GuestDao { // Injected database ... - for storing a new Guest entity object in the database. getAllGuests - for retrieving all the existing
1

Step 3: Define a Spring DAO Component

Operations on the database will be performed by an instance of a Data Access Object (DAO ... .annotation.Transactional; @Component public class GuestDao { // Injected database connection ... Guest entity object in the database. getAllGuests - for retrieving all the existing Guest objects
1

Step 3: Define an EJB Session Bean

Operations on the database will be performed by an instance of a session bean (EJB) class ... ; @Stateless public class GuestDao { // Injected database connection ... the database. getAllGuests - for retrieving all the existing Guest objects from the database. EJB classes
1

Step 2: Entity Class and Persistence Unit

To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New ... to create the new class. A new class that should represent Guest objects in the database was created in ... entity class will represents guests in the database. We also need to configure JPA by setting a META-INF
0

What is the Java Data Objects (JDO)?

The Java Data Objects (JDO) is another standard for accessing persistent data in databases, using ... ), which is designated to be used with relational databases, JDO is designated to be used with both relational and object databases. JDO is supported by many object databases, including ObjectDB
0

[ODB1] Chapter 7 - JDOQL Queries

There are various ways to retrieve objects from an ObjectDB database, as shown in section 6.3 ... for RDBMS. It provides object retrieval from the database according to a specified selectioPlan ... compilation succeeds, the Extent of Person instances in the database is iterated object by object

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