About eager

release

2.0.1

... by persist. Fixed a memory leakage in eager load of large object graphs. Fixed a synchronization bug in ...

 
forum_thread

Failing to read entities under load in multithreaded tests

Hi, We are experiencing an issue in our application that only occurs under load - we sometimes fail to read entities from the database. ... . REFRESH , fetch = FetchType . EAGER ) private TestEntity parentAcl ; @ Basic ...

 
issue

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

reporting issue as requested  ... , fetch = javax. persistence . FetchType . EAGER ) public List<Point> getPoints ( ) ...

 
forum_thread

Changes in detach behaviour?

Hello! Today i upgraded to 2.3.5_04. My program stopped working. After some debugging i found out that all fields of retrieved objects are on their default value till i first call a getter or detach them explicitly. Up to 2.3.4 they where initialized immediately. The problem in my case is that i have a Spring DAO. It does the following: I call for example getUserByName("blub). ... automatically. Loading of collections may require setting EAGER fetch explicitly. How is getUserByName implemented? Can you ...

 
forum_thread

Removing an entity throws exception

Hi all, I'm testing ObjectDB for my project, but I have troubles with it. At this time I'm not able to remove customer entity, when it's read by a query (it's attached), it throws this exception: Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: com.objectdb.o._RollbackException: Failed to commit transaction: 51 ... ... CascadeType . ALL , fetch = FetchType . EAGER , optional = false , orphanRemoval = true ...

 
manual

JPA / JDO Class Enhancer

The Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation. ObjectDB Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation. Enhancement is mainly for user-defined persistable classes ( entity classes , embeddable classes and mapp ...

 
forum_thread

Delete me

Any place where I can find Netbeans examples for the basic create, read, update, delete methods using the EntityManager? i.e. public void create(Foo foo) {} public Foo read(Integer id) {} public List<Foo> read() {} public void update(Foo foo) {} public void delete(Foo foo) {} #1 2014-02-28 16:37 Please delete this comment edit delet ...

 
forum_thread

How to use JOIN FETCH?

The ObjectDB manual (http://www.objectdb.com/java/jpa/query/jpql/from) gives an example of using JOIN FETCH to avoid excessive round trips to the database: ... { File file = new File ( "eager.odb" ) ; if ( file. exists ( ) ... Persistence . createEntityManagerFactory ( "eager.odb" ) ; EntityManager em = emf. ...

 
forum_thread

Error during cascaded merge

Hello! I have a new problem with ObjectDB 2.5.5_02. This issue appeared after the upgrade from 2.5.5. I get the following exception: ... = true , fetch = FetchType . EAGER ) @ OrderBy ( "configDate DESC" ) ...

 
release

2.0.0

... by persist. Fixed a memory leakage in eager load of large object graphs. Fixed a synchronization bug in ...