About modified

release

2.1.1

Release date: 2011-03-10 Download (3.89 MB) Binary:  objectdb-2.1.1.zip You should start by following a  tutorial or reading the manual ...

 
tutorial

Step 3: Define a Spring DAO Component

Explains how to define a JPA DAO component (bean) in a NetBeans Spring MVC JPA web application project. Operations on the database will be performed by an instance of a Data Access Object (DAO) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest packa ...

 
forum_thread

Schema migration - long to String

Hi, I need to change field type in our model from long to String. After changing filed type in our model and repairing database with doctor, most of our entities is gone. Doctor puts some errors on console: ... write (after making them dirty) all the instances of that modified type immediately after the change (and before running the Doctor). ...

 
release

2.1.0

Release date: 2011-02-23 Download (3.89 MB) Binary:  objectdb-2.1.0.zip You should start by following a  tutorial or reading the manual ...

 
manual

JPA Lifecycle Events

Explains how to use JPA lifecycle events (client side triggers) with callback methods and listener classes.... Page... - when an entity is identified as modified by the EntityManager . @PostUpdate ...

 
tutorial

Step 3: Define a Spring DAO Component

Explains how to define a JPA DAO component (bean) in an Eclipse Spring MVC JPA web application project. Operations on the database will be performed by an instance of a Data Access Object (DAO) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest packa ...

 
forum_thread

PostUpdate collection null

Hello, I have an entity MyEntity with a collection attribute myCollection. I have an EntityListener on MyEntity with a @PostUpdate method. When I try to access myCollection from the PostUpdate method, this collection is null. If I try to access the collection from the PreUpdate method, the collection is populated. The collection is eagerly fetched. public class MyEntity {     @OneToMany(fetch=FetchType.EAGER)     private ArrayList<OtherEntity> myCollection = new ArrayList<OtherEntity>(); #1 2014-07-13 15:42 Hello, I have an entity MyEntity with a collection attribute myCollection. I have an EntityListener on My ...

 
forum_thread

Heap Limit reached although the option 'objectdb.temp.page-file' is activated

We persisted many entities in a transaction, unfortunately the heap reached its limit at any time although the flush and the GC were invoked regularly. The attachments show the memory heap dump of the biggest consumer. Which objects you would actually expect to remove by the garbage collector? Why the option objectdb.temp.page-file does not perform?   Options: <temp path="$temp" threshold="512mb" /> ... objectdb.temp.page-file , which may work and move modified database pages (after flush) to a temporary file, but is not related ...

 
forum_thread

Performance issues on aggregate query

we are using this aggregate query to collect some data: ... Boolean inSlots = true; @Index public Date modified; @Index public String nodePath; @Index public ...

 
forum_thread

Replication error on slave restart

I'm trying to enable replication on master server that was running with "recovery" enabled previously. I have copied database file to slave... and so on by manual. It worked fine. But if I restart slave server: #1 2014-03-01 15:53 I'm trying to enable replication on master server that was running with "recovery" enabled previously. ...