I had the same exception with schemaupdate after upgrading to hibernate annotations 3 beat 2 (from beta 1) and hibernate 3.0.5 (from 3.0.3).
After a quick look into the jdk javadoc...
Quote:
Thrown if an application tries to access or modify a specified field of an object, and that object no longer has that field.
Normally, this error is caught by the compiler; this error can only occur at run time if the definition of a class has incompatibly changed.
...and into org.hibernate.cfg.Configuration CVS Resource History...
Quote:
Add support for SqlResultSetMapping
... and afterwards a version tag v305, v304 - it was clear that the new version 3.0.5 wasn't in the classpath. A quick check of the file timestamp from the two hibernate jars showed me that forgot to replace the main hibernate3.jar. After copying it to its location in the lib folder, everything went smoothly with the schema update.
Perhaps you have another old hibernate version somewhere in your classpath? It seems that with beta 2 you have to run at least hibernate 3.0.4...
bye
Michael