eskatos's thoughts

Posts Tagged ‘derby

Unit test JPA Entities with in-memory Derby/JavaDB

with 2 comments

HibernateAbout two years ago I blogged about using HSQLDB to unit test JPA entities. This year, Apache released a Derby version allowing you to use an in memory backend. As I use Derby in software I write, being able to run unit tests on the very same SGBD but in memory is a real gift.

For reference, here is a link to my previous post titled Unit test JPA Entities with in-memory database. What follows is just the very same method applied to Derby.

Read the rest of this entry »

Written by eskatos

October 26, 2009 at 5:52 pm

Posted in Code, HOWTOs

Tagged with , , ,