-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: unit testing my hibernate-based library
PostPosted: Thu Jul 31, 2008 5:31 pm 
Newbie

Joined: Wed Sep 27, 2006 2:26 pm
Posts: 6
I hope someone here can help with this, this might be a little off-topic.

I currently have a library that is based on hibernate. I would like to write unit tests for this library and use an embedded database to hold data that is inserted/updated/deleted..etc during the tests. The production database that I use is postgres and I am using sequences to generate primary keys (this is one of the problems with embedded databases).

Does anyone know of an embedded database that I can use with hibernate that allows me to take my code as-is and get it to work with an embedded database?

Thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.