-->
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: Cactus, hibernateSession on server don't remove objects
PostPosted: Mon Jan 22, 2007 5:26 am 
Newbie

Joined: Mon Jan 22, 2007 4:43 am
Posts: 1
Hello everybody!
I need help.
I use cactus test for server-side testing (ejb).
I use hibernate and ejb beans, mysql db in my project.
When I am testing ejb local interface on server I need to remove objects created during tests from database. Remove method in local interface is deprecated and is absent (for projects requirements).
I run Hibernate Session (on server in testMethod in Test class extends ServletTestCase) and want use method session.delete(Object).
I can find entities used session.get(class,id) but I don't use delete method.
Why?
Method don't throw exceptions and don't removed record form database.


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.