Hibernate 2.1beta5 validates not-null properties more thoroughly. For example, an application test case (which passed with 2.1beta4) fails thus:
Code:
java.lang.NullPointerException: not-null property references a null or transient value: manager
at net.sf.hibernate.impl.SessionImpl.nullifyTransientReferences([Ljava.lang.Object;[Lnet.sf.hibernate.type.Type;ZLjava.lang.Object;[Z[Ljava.lang.String;)V(SessionImpl.java:900)
at net.sf.hibernate.impl.SessionImpl.doSave(Ljava.lang.Object;Ljava.io.Serializable;Z)Ljava.io.Serializable;(SessionImpl.java:803)
at net.sf.hibernate.impl.SessionImpl.save(Ljava.lang.Object;)Ljava.io.Serializable;(SessionImpl.java:682)
etc...
Removing an erroneous not-null attribute from my mapping file yielded better results.