For me, the annotations seem to be easier and much more readable than Xdoclet tags. I started with the hibernate reference (it has an extra chapter for Hibernate-specific annotations), and got productive within 1 or 2 days:
http://www.hibernate.org/hib_docs/annotations/reference/en/html/ HTH and kind regards, Tobias -----Ursprüngliche Nachricht----- Von: syg6 [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 4. Juli 2007 13:51 An: [email protected] Betreff: [appfuse-user] Hibernate Relationships tutorial for Appfuse 2? Hello everyone and happy 4th! I was just curious if there are any plans to make a tutorial for Hibernate Relationships in Appfuse 2.x. I used Appfuse 1.9 (I think) about a year and a half ago and know that I had serious issues with one-to-many, many-to-many, and many-to-many-with-composite-id relationships. I wound up hand-hacking my hibernate.cfg file, eliminating XDoclet from the equation. I don't remember how I got it to work in the end, but I do remember that it wasn't pretty, was far from elegant, and was extremely painful. >From what I've seen of Appfuse 2: 1. It kicks @ss 2. It no longer uses XDoclet (shudder) and instead uses JPA Annotations to do Hibernate mappings. It would be cool to see a tutorial similar to the old Weblog tutorial, but using JPA Annotations. I guess it would be very similar to the old tutorial, and I have looked at the linked OnJava article "An Introduction to Hibernate 3 Annotations", but it doesn't go into much detail. Anyone? Bueller? Thanks, Bob -- View this message in context: http://www.nabble.com/Hibernate-Relationships-tutorial-for-Appfuse-2--tf4024000s2369.html#a11429546 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
