-->
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: Extra update after a read
PostPosted: Wed Mar 12, 2008 12:27 pm 
Newbie

Joined: Thu Feb 09, 2006 8:22 am
Posts: 2
Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp

Hibernate version:
3.1.rc2

Mapping documents:
<hibernate-mapping>
<class name="com.drkw.stregister.bm.StructuredDeal" table="tblStructuredDeal" optimistic-lock="none" select-before-update="true" >
some extra irrelevent mappings here
<set name="reviewApprovals" table="tblTradeReviewApproval" cascade="all-delete-orphan" order-by="approvalNumber desc, approvedOn desc">
<key column="stdId" not-null="true" />
<one-to-many class="com.drkw.stregister.bm.TradeReviewApproval" />
</set>
</class>
</hibernate-mapping>

Name and version of the database you are using:
Sybase


I'm fairly new to Hibernate and just noticed something odd in our logs. After doing a retrieve of the StructuredDeal object and consequently the TradeReviewApproval objects, then displaying the data on a JSP, there is also extra unecessary update of the StructuredDeal and all the TradeReviewApprovals

Any ideas what could be causing this?



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.