Hi Johann,
Yes, I tried that thing but it always throws no suitable driver exception:
[ERROR] SchemaExport - schema export unsuccessful java.sql.SQLException: No
sui
table driverjava.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection(DriverManager.java:545)
build
extensions
extension
groupIdmysql-connector-java/groupId
artifactIdmysql-connector-java/artifactId
version5.0.4/version
/extension
/extensions
hth,
Manos
Quoting lemon dumpling [EMAIL PROTECTED]:
Hi Johann,
Yes, I tried that thing but it
/configuration
/plugin
Regards
Johann Reyes
-Original Message-
From: lemon dumpling [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 06, 2007 8:29 AM
To: Maven Users List
Subject: Re: Maven2+Hibernate3 Annotation Problem
Hi Johann,
Yes, I tried that thing but it always throws no suitable
Thanks for everyone's help! Finally made it work!
Cheers
On 2/7/07, Manos Batsis [EMAIL PROTECTED] wrote:
build
extensions
extension
groupIdmysql-connector-java/groupId
artifactIdmysql-connector-java/artifactId
version5.0.4/version
/extension
Hello
First you need to set up the element outputfilename as seen here:
http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/examples/s
chema_output.html
Also you need to include the annotated classes in your hibernate.cfg.xml
file
Regards
Johann Reyes
-Original Message-
Hi
It looks good to me. Are you getting any errors?
Try adding your property file:
eg.
propertyfilesrc/main/resources/hibernate.properties/propertyfile
You can also try:
jdk5true/jdk5
ejb3true/ejb3
Alejandro.
On 2/4/07, lemon dumpling
I don't see the file getting created, as well as the table binding...
On 2/4/07, Alejandro Scandroli [EMAIL PROTECTED] wrote:
Hi
It looks good to me. Are you getting any errors?
Try adding your property file:
eg.
propertyfilesrc/main/resources/hibernate.properties/propertyfile
You can also