anybody knows how to solve the problem below?
javax.servlet.ServletException:
net.sf.hibernate.exception.GenericJDBCException: could not update:
[eg.User#2]
at org.apache.struts.action.RequestProcessor.processException
(RequestProcessor.java:516)
at
org.apache.struts.action.RequestProcessor.processActionPerform
(RequestProcessor.java:423)
at org.apache.struts.action.RequestProcessor.process
(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process
(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet
(ActionServlet.java:397)
...
root cause
java.lang.RuntimeException:
net.sf.hibernate.exception.GenericJDBCException: could not update:
[eg.User#2]
at eg.UserService.updateUser(UserService.java:148)
at eg.Action1.execute(Action1.java:34)
at
org.apache.struts.action.RequestProcessor.processActionPerform
(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process
(RequestProcessor.java:226)
...
Caused by: net.sf.hibernate.exception.GenericJDBCException: could
not update: [eg.User#2]
at
net.sf.hibernate.exception.SQLStateConverter.handledNonSpecificExcept
ion(SQLStateConverter.java:80)
at net.sf.hibernate.exception.SQLStateConverter.convert
(SQLStateConverter.java:69)
at net.sf.hibernate.exception.JDBCExceptionHelper.convert
(JDBCExceptionHelper.java:29)
at net.sf.hibernate.persister.AbstractEntityPersister.convert
(AbstractEntityPersister.java:1331)
at net.sf.hibernate.persister.EntityPersister.update
(EntityPersister.java:681)
at net.sf.hibernate.persister.EntityPersister.update
(EntityPersister.java:621)
at net.sf.hibernate.impl.ScheduledUpdate.execute
(ScheduledUpdate.java:52)
at net.sf.hibernate.impl.SessionImpl.execute
(SessionImpl.java:2449)
at net.sf.hibernate.impl.SessionImpl.executeAll
(SessionImpl.java:2435)
at net.sf.hibernate.impl.SessionImpl.execute
(SessionImpl.java:2393)
at net.sf.hibernate.impl.SessionImpl.flush
(SessionImpl.java:2261)
at eg.UserService.updateUser(UserService.java:143)
... 37 more
Caused by: java.sql.SQLException: [Microsoft][ODBC Microsoft Access
Driver]Optional feature not implemented
at sun.jdbc.odbc.JdbcOdbc.createSQLException
(JdbcOdbc.java:6879)
at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7036)
at sun.jdbc.odbc.JdbcOdbc.SQLBindInParameterBigint
(JdbcOdbc.java:1179)
at sun.jdbc.odbc.JdbcOdbcPreparedStatement.setLong
(JdbcOdbcPreparedStatement.java:592)
at net.sf.hibernate.type.LongType.set(LongType.java:35)
at net.sf.hibernate.type.NullableType.nullSafeSet
(NullableType.java:48)
at net.sf.hibernate.type.NullableType.nullSafeSet
(NullableType.java:35)
at net.sf.hibernate.persister.EntityPersister.dehydrate
(EntityPersister.java:393)
at net.sf.hibernate.persister.EntityPersister.update
(EntityPersister.java:642)
... 44 more