• 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.
 
Die Fledermaus does not fear such a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!