1. saveOrUpdateCopy and version field forum.hibernate.orgHi All - I'm trying to use saveOrUpdateCopy to propagate changes from a remote webapp into the db. This works nicely, except the version field is ignored in the sense that updates to version n should not be allowed if the db version != n. That is, during the update, if I use saveOrUpdate(), if the version field of my incoming ... |
2. Using a timestamp field without automatic versioning? forum.hibernate.orgHibernate version: Hibernate 2 Guys, I'd like to use a timestamp field without using automatic versioning. In other words, I have a need for a timestamp to be updated whenever anything happens to a particular object and its assocations. The |
3. How do I not update version field if no fields are changed? forum.hibernate.orgHi I seem to experience something similar... My stateless session EJB returns a Hibernate object just selected from the DB (no direct call to save or saveOrUpdate), just select via HQL. When it returns, it commits the txn that was started on hitting the EJB AND it updates the version number and ONLY the version number. This seems to break the ... |
4. how to increment the field vwith hibernate versioning forum.hibernate.orgNeed help with Hibernate? Read this first: http://www.hibernate.org/ForumMailingli ... AskForHelp Hibernate version:3.2.1 Mapping documents: |