ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
117

How to store and compare Date up to sec.

How to store and compare date up to sec? By default it stores the dates like "23 May, 2020 10:25:23:112 AM" means date and timestamp including milisec but I want to store till sec("23 May, 2020 10:25:23 AM") like MySql and other db. They stores the date up to sec. ObjDBUser3 Manoj Kumar Maharana
117

Storing Images

What is the best way to store images? As external files? In the database as blobs? Are blobs supported? joelc Joel 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
116

Storing XML files in ObjectDB

Hello, Is it possible to store XML files in ObjectDB? Thanks st.clair.clarke St Clair Clarke 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 a tree of Element nodes. Another option is to define an entity class
115

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 gzdillon Lai Yang No stored procedures in ObjectDB ... lifecycle events (unlike stored procedures) are portable. support Support hi, You know, when I use
115

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 to be thrown ... other persistence related exception. How can I know if any of an object has been stored
115

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" /> </class> Which are the value used for fields that I do not want to store
114

Unable to store AtomicInteger

to store an instance of a non persistable type java.util.concurrent.atomic.AtomicInteger I am using ... is to store an int then from the entity call an extra setup function in @PostLoad
114

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. webel Dr Darren Kelly
24

JPA Persistable Types

The term persistable types refers to data types that can be used for 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
22

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. webel Dr Darren Kelly This post

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support