i decided to stick to the example in the tutorial and ive kept the application outside of tomcat for the moment.
its MySQL im trying to get running.
When i try to run a query i get the following error.
Exception: The user must supply a JDBC connection
This is my hibernate.properties file.
Code:
hibernate.connection.username=test123
hibernate.connection.password=test123
hibernate.connection.url=jdbc:mysql://localhost:3306/tutorial?autoReconnect=true
hibernate.connection.driver_class=com.mysql.jdbc.Driver
hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect
hibernate.connection.pool_size = 20
hibernate.statement_cache.size = 6
hibernate.show_sql = true
the hibernate.connection.url seems to be correct as i extracted the files into the relative folders just to be on the safe side although its giving me the error above about a jdbc connection but i think the problem may be here.
Code:
hibernate.connection.url=jdbc:mysql://localhost:3306/tutorial?
the name of my database is "tutorial". is the right syntax for a MySQL database?
thanks again for the help