ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Lamey <cla...@localmatters.com>
Subject Re: iBatis using Tomcat JNDI, Now DB unit Tests???
Date Tue, 01 Apr 2008 15:20:40 GMT
I use Spring's SimpleNamingContextBuilder to create my own JNDI DataSources
outside of a container.

You might also want to look at DBUnit and hsqldb.

On 4/1/08 9:09 AM, "Tom Henricksen" <TomH@A-t-g.com> wrote:

> We have been using the Simple datasource in iBatis and had unit test
> that would tap into this for DB testing.  Now we are moving to using the
> container for Datasource and I am unsure of how to do DB testing without
> starting up the container (tomcat on developer's machine).  How do
> people do DB unit test in this situation?  I am open to any ideas.
> 
>  
> 
> Thanks,
> 
>  
> 
> Tom Henricksen
> Consultant
> Advanced Technologies Group, Inc.
> 
> 1601 48th Street, Suite 220
> 
> West Des Moines, IA 50265
> 
> *  Office:     (515) 221-9344 Ext 138
> 
> *  Fax:         (515) 221-1266
> * Email:     tomh@a-t-g.com
> 
>  
> 


Mime
View raw message