[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Update fail. Expected one affected row. What does it mea

mkierdel do-not-reply at jboss.com
Tue Aug 29 04:48:39 EDT 2006


In practical way. 
This exception can be caused by the triggers on the table, which you want to update. 
I had that problem on: jboss/tomcat + mssqlServer2K.
It helped when I put 'SET NOCOUNT ON' clause in trigger.


  | CREATE TRIGGER [ON_INSERT_SOMETHING] ON dbo.kurs 
  | FOR INSERT, UPDATE
  | AS
  | SET NOCOUNT ON
  | ....
  | 

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

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



More information about the jboss-user mailing list