About Time

forum_thread

OEM Enhancer causing Jenkins job to freeze

Hi all, We are using ODB enhancer in one of our jobs on jenkins, built via ant. Recently we started to encounter situation, where this job's execution gets stuck for ever on Jenkins. This is causing us a lot of problems with our CI. ... when you start your application (since it may happen every time that this class is loaded and initialized). Anyway, fixing this ...

 
manual

WHERE clause (JPQL / Criteria API)

Explains how to use the WHERE clause in a JPQL query.... the database there is a huge difference in query execution time if proper indexes are defined. WHERE Filter in Multi Variable ...

 
issue

Querying error - java.lang.ClassCastException: com.objectdb.o.STV

I'm getting the ClassCastException below when querying objects. As yet I haven't been able to track down the exact circumstance in which it occurs - saving and querying objects works fine on attempts to recreate - but presumably at some point an object gets saved which objectdb doesn't like. Any pointers as to what is wrong or approaches to investigate further would be much appreciated. ... this information from the object after a set expiry time. Thus the object can go from being large to small. The output from ...

 
forum_thread

Im trying to pass a SetAttribute<X,E> to a Path<X>.get The IDE says "Bound mismatch: The generic method isNotMember(Expression<E>, Expression<C>) of type CriteriaBuilder is not applicable for the arguments (From<E,capture#117-of ?>, Expression<Set<E>>). The inferred type Set<E> is not a valid substitute for the bounded parameter <C extends Collection<E>>"   How it is possible? /subscription/19421/0 Post Reply Please read carefully the posting instructions - bef ...

 
forum_thread

Glassfish 3.1.2.1 and ObjectDB 2.4.3

Hello, I tried to get the Guestbook tutorial run with Glassfish (see above) but it's not working. When I try to add a guest I got a HTTP Status 404 Wich versions of ObjectDB should I use? Thanks ... Open Source Edition 3.1.2 ( 23 ) startup time : Felix ( 2 ,562ms ) , startup services ( 5 ...

 
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: ... middleware which I didn't quite understand the first time I've read it: Libraries deployed under your Extension ...

 
api-jpa

javax.persistence.LockTimeoutException

Thrown by the persistence provider when an pessimistic locking conflict occurs that does not result in transaction rollback.(Exception of JPA)

 
api-jpa

javax.persistence.spi.PersistenceProviderResolver

Determine the list of persistence providers available in the runtime environment.(Interface of JPA)

 
forum_thread

Empty temporary dat files in the temp folder

Hello, We have questions regarding the pagesX.dat files in the temp directory. We detected a problem on a machine with ‘only’ 2GB free memory on disc drive C:/ because during using our Product the %temp%/objectdb_123... folder growth up to 2GB. And then we run into some following errors due to lack of memory. ... A new temporary file of this type is created every time an ObjectDB database file is created or opened, if objectdb.temp.page-file ...

 
api-jdo

removeInstanceLifecycleListener(listener)

Remove the parameter listener instance from the list of instance lifecycle event listeners set as the initial listeners for each PersistenceManager created by this PersistenceManagerFactory.(Method of javax.jdo.PersistenceManagerFactory)