About mapped

forum_thread

A lot of ENT and SIV instances which are not cleared by GC

Hello. I have a JSF application (Glassfish 4, Java 8, ObjectDB 2.6.0). In some time the heap is getting 95% full with java.lang.OutOfMemoryError: GC overhead limit exceeded.  The first screenshot from VisualVM shows used heap during a 1000 requests stress test. The second shows that after this test there are many com.objectdb.o.ENT and com.objectdb.o.SIV instances. Why isn't it cleaned? I use simple EJB managers containing EntityManagers. On bean's PreDestroy and in servlet's i make entityManager.clear(); ... (in build 2.6.1_01) a bug in cascading detach through mapped by to-many relationships. Please check the new build. If you ...

 
forum_thread

JBoss 7 startup fails

Hi, I was having a go with entity beans 3.x jboss 7, objectdb and the guestbook web application but cannot come out of the swamp. I use eclipse indigo as IDE The "src" folder contains the pachake guest and within the classes: Guest.java, GuestListener.java and GuestServlet.java The WebContent/META-INF dir contains: context.xml #1 2011-09-21 11:50 Hi, I was having a go with entity beans 3.x jboss 7, objectdb and the guestbook web application but cannot come o ...

 
issue

ArrayIndexOutOfBoundsException on flush

The following exception was thrown when my app attempted to flush an objectdb database: Bug Version: 1.04 Priority: Normal Status: Closed Replies: 11 Type:  Bug ...

 
issue

Enhanced classes problem

Hell, we have problem with the OEM enhancement licencing. When we used runtime licencing using machine activation code, everything works fine. But when we enhanced our classes with OEM licence, following errors occurs: ... thrown. Please note that the ability to load mapped by relationships in bulk, which these reports are related to, are still ...

 
forum_thread

Dirty checking

Hi, wondering if anyone knows the best way to detect which objects have been changed in the database. ie: which objects, and which collections of objects, have been dirtied.     #1 2017-01-30 07:41 Hi, wondering if anyone knows the best way to detect which objects have been changed in the database. ie: ...

 
forum_thread

Cast exception?

Somehow I am unable to persist an entity class I wrote with manual @Id. I have a small Player class and I wish to store it with user ID as the primary key. So I declared the (only) primary key field as: @Id public int uid; This is how I'm persisting the instance: #1 2014-06-02 19:13 I'm getting a weird exception: java.lang.ClassCastException: database.entity.Player cannot be cast to d ...

 
issue

Navigation through lazy loading from Detached Objects

A main limitation of detached objects (as explained on the Detached Entities manual page) is: ... fixes NullPointerException in accessing inverse (mapped by) fields after detachment. ObjectDB Support ...

 
forum_thread

Attempt to execute a query using a closed EntityManager

Hi again! Suddenly, my app started to throw this exception. I would really appreciate some advices. ... object is loaded and a query is executed to initialize a mapped by (inverse) field in that object. This should be avoided when ...

 
forum_thread

em.flush(); em.clear(); loosing data and not persisting managed objects

I'm having trouble with flush() and clear() in a loop inside a transaction not persisting modified objects to database. Sometimes it does other times it doesn't. Here is my Entity. #1 2011-05-04 04:35 I'm having trouble with flush() and clear() in a loop inside a transaction not persisting modified objects to ...

 
issue

ObjectDB 2 JDO Manual

The new ObjectDB Manual describes how to use ObjectDB 2 with JPA. An additional manual that focuses on using ObjectDB 2 with JDO can help JDO users. But since writing a new manual and then maintaining two similar manuals, one for JPA and the other for JDO requires sufficient effort, this will be done only if there is sufficient demand.   Documentation Version: 1.04 Priority: Normal Status: Active Replies: 8 Type:  Documentation ...