As Hibernate now requires folks to create test cases for their issues, it is adamant that people can create a test case easily. The attached project has everything set up to quickly create a test case: a maven pom and a test case that sets up HSQLDB and Hibernate.
This project is intended for inclusion with Hibernate. I here by grant the Hibernate project this code under both the LGPL 2.1 license and the ASL 2.0 license.
Thanks Martijn Dashorst. I found this useful.
Minor point that we should be using the file header adopted throughout the rest of Hibernate projects.