About file

manual

[ODB1] Chapter 6 - Persistent Objects

Shows how to store, retrieve, update and delete database objects. This chapter describes how to use ObjectDB to manage database objects. It includes the following section: 6.1  Making Objects Persistent 6.2  Object IDs and Names 6.3  Retrieving Persistent Objects 6.4  M ...

 
forum_thread

Null enums and IS (NOT) NULL: NullPointerException

Hello. I'm getting NullPointerException when adding %enum field% IS (NOT) NULL or == (!=) NULL in WHERE clause. The same exception using CriteriaQuery. ... Maximum file size: 32 MB 0 ...

 
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(); ... Maximum file size: 32 MB 0 ...

 
forum_thread

Possible cause for "Enhancement of type ... is old and cannot be used"

We get the following log: ... Maximum file size: 32 MB 0 ...

 
forum_thread

TemporalType injection with Calendar using JPA

I have ObjectDB  JPA  comsummed by a RESTful web service deployed on Tomcat. I am using an embedded object as a primary key, which has time fields which I have annotated with TemporalType.TIMESTAMP When I use a java.util.Date as a field on this object there is no problem. However, if I use a java.util.Calendar it encounters an exception.   Calendar is what I need.  Is there something obvious here that I am failing to see?   ... Maximum file size: 32 MB 0 ...

 
forum_thread

ObjectDB with JRebel: copious 'Not Enhanced:' errors with EJBs

JRebel 6.5.1 ObjectDB-2.6.9_06 Glassfish4.1.1 (or Payara41 [163 full]] I appreciate that you are not responsible for compatibility with JRebel, but you might be able to provide some insight or feedback. Reported also to Zeroturnaround for JRebel here. When using JRebel I am getting copious server log output for nearly every @EJB on startup. Typical message is like: ... Maximum file size: 32 MB 0 ...

 
forum_thread

Issue with Casting / Joins

Hi I can't seem to find my way out of this. Basically what I have is something like: ... Maximum file size: 32 MB 0 ...

 
forum_thread

Closed EntityManagerFactory after upgrading glassfish 3.1.1 to 3.1.2

Hi. I have faced a very serious issue. After upgrading the GlassFish server from 3.1.1 to 3.1.2 this error appears:   ... Maximum file size: 32 MB 0 ...

 
forum_thread

Optimistic locking: prevent version increment on entity collection attribute

Hello, I have an entity E with an attribute which is a collection of entities (one to many relationship) with an optimistic locking strategy supported by a version field. Is it possible to prevent the increment of the version of entity E when entities are added to or removed from the collection? Something like the equivalent of @OptimisticLock(excluded=true) in Hibernate? Thanks, Farid ... Maximum file size: 32 MB 0 ...

 
forum_thread

Type ... is not defined as an entity (@Entity is missing) (error 302)

Hello, I am using ObjectDB 2.2.8_08 with eclipse 3.6 and Groovy objects. I am attempting to persist an instance of CultureRqst in the project com.epimss.lab by using a Connection class imported from the project com.epimss.admin.   I can access the database OK, but attempting to persist the CultureRqst leads to the following exceptions: ... Maximum file size: 32 MB 0 ...