Code:
Hibernate: select max(nile_admin_id) from nile_admin
Hibernate: insert into nile_dev.nile_admin (current_date, is_active, password, salt_string, username, nile_admin_id) values (?, ?, ?, ?, ?, ?)
12:28:54,083 WARN [org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:77)] - SQL Error: 1064, SQLState: 42000
12:28:54,088 ERROR [org.hibernate.util.JDBCExceptionReporter.logExceptions(JDBCExceptionReporter.java:78)] - 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 'current_date, is_active, password, salt_string, username, nile_admin_id) values ' at line 1
12:28:54,101 ERROR [org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:301)] - Could not synchronize database state with session
org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
what is the problem?
thanks in Advance......