-->
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.  [ 1 post ] 
Author Message
 Post subject: Updation failed :: in the table having no Primary key
PostPosted: Mon Oct 16, 2006 1:28 pm 
Newbie

Joined: Mon Oct 16, 2006 1:13 pm
Posts: 1
After begining the transaction for a particular session the Selection query is coming properly in hibernet. but incase of updation, when trying to commit the transaction instead of update query is not coming. We are able to fetch data but unable to update.

From a public function we are calling three private functions.
Each one of them having different functionalities but main goal is the updation of data.
After writing commit statement it is displaying the transaction has been commited. But in true sense it is not.And the table we are trying to update is not having any primary key.


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

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.