About store

31-40 of 200Refresh
Manual
20

Working with JPA Entity Objects

requires using entity objects for many operations, including storing, retrieving, updating and deleting ... , the owning EntityManager stores the new entity object to the database. More details on storing objects are provided in the Storing Entities section. Entity objects retrieved from the database by
JDO Doc
19

javax.jdo.JDOEntityManager

) Delete the persistent instance from the data store. Delete the persistent instance from the data store. This method must be called in an active transaction. The data store object will be removed ... of the instance is not deleted from the data store. This method has no effect if the instance
JDO Doc
19

javax.jdo.PersistenceManager

1.0 void deletePersistent(Object pc) Delete the persistent instance from the data store. Delete the persistent instance from the data store. This method must be called in an active transaction. The data store object will be removed at commit. Unlike makePersistent, which makes the closure
JDO Doc
19

javax.jdo.spi.PersistenceCapable.ObjectIdFieldManager

. This field will be stored in the proper field of the ObjectId. Parameters: fieldNumber - the field number of the key field. Returns: the value of the field to be stored into the ObjectId. Since: JDO 1.0 ... the field manager. This field will be stored in the proper field of the ObjectId. Parameters
Manual
17

Index Definition

. When an entity object is stored in the database every indexed field must contain either null or ... to values that are stored as part of the entity. Therefore, indexes on multi part paths are only allowed when using embeddable classes as fields of embedded object are stored as part of the containing entity
Tutorial
17

Step 3: Add a Main Class

In this step we will add a main class to the project to store and retrieve Point objects from ... (); // Store 1000 Point objects in the database: em.getTransaction().begin ... (); emf.close(); } } The main method creates an ObjectDB database file, stores 1000 Point
Tutorial
17

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/p2.odb"); EntityManager em = emf.createEntityManager(); // Store 1000 ... (); } } The main method creates an ObjectDB database file, stores 1000 Point objects in the database
FAQ
17

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
14

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
14

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.