-->
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.  [ 2 posts ] 
Author Message
 Post subject: AbstractTransactionalDataSourceSpringContextTests vs HSQLDB
PostPosted: Thu Jun 08, 2006 12:50 am 
Beginner
Beginner

Joined: Fri Jun 02, 2006 1:23 am
Posts: 27
I am a hibernate + Oracle user and I can't decide which is the better way of unit testing my DAO layer,

1. AbstractTransactionalDataSourceSpringContextTests + Oracle DB
2. HSQLDB

Thoughts anyone?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 09, 2006 6:43 am 
Beginner
Beginner

Joined: Sat Mar 04, 2006 1:07 am
Posts: 27
I used to use HSQLDB a lot. It is easy to start, easy to manipulate the data (in the script file) and doesn't take a lot of my notebook's resources. I found, hoever, the sequence generation harder to set up than Oracle.

I also used to have a full install of Oracle 10g, but it ran like a dog and slowed the pc to a halt.

I am now running Oracle 10g Express and it performs well, without draining the machine. Since our production is Oracle, I'd prefer to run the unit tests against Oracle anyway, to avoid any surprises.

With AbstractTransactionalDataSourceSpringContextTests, one can finish the test with the method setComplete() to leave the data in anyway if required.

Regards
Alan


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.