Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: HibernateTools-3.2.0.beta6.zip
Eclipse Verison : Eclipse SDK Version: 3.2.0 Build id: M20060629-1905
Full stack trace of any exception that occurs:
Error within Debug UI:
java.lang.InvocationTargetException
What I have done:
I want to generate *.java files from an excisting MySql 5.x database and follow the instructions under
http://www.hibernate.org/hib_docs/tools ... _tools.pdf
=> the wizard works fine and produced the config file :
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.password">kenny</property>
<property name="hibernate.connection.url">jdbc:mysql://127.0.0.1:3306/Kenny</property>
<property name="hibernate.connection.username">kenny</property>
<property name="hibernate.default_catalog">Kenny</property>
<property name="hibernate.default_schema">Kenny</property>
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
</session-factory>
</hibernate-configuration>
=> and the stack trace is produced after starting the hibernate code generation with the kenny konfiguration from eclipse plugin menu
What is going wrong ? Ant jar ? Hibernate jar ? Commons logging jar ?
I do not use Jboos, it is a tomcat project but i have included the jboss.jar files into classpath....