About update

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 ...

 
forum_thread

Failed to read the value of field using reflection (error 363)

I have encountered this error from one of the many servers hosting my application. Other servers didn't encounter errors of this kind and running without problems. My system provider said that nearly all of the servers are VM-based including this one which encountered this error. It is the 'youngest' server in deployment. I can get more information as you require. As the application developer, I am perplexed as I have use JPA and ObjectDB for years now. I could use your assistance in overcoming this problem. Thank you. ----- ... 10:42 I wish to update that the issue has been resolved.   We have ... We also reverted the ObjectDB JAR to [2.3.7_08] after the update. If you need more information, I'll do my best to provide ...

 
forum_thread

OneToMany and cascade delete problem

Hi, I don't really know if this is a bug or maybe model that I make is bad. I have a problem with with two different classes with OneToMany relation to one, shared class. For example (first class): @Entity public static class Store { @OneToMany(targetEntity = Offer.class, mappedBy = "store") private List<Offer> offers; } second class: ... To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

OneToMany Bidirectional Relationship Problem

Hi, I'm pretty certain I'm doing something stupid. I've read everything I can find on OneToMany in the forum and in the JPA docs, but I can't get it to work with 2.4.0_04. I've attached a testcase. I want the owning object present in the child, (in the example, Team to be in Player). Thanks Paul. ... The application has to update both sides of a bidirectional relationship. Your test passes ... To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

OptimisticLockException

Have read read the documentation on optimistic locks, still not sure how to deal with these exceptions: [ObjectDB 2.2.5_04] javax.persistence.RollbackException Failed to commit transaction: Optimistic lock failed for object   ... would be very inefficient. But you can do that update explicitly in your application - e.g. by invoking refresh . You may ... not help either, given #3 above, ie: it seems like last update wins, and changes can be overridden. So it seems that the best ...

 
release

2.3.0

... ). 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 ...

 
forum_thread

Optimistic lock failed

Hi, I frequently see exceptions during development such as com.objectdb.o._RollbackException: Failed to commit transaction: Optimistic lock failed for object com.example.MyEntity#3 (object has version 1 instead of 3) Could you please explain what this means, and what I can do about it. Thanks you, Carl     ... in next versions. Update:  The configuration above is now documented and part of ... To post a reply and/or subscribe to update notifications - please login . ...

 
api-jpa

javax.persistence.Query

Interface used to control query execution.(Interface of JPA)

 
forum_thread

Managing software release cycles.

How do you manage software release cycles with objectDB? For example we might have different installation of a given web application, and we might need to introduce new fields with default values or to change something in the database "structure".  How can we apply the update script without downloading the entire DB file? Are there any command line tools like sqlPlus to connect to a DB and execute queries / scripts? ... the database "structure".  How can we apply the update script without downloading the entire DB file? Are there any ... Database Schema Evolution Schema Update As you can see most schema changes are either fully ...

 
release

2.4.7

... when there is no MAC address. Fixed an update query error message on an attempt to update a collection ( issue #173 ). Fixed a ... ). Completed missing documentation (e.g. UPDATE & DELETE queries). Fixed memory leak issues. ...