About find

release

2.6.0

... Added support of using entity instead of a PK in find (retrieval by example). Added support of using list of ... . Fixed a bug in optimistic locking on find by using LockModeType.WRITE . Fixed exception when a ...

 
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. ... an EntityManager, begin a transaction, do some stuff (find, persist, remove …) and then commit or in the case of errors ... - access an entity MyEntity myEntity = em. find ( MyEntity. class , 1 ) ;   em. ...

 
release

2.6.1

... Added support of using entity instead of a PK in find (retrieval by example). Added support of using list of ... . Fixed a bug in optimistic locking on find by using LockModeType.WRITE . Fixed exception when a ...

 
forum_thread

Should I be able to persist a JFrame (or gui components in general)?

    I did the following: 1. (using Netbeans 8.02 & last available java 7 sdk) I sort of follow your tutorial(s) while applying the ideas to a sample that came with the IDE called GUIFormExamples (under samples). ... your jar files (none of the exe's worked--couldn't find java if I tried them from command line). 3. Basically what I did ... point is, it has been a goal of mine for some time now, to find a way of programming basic "editor" interfaces like this, so that I am not ...

 
release

2.4.3

... . Fixed a bug in optimistic locking on find by using LockModeType.WRITE . Fixed exception when a ... id type when an entity object is retrieved using  find  with a PK of a different type (e.g. Integer instead of Long ...

 
forum_thread

Query problem after transaction commit

I have a machine running the objectdb server and the client on another machine connect to it. The client program can connect to the server and query to get all the records. However, after transaction.begin ... persist(p) .. commit of a new object, my client program can no longer retrieve the old records but only the latest stored record. I tried to run database explorer on the server machine and able to see all the records including the new stored record.... Attached please find the test code. The screen output is at the end of the post. Please help. ... 03:06 Please find attached the new single file code and the screen output below. Since my ...

 
forum_thread

Several parallel threads to speed up query on one DB

Hi, I have an application: producer (from a DB) to a consumer. The current bottleneck is the producer from DB (based on a query) and I would like to speed it up. I have tried using several entity managers (same DB instance) to benefit from the parallelisation - but it looks like I don't get much benefit from doing that.  ... 11:27 Please find attached a reproducible case. Step1: run persist() method ...

 
release

2.5.7

... Added support of using entity instead of a PK in find (retrieval by example). Added support of using list of ... . Fixed a bug in optimistic locking on find by using LockModeType.WRITE . Fixed exception when a ...

 
release

2.4.2

... . Fixed a bug in optimistic locking on find by using LockModeType.WRITE . Fixed exception when a ... id type when an entity object is retrieved using  find  with a PK of a different type (e.g. Integer instead of Long ...

 
forum_thread

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

I have two classes a Container type class and another class that is 'contained' by that class. The contained class, CompoundKeyMapItem, represents an alternate implementation of an object held in a Map, and uses a Compound Primary Key. The contained class therefore uses an @IdClass. This all works fine on Eclipselink. However when I try and run this in ObjectDb I get the following error; ... em ) { Container c = em. find ( Container. class , "1" ) ; if ( c ... EntityManager em ) { return em. find ( CompoundKeyMapItem. class , new CompoundKeyMapItem. ...