This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Testing and the fly likes EJB3Unit Testing Capabilities Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "EJB3Unit Testing Capabilities" Watch "EJB3Unit Testing Capabilities" New topic
Author

EJB3Unit Testing Capabilities

Nuwan Bnadara
Greenhorn

Joined: Mar 05, 2009
Posts: 4
Can some one tell me is it possible to execute em.persist() and em.merge() methods through Ejb3Unit.
Marcelo Zambiasi
Greenhorn

Joined: Feb 27, 2009
Posts: 8
Yes... it's possible, but you must have an active transaction to change the "database" of EJB3Unit. Something like that:
Nuwan Bnadara
Greenhorn

Joined: Mar 05, 2009
Posts: 4
Marcelo Zambiasi wrote:Yes... it's possible, but you must have an active transaction to change the "database" of EJB3Unit. Something like that:


Hi,

Thank you very much. I've managed to do lot with EJB3Unit.

NUwan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB3Unit Testing Capabilities
 
It's not a secret anymore!