About store

1-10 of 200Refresh
Manual
219

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
58

InstanceLifecycleEvent.STORE

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

Chapter 3 - Using JPA

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

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
26

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
20

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
20

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
20

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
Forum
20

stored procedure in ObjectDB

Hi,     Does ObjectDB support "stored procedure"?     Some frequent operations may be finished within DB, client just get a few bytes of the result. TIA No stored procedures in ObjectDB. JPA (or JDO ... events (unlike stored procedures) are portable. hi,     You know, when I use link-like structure
Forum
20

First query before any of the object has been stored

is different from what's already stored.  The problem is that, before any instances of that object have been stored, the query generates an exception.  I'd been expecting NoResultException ... some other persistence related exception.  How can I know if any of an object has been stored