About update

forum_thread

How to delete M2M relationship?

In user model class I have the following: public class User implements Serializable { ... logger. error ( "Error making database call for update timeslot status" ) ; ex. printStackTrace ( ... from the database (you can use clear or refresh to enforce update). ObjectDB Support ObjectDB - Fast Object ...

 
api-jpa

javax.persistence.CacheStoreMode

Used as the value of the javax.persistence.cache.storeMode property to specify the behavior when data is read from the database and when data is committed into the database.(Enum of JPA)

 
issue

new objects not available in mappedBy associations

Given a mappedBy association: e.g: @OneToMany(mappedBy="department") public List <Employee> employees;   creating a new mapped class, e.g. new Employee, won't result in this object being available in the same transaction: ie: for (Employee e : department.employee) won't include the new object, even if it is persisted, and even if the transaction is committed??  ... normal behavior - according to JPA the application has to update both sides in order to have a synchronized bi-directional relationship. ... object after the transaction is committed (or after the update and before commit, if your EntityManager is set to use ...

 
forum_thread

Spring Transactions (@Transactional) within ObjectDB

Hi, We are using OBD with Spring and transactions are managed by Spring. Our spring service interfaces take list of objects and persist them and the interface service is marked as @Transactional. We iterate through the list apply business validations and persist them one by one in a loop. ( Using Spring Data) We have noticed that in a loop 1st object is persisted and then we if lookup the same object we don't get it back on lookup. ... To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

how to persist an object twice into two diff. collections of two diff. classes

ok my problem,    i persist a Squad Object into a Cup Object at the beginning, after i have to create and persist a competition object in which i have to put some of the already created/persisted squads. the final method looks like that: ... line. No need to call persist in order to update an already managed entity object. See the Updating Entity ... To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

Incremental online backup

Hello, Are there plans for ObjectDB to handle incremental online backups, where a backup does not create a whole new copy of the DB, but "updates" an existing backup? This behavior would make backups much faster as only a portion of the data would need to be copied. Such a feature would also allow to perform backups more often, several times a day, in order to always have a backup that's closer to the current state of the DB. Thank you ... this would work is the incremental backup would not just update and replace the previous backup, but keep the diff from the previous ... this would work is the incremental backup would not just update and replace the previous backup, but keep the diff from the previous ...

 
release

2.3.7

... ). Completed missing documentation (e.g. UPDATE & DELETE queries). Fixed memory leak issues. ... and Explorer About dialog boxes. Fixed an UPDATE/DELETE query bug in client-server mode. Fixed an ...

 
issue

InternalException

I'm getting a new InternalException (see below). No repeatable example as yet but will work on that and let you know as soon as we have one. If there's anything in the exception which could help us narrow down the problem please let me know. ... Load an object from the database Update the object Commit the transaction, storing the updates. ... & closed for each action (load, remove, etc). When an update has occurred the actions are now: Open a new ...

 
issue

Pessimistic lock timeout - blocks indefinitely

I've attached a simple test which creates an object then kicks off several threads which each try to update the object. I'm using a pessimistic lock with timeout as follows: ... an object then kicks off several threads which each try to update the object. I'm using a pessimistic lock with timeout as follows: ... ) ; One thread manages to do its update but the others remain blocked (for longer than 5000ms at least - I ...

 
release

2.3.1

... ). Completed missing documentation (e.g. UPDATE & DELETE queries). Fixed memory leak issues. ... and Explorer About dialog boxes. Fixed an UPDATE/DELETE query bug in client-server mode. Fixed an ...