Hibernate version 2.1.6
Microsoft SQL Server 2000
When I try to update a user that I have in the database, I receive this error that I don't know what does it means. I hope you can help me to solve it. Thanks a lot.
11:26:03,156 WARN JDBCExceptionReporter:38 - SQL Error: 8152, SQLState: 22001 11:26:03,156 ERROR JDBCExceptionReporter:46 - Les donnÚes cha¯ne ou binaires ser ont tronquÚes. 11:26:03,156 ERROR JDBCExceptionReporter:38 - could not update: [com.k_buy.accor .dbobject.User#32] com.jnetdirect.jsql.x: Les donnÚes cha¯ne ou binaires seront tronquÚes. at com.jnetdirect.jsql.x.a(Unknown Source) at com.jnetdirect.jsql.aw.a(Unknown Source) at com.jnetdirect.jsql.ah.n(Unknown Source) at com.jnetdirect.jsql.ah.new(Unknown Source) at com.jnetdirect.jsql.ah.int(Unknown Source) at com.jnetdirect.jsql.ar.executeUpdate(Unknown Source) at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatche r.java:22) at net.sf.hibernate.persister.EntityPersister.update(EntityPersister.jav a:689) at net.sf.hibernate.persister.EntityPersister.update(EntityPersister.jav a:642) at net.sf.hibernate.impl.ScheduledUpdate.execute(ScheduledUpdate.java:52 ) at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2414) at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2368) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2236) at com.k_buy.accor.servlet.UserServlet.processRequest(UserServlet.java:1 34) at com.k_buy.accor.servlet.GenericServlet.doPost(GenericServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet .java:96) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:1 35) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246 ) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java: 164) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:534) 11:26:03,156 ERROR SessionImpl:2375 - Could not synchronize database state with session net.sf.hibernate.JDBCException: could not update: [com.k_buy.accor.dbobject.User #32] at net.sf.hibernate.persister.EntityPersister.update(EntityPersister.jav a:707) at net.sf.hibernate.persister.EntityPersister.update(EntityPersister.jav a:642) at net.sf.hibernate.impl.ScheduledUpdate.execute(ScheduledUpdate.java:52 ) at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2414) at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2368) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2236) at com.k_buy.accor.servlet.UserServlet.processRequest(UserServlet.java:1 34) at com.k_buy.accor.servlet.GenericServlet.doPost(GenericServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet .java:96) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:1 35) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246 ) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java: 164) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:534) Caused by: com.jnetdirect.jsql.x: Les donnÚes cha¯ne ou binaires seront tronquÚe s. at com.jnetdirect.jsql.x.a(Unknown Source) at com.jnetdirect.jsql.aw.a(Unknown Source) at com.jnetdirect.jsql.ah.n(Unknown Source) at com.jnetdirect.jsql.ah.new(Unknown Source) at com.jnetdirect.jsql.ah.int(Unknown Source) at com.jnetdirect.jsql.ar.executeUpdate(Unknown Source) at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatche r.java:22) at net.sf.hibernate.persister.EntityPersister.update(EntityPersister.jav a:689) ... 16 more net.sf.hibernate.JDBCException: could not update: [com.k_buy.accor.dbobject.User #32] at net.sf.hibernate.persister.EntityPersister.update(EntityPersister.jav a:707) at net.sf.hibernate.persister.EntityPersister.update(EntityPersister.jav a:642) at net.sf.hibernate.impl.ScheduledUpdate.execute(ScheduledUpdate.java:52 ) at net.sf.hibernate.impl.SessionImpl.executeAll(SessionImpl.java:2414) at net.sf.hibernate.impl.SessionImpl.execute(SessionImpl.java:2368) at net.sf.hibernate.impl.SessionImpl.flush(SessionImpl.java:2236) at com.k_buy.accor.servlet.UserServlet.processRequest(UserServlet.java:1 34) at com.k_buy.accor.servlet.GenericServlet.doPost(GenericServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.caucho.server.http.FilterChainServlet.doFilter(FilterChainServlet .java:96) at com.caucho.server.http.Invocation.service(Invocation.java:315) at com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:1 35) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:246 ) at com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java: 164) at com.caucho.server.TcpConnection.run(TcpConnection.java:139) at java.lang.Thread.run(Thread.java:534) Caused by: com.jnetdirect.jsql.x: Les donnÚes cha¯ne ou binaires seront tronquÚe s. at com.jnetdirect.jsql.x.a(Unknown Source) at com.jnetdirect.jsql.aw.a(Unknown Source) at com.jnetdirect.jsql.ah.n(Unknown Source) at com.jnetdirect.jsql.ah.new(Unknown Source) at com.jnetdirect.jsql.ah.int(Unknown Source) at com.jnetdirect.jsql.ar.executeUpdate(Unknown Source) at net.sf.hibernate.impl.NonBatchingBatcher.addToBatch(NonBatchingBatche r.java:22) at net.sf.hibernate.persister.EntityPersister.update(EntityPersister.jav a:689) ... 16 more
_________________ Ger - Learning to Live
|