About not

forum_thread

Problem with @Basic(fetch = FetchType.LAZY)

I have a class where two fields are annotated with @Basic(fetch = FetchType.LAZY) due to them containing quite long Strings and me loading ALL entities of the database on application startup (swing app) This class should hopefully demonstrate the problem: ... may be more efficient, if usually these strings are not required.   ObjectDB Support ...

 
forum_thread

Entity with java.util.Date column gives ClassCastException in BIRT

Copied a straightforward entity class from my coleague. Using Eclipse Kepler (Reporting) and stored it in ObjectDB 2.5.3_02. After creating an ObjectDB BIRT DataSource and a DataSet, entered a simple JPQL query to select the fields. Entity looks like this: ... 21 more   I'd rather not use java.sql.Timestamp in my entity classes. Is this a bug in ObjectDB or ...

 
issue

NullPointerException in __odbGetNumMember

Hi,   hi, When deleting an entity "Mitglied" -> everything works fine. Trying to delete another one (in a separate transaction) always causes a NullPointer Exception in __odbGetNumMember line 1 of the enhanced Mitglied class. I am unable to replicate it in a simple testcase but it always happens in our implementation. I am posting the stack trace in the hope that it'll help to figure what's going wrong: ... and some other related classes (e.g. a super class) are not enhanced. If you enhance classes on the fly, it may be possible for some ...

 
issue

GC overhead limit exceeded

I had some memory problems with a process running over the weekend and received the following exceptions in the objectdb log: 1) ... use to you - I thought I'd post it anyway as I've not seen the "overhead limit" exception before with objectdb. ...

 
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; ... and unless you move the Point class, this error should not return. ObjectDB Support ObjectDB - Fast ...

 
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. ... is working much better now, but unfortunately it is still not 100% - if I run the same test with 20 threads and 1000 iterations I still ...

 
manual

Obtaining a JPA Database Connection

Shows how to use Java/JPA to connect to the ObjectDB Object Database.... ) ; Closing an EntityManager does not close the database itself (that is the job of the factory as previously ...

 
issue

java.lang.NullPointerException during access a field, only if the classes enhanced

We get the following exception during access a field (Set of entities) The error occurs only if the entities are enhanced. ... Hello, unfortunately the issue is not solved with 2.7.0_04. Caused by: com.objectdb.o.InternalException: ...

 
issue

NPE at com.objectdb.jpa.JpaQuery.getResultList

This is very similar to issue #51  raised by kaosko .   So perhaps I should have added it there.  Anyway, here it is....   ... Unfortunately, I have not been able to reproduce this exception. (which is good, I suppose!) ...

 
forum_thread

objectdb.conf Information

Hello, Is it possible to get detailed information on objectdb.conf client vs server? We do have an objectdb.conf for our client and one for our server instance. Now there're several questions: - Which config entries are relevant for the client and which one for the server? I.e. what about: <cascade-persist always="true" on-persist="false" on-commit="true" /> we want to activate enhancer agent, guess this is client right? activation-code - guess this is required for server only right? ... the general structure of the configuration file is not expected anytime soon. But build 2.3.3_01 makes all the top level ...