Hi
pretty much cut and paste from the site.
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<configuration>
<hibernate>
<propertyFile>/src/main/resources/hibernate.properties</propertyFile>
</hibernate>
<outputDirectory>
<hbm2cfgxml>src/main/resources</hbm2cfgxml>
</outputDirectory>
</configuration>
</plugin>
Geoffrey De Smet wrote:
how did you tell the hibernate3 plugin where to find your
hibernate.properties?
Marc Dumontier wrote, On 2006-10-17 4:22 AM:
Hi,
I'm having trouble with the hibernate3 plugin for maven.
Trying to do a schema-export, but i get an SQLException ("No suitable
driver found")
I have mysql as a dependency
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>3.1.12</version>
</dependency>
here is my hibernate.properties:
hibernate.connection.username=jcid
hibernate.connection.password=jcid
hibernate.connection.url=jdbc:mysql://localhost:3306/jcid
hibernate.connection.driver_class=com.mysql.jdbc.Driver
hibernate.dialect=org.hibernate.dialect.MySQLDialect
hibernate.hbm2ddl.auto=update
Any help would be great, thanks
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email