ObjectDB version 2.4.0

Released on 2012-05-20 (see other available releases).

Note: A newer version is available.

Use of ObjectDB is subject to the ObjectDB Licence agreement
 

Changes in ObjectDB 2.4.0:

  • Added support of entity collections as query parameters.
  • Added support of running ObjectDB within Eclipse 3.7 wrapper jar.
  • Added support of sharing an identifier name for a variable and a parameter in the same query.
  • Added support for using ObjectDB with GlassFish 3.1.2.
  • Added handling missing classes in agent enhancement (by catching exceptions).
  • Added automatic restart for failed connections on unexpected network failure.
  • Improved temporary file management including avoiding permission collision.
  • Improved BIRT support (issue #659).
  • Improved evaluation of query plans that use composite indexes.
  • Improved processing of queries with a large number of variables (issue #607).
  • Improved toString of criteria queries to use aliases (issue #127).
  • Changed non loaded collections on detachment to null (rather thanempty collections).
  • Fixed a critical bug in handling a very large number of entity classes (issue #672).
  • Fixed LockModeType.OPTIMISTIC (READ) by handling it as OPTIMISTIC_FORCE_INCREMENT.
  • Fixed a bug in optimistic locking on find by using LockModeType.WRITE.
  • Fixed exception when a named query doesn't exist to IllegalArgumentException.
  • Fixed undeploying Glassfish 3.1.1 web application (by catching unexpected exception).
  • Fixed LEFT JOIN issues (including on mapped by collections).
  • Fixed object duplication on cascading merge (issue  #595).
  • Fixed an InternalException in query execution (issue #739).
  • Fixed a master server failure due to disconnecting a replicated slave server.
  • Fixed NOT NULL handling for basic (non relationship) references.
  • Fixed a bug in detecting orphan entities in reflection mode.
  • Fixed a bug in listing inherited persistent fields (in the Metamodel API and in the Explorer).
  • Fixed a bug in merging complex object graphs.
  • Fixed a bug in not using LIKE's ESCAPE when an index is used.
  • Fixed a bug in parsing time literals in queries.
  • Fixed recovery from failure when the recovery file is empty (issue #695).
  • Removed EntityManager conflict checks in NO DETACH mode.
  • Fixed a bug in online backup of databases larger than 2GB.
  • Fixed a bug in running queries between flush and commit.
  • Fixed a deadlock (issue #450).
  • Fixed another issue in implementing fake entity detachment (feature request #326).
  • Fixed a bug in compilation of path expressions in queries.
  • Fixed handling null values in JOIN and path expressions in queries.
  • Fixed a possibly very slow query execution when using entity parameters.
  • Fixed issues in navigation through detached objects.

See the full change log.
 

ObjectDB with Maven

To use ObjectDB in your Java Maven project merge the following repositpory and dependencies into your pom.xml file:

    <repositories>
            ...
        <repository>
            <id>objectdb</id>
            <name>ObjectDB Repository</name>
            <url>https://m2.objectdb.com</url>
        </repository>
            ...
    </repositories>
            ...
    <dependencies>
            ...
        <dependency>
            <groupId>com.objectdb</groupId>
            <artifactId>objectdb</artifactId>
            <version>2.4.0</version>
        </dependency>
        <dependency>
            <groupId>org.eclipse.persistence</groupId>
            <artifactId>javax.persistence</artifactId>
            <version>2.1.0</version>
        </dependency>
        <dependency>
            <groupId>javax.transaction</groupId>
            <artifactId>jta</artifactId>
            <version>1.1</version>
        </dependency>

            ...
    </dependencies>

ObjectDB 2.4.0 Maven files:

objectdb-2.4.0.jar objectdb-2.4.0.jar.md5 objectdb-2.4.0.jar.sha1
objectdb-2.4.0.pom objectdb-2.4.0.pom.md5 objectdb-2.4.0.pom.sha1

 

ObjectDB Development Kit

The ObjectDB Development Kit includes:

  • The ObjectDB runtime JAR (available also on Maven).
  • The GUI ObjectDB Explorer.
  • Sample ObjectDB databases that you can open in the Explorer.
  • Command line tools for running the ObjectDB Server and the ObjectDB Enhancer.
  • Tutorial projects in Maven format for opening and running in your favourite IDE.
  • A sample objectdb.conf configuration file.
  • Source code of the JPA and JDO APIs.
  • JavaDoc of the JPA and JDO APIs.
  • The complete ObjectDB Manual in PDF format.