[jboss-user] [JBoss Seam] - Issues with seam generate-entities and mysql

agwego do-not-reply at jboss.com
Mon Mar 5 00:59:40 EST 2007


I'm using jboss-seam-1.2.0.PATCH1, jboss-4.0.5.GA, mysql-connector-java-5.0.5, Mysql 5.0.27-community-nt
I'm a noob wrt to Seam.

The code appears to be generated fine, but when accessing the tables form the generated app a '.' dot is being prepended to all the table names which of course fails.

For the edit form:
Exception during request processing: java.sql.BatchUpdateException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.users (Valid, Passwo...
  | 

For the list page:
Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.users users0_ limit 25' at line 1



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4024975#4024975

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4024975



More information about the jboss-user mailing list