About store

1-10 of 200Refresh
Manual
323

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
90

InstanceLifecycleEvent.STORE

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

Chapter 3 - Using JPA

Explains how to store, retrieve, update and delete entity objects using JPA.
Forum
31

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
30

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
30

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
30

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
30

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

Attempt to store an instance of a non persistable type java.net.URL

whether it is a valid URL $url string and storing it. I can return getURL also as transient to keep my public contract. But it would be nice to have URLs stored directly.   ObjectDB supports
Forum
30

How to configure where the ODB is stored?

Hi, The documentation is lacking in this respect. How do I configure where the ObjectDB database file is stored. I need to know where it is so I can inspect it with 'database explorer'. The docs say ... it. So, where is this file stored??? Also, the contents of the DB don't seem to be persisted between AppServer