-->
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.  [ 3 posts ] 
Author Message
 Post subject: Exporting/Importing records for unit tests
PostPosted: Mon Jun 19, 2006 5:43 am 
Newbie

Joined: Mon Jun 19, 2006 5:35 am
Posts: 14
[b]Hibernate version:[/b]

3.1.2

[b]Mapping documents:[/b]

Hibernate Annotations (3.1.8 beta) are used

[b]Actual Question[/b]

Hi,

In case of issues I want to be able to export a subset of the production database and import the data into the test system (which is a "clean" database instance without any data) so that I can try to reproduce the issue in a controlled environment. Also the exported data can be used for regression testing.

Is that already possible with current Hibernate tools ? I'm not fuzzy about the data format, SQL commands or XML would be fine.

Moving to the latest releases of HIbernate / Hibernate annotations would be fine also.[/b]


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 19, 2006 8:24 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 7:19 pm
Posts: 2364
Location: Brisbane, Australia
I tend to use dbUnit for this area. There are lots of options though.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 20, 2006 7:23 am 
Newbie

Joined: Mon Jun 19, 2006 5:35 am
Posts: 14
[quote="david"]I tend to use dbUnit for this area. There are lots of options though.[/quote]

thanks, I'll give it a try.


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

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.