Home » Search

About store

31-40 of 200Refresh
Tutorial
15

Step 3: Add a Main Class

In this step we will add a main class to the project with code that will store Point objects in ... = emf.createEntityManager(); // Store 1000 Point objects in the database: em ... database file, stores 1000 Point objects in the database, and then run a few queries, including
Tutorial
15

Step 3: Add a Main Class

to store Point objects in the database and then retrieve them from the database. Use copy and paste ... ("$objectdb/db/points.odb"); EntityManager em = emf.createEntityManager(); // Store 1000 ... (); } } The main method creates an ObjectDB database file, stores 1000 Point objects in the database
FAQ
15

What are the main benefits of using ObjectDB?

. The ability to store ordinary objects in the database directly can simplify the code significantly ... ObjectDB is especially designed to store and manage graphs of objects efficiently. That can accelerate ... fields can be stored by ObjectDB simply as part of the containing object. Relational databases lack
Manual
12

Chapter 1 - Quick Tour

ObjectDB databases and perform basic CRUD operations (Create/Store, Retrieve, Update and Delete ... , that hold the point's x and y coordinates. The program demonstrates CRUD database operations by storing
Manual
12

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. 
Manual
12

Online Backup

), since an ObjectDB database is stored as an ordinary file in the file system.  ObjectDB 2.1 ... to the client and will be stored on the client machine. Alternatively, the backup target
Manual
12

Shared (L2) Entity Cache

data. CacheStoreMode.USE - new data in stored in the cache - but only for entity objects that are not in the cache already. CacheStoreMode.REFRESH - new data is stored in the cache - refreshing entity
Tutorial
12

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 ... that stores and retrieves instances of the Point entity class.
Tutorial
12

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 tutorial package node (in the [Projects] window ... class that stores and retrieves instances of the Point entity class.
Tutorial
12

Step 3: Add a Context Listener Class

The Guest entity objects will be stored in an ObjectDB database, which will be represented by a JPA's EntityManagerFactory instance with a global application scope. We have to register ... above: Invokes the Enhancer to enhance the entity class and creates an EntityManagerFactory instance and stores