Quote:
Actually, I will have to do this for most of my entities.
Then write a generic method which takes Object ;)
Quote:
I'm just curious...where can I see Hibernate 3 in CVS?
Hibernate2 module, v22branch
Quote:
are you accepting patches for 2.1.2? I would like to submit a fix for a null pointer exception in AbstractEntityPersister.java. It happens when calling getCurrentPersistentState. Line 1249 calls getVersionType() to set the version field in the PreparedStatement, but it is making the assumption that the object is versioned. If the obect is not versioned, a NPE is thrown. All that has to be done is to check to make sure that the object is versioned (same way that is done in lock(), line 1188).
Nasty! Please submit a patch to JIRA. TIA