[jboss-user] [JBoss/Spring Integration] - Re: Problem persisting data using Spring + Hibernate JPA

alesj do-not-reply at jboss.com
Sun Mar 25 06:54:57 EDT 2007


"suneetshah" wrote : 
  | Caused by: 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 '.service (STATUS, SERVICE_NAME, LOCATION_IP_ADDRESS, COMPANY_OWNER_ID, START_DAT' at line 1
  | 	at com.mysql.jdbc.PreparedStatement.executeBatch(PreparedStatement.java:896)
  | 	at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
  | 	at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
  | 	... 37 more
  | 
  | ----------Generated SQL:----------------------
  | Hibernate: insert into mysql.mysql.service (STATUS, SERVICE_NAME, LOCATION_IP_ADDRESS, COMPANY_OWNER_ID, START_DATE, END_DATE, LICENSE_KEY, SERVICE_TYPE, PARENT_SERVICE_ID, ROOT_RESOURCE_ID, ACCESS_CONTROL_MODEL, PARAM1, PARAM2, PARAM3, PARAM4, PARAM5, SERVICE_ID) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)

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

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



More information about the jboss-user mailing list