-->
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: em.find() issue
PostPosted: Fri Oct 18, 2013 2:26 am 
Newbie

Joined: Tue Sep 17, 2013 9:28 pm
Posts: 1
I am using jboss-as-7.1.1.Final, hibernate 4.0 with Rest-easy framework. Issue is after persisting the record in DB immediately an update call is fired to update/insert child entity of the persisted object. So I am using em.find(record.class, primary key(long)) method to get the persisted parent record and checking null. If the parent record is not null then persisting into child record. It is working fine in local with minimal request. But when i do load testing the parent record is coming as null even though the parent object is present in DB.


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.