This is a demo of hooking up Mayfly to
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
- asm-attrs.jar (1.5.3, as needed by hibernate)
- asm.jar (1.5.3, as needed by hibernate)
- asm-util-1.5.3.jar (I didn't find this distributed with hibernate,
so I got it from