About empty

forum_thread

problem with lazy loading - unittest project attached

hi, i'm still testing objectdb together with spring-data-jpa. i made a test which should simulate 4 requests 1. save entity 2. read an existing entity, add onetomany relation 3. read an existing entity, add another onetomany relation 4. read entity, get relations. i have the feeling this is not the optional way to test this, because of the differnt transaction behavior. the test is not transactional, but the spring repository methods are. ... use EAGER the test pass, if not the related entity list is empty. what am i doing wrong? ... in a detached Foo instance and the collection looks empty. ObjectDB Support ObjectDB - Fast Object ...

 
release

2.3.2

... Fixed a NullPointerException in querying an empty database . Fixed a online backup file lock problem . ...

 
forum_thread

Out of memory

Hi, Today in the middle of the night ODB just crashed leaving this on console screen: ... is only 67MB, heap size is set to 1536MB. Log files are empty. Database uptime was about 3 weeks. It's still version 2.4.2_01. ... The same with explorer. Running query returns empty objects and works fine. When you want to unfold object and check all the ...

 
release

2.3.4

... Fixed a NullPointerException in querying an empty database . Fixed a online backup file lock problem . ...

 
manual

Database Connection using JPA

Describes the main JPA interfaces: EntityManagerFactory, EntityManager and EntityTransaction.... demonstrated above). To obtain a connection to an empty database (discarding existing content if any) the drop parameter has ... ) ; Getting an empty clean database easily is very useful in tests. However, to avoid the risk ...

 
release

2.3.3

... Fixed a NullPointerException in querying an empty database . Fixed a online backup file lock problem . ...

 
forum_thread

Project runs in Eclipse but not when exported to runnable jar

I have a simple project that performs some stability calculations and displays a scale drawing of a model glider. I decided to use objectdb as a way to persist the values for later retrieval. The project works perfectly well when run from eclipse but nothing opens when I export to a runnable jar and execute that. No windows open, there are no eror dialogs etc. Commenting out all the code related to object db resolves the issue and the project runs, so I'm fairly sure it is something I've done relating to objectdb. ... thrown - verify that you get the stack trace (e.g. avoid empty catch which results in quite failure). If ObjectDB throws an ... thrown later because the odb file is not found and a new empty one is created (accessing a database file that is embedded in a jar file ...

 
forum_thread

Selective merge/cascade of detatched entity

I'm having an issue with my application, and I'm hoping you guys will be able to help. Please forgive typos and obvious errors, I'm having to retype from a non-internet connected network. A contrived example is: #1 2012-11-16 15:20 I'm having an issue with my application, and I'm hoping you guys will be able to help. Please forgive typ ...

 
forum_thread

Insertion Speed Rate and Batch Load

1. I got about 10K inserts / second, is it normal? I would expect more than that, like close to 100K/second. I can definitely do 80K inserts/seconds on Oracle with batch insert on table with one primary key. 2. Is batch update/insert operation supported? I attached the files. ... EntityManager  in this scenario you have to empty it after commit : em. getTransaction ( ) . ... ) ; em. clear ( ) ; // empty the persistence context This is especially essential with no ...

 
release

2.3.5

... Fixed a NullPointerException in querying an empty database . Fixed a online backup file lock problem . ...