Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for change notification.
The following page has been changed by DavorHrg: http://wiki.apache.org/tapestry/Tapestry5HowToUseTapestryHibernate ------------------------------------------------------------------------------ #format wiki #language en - This is a very simple tutorial explaining the use of Tapestry-Hibernate module. You can find the official documentation here:http://tapestry.apache.org/tapestry5/tapestry-hibernate/conf.html + This is a very simple tutorial explaining the use of Tapestry-Hibernate module. You can find the official documentation here:http://tapestry.apache.org/tapestry5/tapestry-hibernate/conf.html [[BR]] + you can download example project (tested in Eclipse with mvneclipse) attachment:hb.zip First I will assume that you have properly set up Tapestry, Hibernate-core, Hibernate-Annotation, MySQL in your system. @@ -18, +19 @@ cd hb - mvn -Djetty.port=8080 jetty:run + mvn jetty:run }}} @@ -142, +143 @@ </session-factory> </hibernate-configuration> }}} - '''Note:''' for Intellij if you get error : "Could not parse configuration" try removing "<?xml.." line from config + '''Note:''' if you get error : "Could not parse configuration" try removing the whole first line "<?xml.." from config + '''Note:''' for Intellij IDEA user, if you encounter a notification that 'New Hibernate Facet detected', just choose 'Remove Hibernate and don't detect Hibernate Facets in module', this will make our tutorial simple. Try to compile and run the program, for running it's IDE specific, you need to configure something to run it under Tomcat. if everything is fine at this point, let's proceed to step 5 to use Tapestry-Hibernate feature --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
