1. hibernate versioning issuing update statment for no reason stackoverflow.comMy hibernate versioning is issuing an update statement for no apparent reason. In my BankAccount mapping file:
inthe AvailableBalance mapping file:
|
2. Problem updating version in JoinSubclassEntityPersister-NPE forum.hibernate.org |
3. Version updated on failed save? forum.hibernate.orgHibernate version: 2.1.7c Senario: The user creates a new 'estimate' the estimate's composite PK has the estimate number in it. The user is allowed to enter in the estimate number. If the user enters a number that is pre-existing they will recieve a duplicate key entry when they attempt to save. Yes, the transaction was rolled back and the session is ... |
4. hib updates view-hidden row regardless the version forum.hibernate.orgWe have a legacy db schema. To isolate our changes from actual tables we created a set of VIEWs. Then we map hibernate to VIEWs, and everything works fine, except one subtle concurrency scenario: "A deletes, B updates". We use optimistic concurrency with |
5. Updating version in Hibernate forum.hibernate.org |
6. Howto force a version update forum.hibernate.orgHibernate version: 3.2 Name and version of the database you are using: MySQL 5 Hi, I'd like to force an update on the version of an entity, even if no changes occurred. It seems like the LockMode FORCE does just this, but it also locks the entity pessimisticly, which I really don't want to. Is there a way to force a ... |
7. Updated to use latest version - now having problems forum.hibernate.orgIt had been a while since we updated the version of hibernate we are using. (We were using 3.2.) I downloaded 3.3, and got a big surprise: the logging changed I had to figure out the new logging. No problem - added the jars needed. Now using hibernate DOES NOT work. Calls to the database (using criteria) are not working. The ... |
8. Versioning: New record instead of update...Interception? forum.hibernate.orgI have a bit of a thorny problem. I am porting a music notation application I developed with hand-coded MySQL to Hibernate. The annotations, SQL-generation, etc. are working great, but I'm not sure how to approach a crucial part of the design. I am trying to create continuous persistence whereby all previous states of the object are persistent and easily queryable. ... |