jQuery in Action, 3rd edition
The moose likes EJB and other Java EE Technologies and the fly likes manually call unsetEntityContext? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "manually call unsetEntityContext?" Watch "manually call unsetEntityContext?" New topic

manually call unsetEntityContext?

yik yang

Joined: May 30, 2002
Posts: 6
Hi, then can i know how to manually call unsetEntityContext? I dont want to call ejbRemove but my ejbRemove will delete the actual data in database.
What i want is to manually destroy the entity object in memory. So can i call unsetEntityContext? And how to call it?
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8927

You can manually call the unsetEntityContext method but this will not destroy the bean from memory. You can try reducing the enity bean pool size using admin console. I havent tried this.

I agree. Here's the link: http://aspose.com/file-tools
subject: manually call unsetEntityContext?
jQuery in Action, 3rd edition