This is a demo of hooking up Mayfly to Hibernate.

To browse the demo, just look at the Java code (very short):

To run the demo, put the above files in a project together with the required jars from hibernate core and hibernate annotations. Then run the tests in FooTest. For me (Hibernate 3.2.5.ga and Hibernate Annotations3.3.0 GA) the jars were:

See also