• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to unit test a JPA module?

 
Simon Joseph Aquilina
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have created a simple JPA module which I am going to use as part of a JEE solution. I am using Maven to compile and package this module. In theory I am going to use this JPA module to persist objects on a Derby database. My problem is that I can not understand how I can unit test this module!

Does anyone know how I can unit test a JPA module? I don't mind if in Maven or not at the moment.

Regards,
Simon J.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic