About feature

forum_thread

Change path for urls2.xml file

I am using ObjectDB embedded and have set my home path in relation to the JAR, but running the program still creates .objectdb/urls2.xml in my system user folder.  Is there a setting to change the creation path of this file?  I assumed it would be in relation to the home path, similar to the db and log files. ... the Explorer. Your end users probably don't need that feature. Disabling it could also save I/O operations when opening databases. ...

 
issue

ArrayIndexOutOfBoundsException on flush

The following exception was thrown when my app attempted to flush an objectdb database: ... . Type: * Bug JPA Feature JDO Feature Feature Request Documentation Website Version: ...

 
issue

ArrayIndexOutOfBoundException

Hello, we got this exception when using ObjectDB: ... . Type: * Bug JPA Feature JDO Feature Feature Request Documentation Website Version: ...

 
forum_thread

mappedBy problem

If I put the mappedBy element to the @OneToMany, the owned side (the many side) will never persist ! for example @Entity public class Employee { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) public Long id; public String name; @OneToMany(targetEntity=Address.class,mappedBy="employee") public List<Address> addresses; }   @Entity... shown. Support of bidirectional links is a new ObjectDB 2 feature and the Explorer has not been adjusted yet. ...

 
page

How to upgrade from ObjectDB 1.0?

Explains how to upgrade from ObjectDB 1.0 to ObjectDB 2.0. Upgrade - Step By Step To upgrade an existing application that uses ObjectDB 1.0 to ObjectDB 2.0: Replace the old ObjectDB and JDO jar files with the new objectdb.jar file. Make sure that the old jar files are removed from the classpath ...

 
forum_thread

ODB IndexActivation NullPointerException

Hi, We have created indexes on an existing database, which has 4.3 million objects. As soon we create first query, NullPointerException is thrown: ... to the background index building, which is a new ObjectDB feature. Build 2.6.7_07 includes an attempt to fix this exception. ...

 
forum_thread

Duplicatable and Disposable JPA Repository for Unit Testing

Hi Folks, I seek an in-memory JPA implementation which can be easily instantiated, populated, and then duplicated for use in separate tests.  Tests might be JUnit or Fitnesse based.  There is no reason for file-system storage (preferably there would be none).  The ability to "duplicate" the populated repository is pretty important, as this allows individual tests to execute quickly (very little spin-up time and no need to pre-populate the db) and to execute without side-effects from other tests (db instance is not shared between tests). ... customer or a company that would like to sponsorship this feature. Duplication should be very easy with ObjectDB - just copy the ...

 
forum_thread

Optimistic lock failed

Hi, I frequently see exceptions during development such as com.objectdb.o._RollbackException: Failed to commit transaction: Optimistic lock failed for object com.example.MyEntity#3 (object has version 1 instead of 3) Could you please explain what this means, and what I can do about it. Thanks you, Carl     ... ... This is currently an undocumented feature (that was added because of a user request) - but it is expected to ...

 
forum_thread

Pessimistic Lock Timeouts setting

Hi,   I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. However, there is a standardised query 'hint' that can be setup to make the underlying DB lock a record for a specific time. The hint property is: "javax.persistence.lock.timeout" ... This should be a useful feature. I will check if it could be added in one of the next builds. ...

 
forum_thread

ObjectDB version 2.3 has been released

ObjectDB 2.3 has been released and it includes important additions and fixes: ... are expected in next releases. Bug reports and feature requests regarding the Explorer - will have high priority in the next ...