About removed

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(); #1 2015-02-21 17:33 Hello. I have a JSF application (Glassfish 4, Java 8, ObjectDB 2.6.0). In some time the heap is getting 9 ...

 
issue

Query execution causes an unexpected internal exception (Error 990)

We have the following exception, why our query fails? Bug Version: Priority: Normal Status: Active Replies: 1 Type:  Bug ...

 
forum_thread

composite index not used in query

we defined a composite index for class Action: @Index(name="ssst",members={"startDate","state","subType","type"}) and an index for the OneToMany @OneToMany(fetch=FetchType.LAZY) @Index  public List<ObjectNode> objectsInCharge = new ArrayList<ObjectNode>(); on running a query like #1 2016-04-20 13:13 we defined a composite index for class Action: @ Index ( name = "ssst" , members ...

 
forum_thread

internal object DB locking in an embedded multi threaded application

Hi, we are using Embeded objectDB 2.4.4_06 in a highly multithreaded concurrent manner and we have noticed a performance problem in our application that seems to be attributed to ObjectDb's internal locking. When profiling our app in JVisualVm we notice a large number of threads are blocked and when doing a threaddump we notice that they are all blocked in the same place: #1 2012-11-08 13:26 Hi, we are using Embeded objectDB 2.4.4_06 in a highly multithreaded concurrent manner and we have notice ...

 
forum_thread

Complex Schema Upgrade not working

Hello, We're trying to upgrade the DB-Schema. Simplied our source/original Schema/Class-Hierarchy looked like this: class contact.Contact class customer.Customer extends contact.Contact class member.Member extends customer.Customer We have database records within each class type (Contact, Customer and Member). #1 2015-01-19 09:38 Hello, We're trying to upgrade the DB-Schema. Simplied our source/original Schema/Class-Hierarchy loo ...

 
forum_thread

Failed to commit transaction: Attempt to commit a rollback only transaction

Anyone know what this means?? Suddenly cropped up.   Failed to commit transaction: Attempt to commit a rollback only transaction (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:271) at javax.jdo.Transaction$commit.call(Unknown Source) #1 2011-05-24 22:22 Anyone know what this means?? Suddenly cropped up. Failed to commit transaction: Attempt to commit ...

 
manual

JPA Lifecycle Events

Explains how to use JPA lifecycle events (client side triggers) with callback methods and listener classes. Callback methods are user defined methods that are attached to entity lifecycle events and are invoked automatically by JPA when these events occur. This page covers the following topics: Internal Callback Methods ...

 
forum_thread

Tutorial issue

Ok, so I'm stuck on the Eclipse tutorial. I have a number of other projects running in Eclipse right now, so I created the new project as specified in Step 1 The only thing I did differently was in steps two and three I used the source folder "Tutorial/src" which is what I used to create the project in Step 1; Here's the output; #1 2014-03-18 10:18 Ok, so I'm stuck on the Eclipse tutorial. I have a number of other projects running in Eclipse right now, so ...

 
issue

Post-compile enhancement sometimes causes error in generic loops: incompatible types found: java.lang.Object: required: Entity

I have moved from automatic run-time enhancement to explicit post-compile enhancement in an Ant build.xml in a NetBeans web app, and sometimes on editing a file that performs a generic loops over and @entity type I get a generics error. The loop is:  for (Steel s: this.steelMaterials.getL_Steel().getEls()) { eSteelTableItems.add(asXmlElement(s)); } Where getEls() here gives: List<Steel> This sometimes (only, I don't understand the circumstances) gives this error: Bug Version: 2.4.0 Priority: Normal Status: Active Replies: 2 Type:  Bug ...

 
issue

DISTINCT key causing internal exception on 2.6.4.b10

I observed that on new ObjectDb v.2.6.4.b10 query below causes internal exception SELECT DISTINCT $1 FROM Pa3DictionaryItem $2 JOIN $2.values $1 WHERE ($2.namespace == 'com.anritsu.pa3.ttcn3' AND $2.key == 'TliEvent' AND $1 != '') Query above also worked fine on ObjectDb version 2.6.1.b06 Bug Version: 2.6.4 Priority: Normal Status: Fixed Replies: 4 Type:  Bug ...