Home » Search

About store

11-20 of 200Refresh
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
Forum
20

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
20

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

javax.persistence.PersistenceException 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.       This post was moved to a forum
Forum
20

Storing methods?

I don't think ObjectDB does this, but I want to ask to make sure: are methods stored in the database along with data?  Thanks. No, methods are not stored in the database. Therefore, if in client-server mode user defined methods are in use in queries (supported by ObjectDB as an extension to JPA
Forum
20

Unable to store AtomicInteger

to store an instance of a non persistable type java.util.concurrent.atomic.AtomicInteger I am using ... ? Since this is not an entity class, the other alternative is to store an int then from the entity
Forum
20

Wrong data stored in time only fields

This may be related to the fix for the problem described in this thread: Wrong data stored in date only fields. The object and its date and time fields are the same as in the referenced thread. Except we are using ObjectDB 2.6.4_08, the system time zone is set to EST and both the OS and JVM
Manual
20

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