-
Java EE 6 : Testing JPA entities (2 messages)
- Posted by: Daniel Rubio
- Posted on: October 12 2008 03:37 EDT
You don't have to wait for the final release of Java EE 6 to become available to try it out, many of the technologies slated to form part of the standard are already available. This first in a series of posts by Antonio Goncalves walks you through the process of testing JPA entities using the JPA 2.0 reference implementation(Eclipse Link), using the databases MySQL and Derby, as well as Maven, JUnit and DbUnit. Read Antonio's post on 'Testing Java EE 6 components : JPA 2.0 With EclipseLink' http://www.antoniogoncalves.org/xwiki/bin/view/Article/TestingJPAThreaded Messages (2)
- Than you very much. by Habib Ornekol on October 14 2008 13:15 EDT
- JPA-Unit by tomasz krzyzak on February 07 2011 14:46 EST
-
Than you very much.[ Go to top ]
- Posted by: Habib Ornekol
- Posted on: October 14 2008 13:15 EDT
- in response to Daniel Rubio
Thank you very much. This first in a series of posts by Antonio Goncalves walks you through the process of testing jpa entities using the jpa 2.0 reference implementation.Thanks. ilahi -
JPA-Unit[ Go to top ]
- Posted by: tomasz krzyzak
- Posted on: February 07 2011 14:46 EST
- in response to Daniel Rubio
Try using JPA-Unit - tool for testing your JPA code. It
- managas transaction,
- creates db connections,
- entitymanager based on given persistence unit name,
- fills db with test-data.
By default it requires zero configuration so its very easyto use.