Home > Uncategorized > Unit testing JPA 2

Unit testing JPA 2

When you want to test JPA 2 (JPQL & Criteria), it can get pretty challenging. Here is nice post on testing JPA 2

Unit testing JPA 2

Categories: Uncategorized Tags:
  1. February 7th, 2011 at 14:39 | #1

    Try using JPA Unit – tool for testing your JPA code. It managas transaction, creates db connections, and entitymanager based on given persistence unit name, fills db with test-data. By default it requires zero configuration so its very easyto use

  1. No trackbacks yet.