Home » Search

About store

1-10 of 200Refresh
Manual
304

Storing JPA Entity Objects

New entity objects can be stored in the database either explicitly by invoking the persist method or implicitly as a result of a cascade operation. Explicit Persist The following code stores ... and changes its state to Managed. The new entity object is stored in the database when the transaction
JDO Doc
69

InstanceLifecycleEvent.STORE

Static Field javax.jdo.listener.InstanceLifecycleEvent int STORE Since: JDO 2.0
Manual
66

CRUD Database Operations with JPA

it to store, retrieve, update and delete database objects. Storing New Entity Objects The following code fragment stores 1,000 Point objects in the database: em.getTransaction().begin(); for (int i ... .getTransaction().commit(); Operations that modify the content of the database (such as storing new objects
Manual
44

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA.
Manual
44

CRUD Operations with JPA

Explains how to use JPA for CRUD database operations (persist, retrieve, update, remove).
Manual
34

JPA Entity Fields

that do not participate in persistence and their values are never stored in the database (similar ... only transient (non persistent) entity fields with no real content to be stored in the database. Persistent ... otherwise (e.g. by using the @Transient annotation). Storing an entity object in the database does not
Manual
31

JPA Persistable Types

The term persistable types refers to data types that can be used in storing data in the database ... can be stored in the database directly. Other persistable types can be embedded in entity classes as fields. In addition, only instances of entity classes preserve identity and are stored
Forum
24

Storing Images

What is the best way to store images? As external files? In the database as blobs? Are blobs supported? i use odb to store images, in a complex, persistent uml model based on Eclipse EMF/UML2. to persist the images, i just store an array of bytes (byte[]) representing the encoded images.  i.e
Forum
24

Storing XML files in ObjectDB

Hello, Is it possible to store XML files in ObjectDB?   Thanks ObjectDB can be used to store any type of data including XML. For example, you can define a generic Element entity and store the XML as ... . You can also store an entire non parsed XML file as string or byte[] in one entity object. st.clair.clarke
Forum
23

Class fields selection to store

In a class how do I define which are the fields to be stored? (using JDO API) It's using persistence-modifier="persistent" ? If I have a class with 40 fields and I only want to store ... ="persistent" /> Which are the value used for fields that I do not want to store