• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB3Unit Testing Capabilities

 
Nuwan Bnadara
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can some one tell me is it possible to execute em.persist() and em.merge() methods through Ejb3Unit.
 
Marcelo Zambiasi
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes... it's possible, but you must have an active transaction to change the "database" of EJB3Unit. Something like that:
 
Nuwan Bnadara
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic