This is for the insert statment on [org.hibernate.SQL] insert into bms.ems_poll (ems_uuid, success, last_state, start_time, end_time) values (?, ?, ?, ?, ?)
if i try to insert it diretly on mysql console it works fine.
but in this case it shows [info] could not bind value '100007' to parameter: 1; Error; - nested throwable: statment and SQLException on connection .
[INFO]org.hibernate.type.StringType] could not bind value '100007' to parameter: 1; Error; - nested throwable:
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Problems with Session and transaction handling?
Read this:
http://hibernate.org/42.html
[code][/code]