Re: Maven2+Hibernate3 Annotation Problem

2007-02-06 Thread lemon dumpling
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)

Re: Maven2+Hibernate3 Annotation Problem

2007-02-06 Thread Manos Batsis
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

RE: Maven2+Hibernate3 Annotation Problem

2007-02-06 Thread Johann Reyes
/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

Re: Maven2+Hibernate3 Annotation Problem

2007-02-06 Thread lemon dumpling
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

RE: Maven2+Hibernate3 Annotation Problem

2007-02-05 Thread Johann Reyes
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-

Re: Maven2+Hibernate3 Annotation Problem

2007-02-04 Thread Alejandro Scandroli
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

Re: Maven2+Hibernate3 Annotation Problem

2007-02-04 Thread 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