Description of problem: Hibernate3 quickstart should be ideally removed, or at least there should be a warning that using Hibernate 3 is not supported on EAP 6. It should be moved to community JBoss AS.
This quickstart was provided mainly to show the differences between Hibernate 3 and Hibernate 4. Hibernate 3 is not supported, but unfortunately some Seam applications from prior releases may not be able to easily upgrade to Hibernate 4.x. Please see this section in the Migration Guide: https://access.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.1/html-single/Migration_Guide/index.html I will clarify this in the README for this quickstart.
I changed the opening paragraph from: This is a simple JSF 2.0 example based on the hibernate4 quickstart. Its purpose is to demonstrate how you can use Hibernate 3 in your application. to: Note: Hibernate 3.x is not a supported configuration in JBoss Enterprise Application Platform 6 or JBoss AS 7. The sole purpose of this quickstart is to help you understand the changes needed to move your application from Hibernate 3.x to Hibernate 4. This quickstart has the same functionality as the hibernate4 quickstart but uses the Hibernate 3 libraries. Compare this quickstart to the hibernate4 quickstart to see the code and class differences between Hibernate 3 and Hibernate 4. Does that sound better?
Issued pull: https://github.com/jboss-jdf/jboss-as-quickstart/pull/607
Fix is in this commit: https://github.com/jboss-jdf/jboss-as-quickstart/commit/4c9f4eb12b9cced200f635e61309103105d49d1a
The fixed file is here: https://github.com/jboss-developer/jboss-eap-quickstarts/blob/master/hibernate3/README.md
Verified on EAP 6.2.0 ER5.1