About store

11-20 of 200Refresh
Forum
25

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
25

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
25

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
25

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
25

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
24

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
24

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
24

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
24

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
24

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