Fast Object Database for Java - with JPA/JDO support

Internal Website Search

101-110 of 200 resultsRefresh

[ODB1] Chapter 3 - Persistent Classes

instructions: > java com.objectdb.Enhancer ObjectDB JDO Enhancer - Version 1.00 Copyright (C) ObjectDB

[ODB1] Chapter 2 - A Quick Tour

as person.class: 1 version="1.0" encoding="UTF-8"?> 2

Can I use ObjectDB with languages other than Java?

ObjectDB can be used by Java Virtual Machine (JVM) languages, such as Java, Groovy and Scala. It can also be used with other languages, such as Phyton, Ruby and PHP, but currently only with their JVM implementations (e.g. Jython for Phyton, JRuby for Ruby and Quercus for PHP). A version of ObjectDB

[ODB1] Chapter 7 - JDOQL Queries

. A JDO portable version of this query is shown in section 7.4. 7.3 Query Parameters Using parameters

Running JPA Queries

, but the version of Query returns a result list of a raw type (non generic) instead of a parameterized

What are the system requirements for using ObjectDB?

ObjectDB requires Java 5 or later (Java 6 is preferred). As a pure Java application, ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development.


.OPTIMISTIC on a versioned object, the entity manager must ensure that neither of the following ... of type LockModeType.OPTIMISTIC_FORCE_INCREMENT on a versioned object, will also force an update (increment) to the entity's version column. The persistence implementation is not required to support


See Also: PersistenceManagerFactory.getProperties() String NONCONFIGURABLE_PROPERTY_VERSION_NUMBER ... See Also: PersistenceManagerFactory.supportedOptions() String OPTION_VERSION_DATETIME "javax.jdo.option.version.DateTime" "javax.jdo.option.version.DateTime" Since: JDO 2.1


{ @Id protected Integer empId; @Version protected Integer version; @ManyToOne ... to FTEMPLOYEE.EMPID // Inherited version field mapped to FTEMPLOYEE.VERSION ... field mapped to PT_EMP.EMPID // Inherited version field mapped to PT_EMP.VERSION

Optimistic locking failure

---------------------------------------------------------- READ(A) version=1 value=0 | READ(B) version=1 value=0 | | READ(A) version=1 value=0 | READ(B) version=1 value=0 | B = A + B + 20 | WRITE(B) version=2

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