I'm new to Hibernate and I've been following the tutorial. I at
http://docs.jboss.org/hibernate/core/3.5/reference/en-US/html_single/#tutorial-firstapp-workingpersistence and I keep getting an error when trying to run the command in that segment.
here is the line that I am executing:
Code:
mvn exec:java -Dexec.mainClass="org.hibernate.tutorial.EventManager" -Dexec.args="store"
And here is the error:

I've narrowed it down to the line of code in the EventManager.java in the createAndStoreEvent() method. after the session object is created
Code:
Session session = HibernateUtil.getSessionFactory().getCurrentSession();
the next line
Code:
session.beginTransaction
returns the following error:
Code:
Cannot open connection: No suitable driver found for jdbc:hsqldb:mem:testdb
I have followed the tutorial 100% except for when creating the
Code:
pom.xml
the tutorial left out the versions for the dependencies and I cannot figure out where I am messing up. I have tried several versions of Maven to make sure that wasnt the problem and have looked for different settings for Hibernate to see if that is the problem and I consistently get that error.