About Time

release

2.1.1

Release date: 2011-03-10 Download (3.89 MB) Binary:  objectdb-2.1.1.zip You should start by following a  tutorial or reading the manual ...

 
forum_thread

Strange behaviour with ORDER BY and IN

Hi, after trying out objectdb for a while now and being quite impressed by its speed and overall performance I noticed a strange behaviour where an ORDER BY - directive isn't executed as it should be (and usually is, except in this special combination-case). ... (e.g. a String) being the Entity-ID and, at the same time, filter on this member with a simple IN-clause. Filtering with IN-clause ...

 
issue

Retrieving Metamodel without Connection

Hello! I use Spring Data JPA. It uses the Metamodel to create repository beans. This triggers a connection to the ObjectDB server. It happens on every start of the Context. If it fails the application isn't available at all. I had the situations multiple times that my database server took longer to boot after a power outage than the tomcat machine. This leads to an unusable application until i restart tomcat. Feature Request Version: 2.4.2 Priority: Normal Status: Fixed Replies: 1 Type:  Feature Request ...

 
api-jdo

setResultClass(cls)

Specify the type of object in which to return each element of the result of invoking execute or one of its siblings.(Method of javax.jdo.Query)

 
api-jdo

getOptimistic()

Optimistic transactions do not hold data store locks until commit time.(Method of javax.jdo.Transaction)

 
api-jpa

javax.persistence.spi.PersistenceUnitInfo

Interface implemented by the container and used by the persistence provider when creating an javax.persistence.EntityManagerFactory.(Interface of JPA)

 
api-jpa

createEntityManager()

Create a new application-managed EntityManager.(Method of javax.persistence.EntityManagerFactory)

 
forum_thread

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

In the code example below (also attached) I would like to understand why I am able to print to console a lazy @OneToMany mapped field after a finding entity manager closes. There is a switch DO_VIEW_BEFORE_CLOSE, and when it is true the fields are accessed and output before the finding entity manager closes and as expected both a mapped @OneToMany list and an unmapped @OneToMany list are viewable: a.listA_mapped:[{A}[4]"ownedElement1", {A}[5]"ownedElement2"] a.listB_unmapped:[{B}[2]"b1", {B}[3]"b2"] ... a.listB_unmapped:[] Note that at no time after the find do I access the other mapping side of the relationship ...

 
api-jdo

getObjectById(oid, validate)

This method locates a persistent instance in the cache of instances managed by this PersistenceManager.(Method of javax.jdo.PersistenceManager)

 
issue

Close() Method of EMF throwing "PersistenceException: Connection is closed" on first attempt to close.

We encountered an issue that caused an outage last Friday on multiple ObjectDb server instances.... on three separated ObjectDb servers at the same time? com.objectdb.o._PersistenceException: Connection is closed ...