The code in
Hibernate2 -r v21branch got worse (from my point of view) a few days ago, and
has stayed worse. Perhaps y'all knew this already, in which case I
apologize for this interruption (and trust you'll press the 'Delete' key
now). If
you'd prefer I posted such trivia elsewhere (or not at all), please let me
know. I aim to help.
By 'worse' I mean
that the test case test4.zip attached to http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-367 fails
thus:
ERROR [Scan] testScan failed
java.lang.NullPointerException
at com.docent.lms.entities.tests.hibernate.Scan.scan(Scan.java:63)
at com.docent.lms.entities.tests.hibernate.Scan.testScan(Scan.java:40)
at com.docent.lms.entities.tests.hibernate.Scan.main(Scan.java:22)
...
because association.getId() returned null, I guess. Prior versions
of Hibernate2 (since 2.1beta3b) didn't do
this.