-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: Could not synchronization with database (SQLServer 2000) SP4
PostPosted: Mon May 07, 2007 7:01 pm 
Newbie

Joined: Mon May 07, 2007 6:35 pm
Posts: 2
Hello

I working with Hibernate 3.1, and I have a little problem, the database (SQLServer 2000) had the parameter NO COUNT set to true.
When I try to save a persistent object, occurs an error, batch return row count 0 when expected 1

The versiĆ³n of database is SQLServer 2000 Standar Edittion SP4 on window NT 4

This error occurs when I execute the command session.flush().

If the parameter is set to false, the error stop.

I need some help.

thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 07, 2007 7:41 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
Hibernate is using the count to verify the action that has been requested. Your have made it work correctly by changing the setting so a update count is returned. I do not understand, you need help for what exactly?


Top
 Profile  
 
 Post subject: Parameter No Count is set
PostPosted: Tue May 08, 2007 9:50 am 
Newbie

Joined: Mon May 07, 2007 6:35 pm
Posts: 2
This parameter could not change in the database. I answer if is possible to work with hibernate.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.