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" <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] > > >