#2: support hibernate 4.  any further hibernate 3 support should be done in the hibernate 3 branch, and stay within the 1.2.x version