Re: Using iBatis outside servlet container

2009-02-01 Thread Kai Grabfelder
dbcp or the built in SIMPLE >>>> db >>>> connection pool. >>>> Nathan >>>> >>>> On Fri, Jan 30, 2009 at 5:14 AM, charlie bird >>>> wrote: >>>> >>>> >>>>> I've got similar question >>>>>

Re: Using iBatis outside servlet container

2009-01-30 Thread Ian Zabel
Our unit tests run with everything in tomcat/lib included in the classpath. It's fine for our webapp, since we're not redistributing anything. I think those properties are specific to the environment, anyway. They'd most likely have to be changed for Kai's setup. Ian. On Fri, Jan 30, 2009 at 12:19

Re: Using iBatis outside servlet container

2009-01-30 Thread Larry Meadors
Wouldn't that require including tomcat (or part of it) with your application? Larry On Fri, Jan 30, 2009 at 10:10 AM, Ian Zabel wrote: > System.setProperty( Context.INITIAL_CONTEXT_FACTORY, > "org.apache.naming.java.javaURLContextFactory" );

Re: Using iBatis outside servlet container

2009-01-30 Thread Ian Zabel
> connection pool. >>> Nathan >>> >>> On Fri, Jan 30, 2009 at 5:14 AM, charlie bird >>> wrote: >>> >>> >>>> I've got similar question >>>> >>>> Has anyone done this sort of thing with c3p0? >>>

Re: Using iBatis outside servlet container

2009-01-30 Thread Kai Kousa
config? Thanks Charlie --- On Fri, 30/1/09, Jan Kriesten wrote: From: Jan Kriesten Subject: Re: Using iBatis outside servlet container To: user-java@ibatis.apache.org Date: Friday, 30 January, 2009, 9:43 AM Hi, What do I have to do in order to provide a data source

Re: Using iBatis outside servlet container

2009-01-30 Thread Larry Meadors
similar question >> >> Has anyone done this sort of thing with c3p0? >> Can I use the same datasource xml that would be used for servlet container >> config? >> >> Thanks >> >> Charlie >> >> --- On Fri, 30/1/09, Jan Kriesten wrote:

Re: Using iBatis outside servlet container

2009-01-30 Thread Nathan Maves
om: Jan Kriesten > > Subject: Re: Using iBatis outside servlet container > > To: user-java@ibatis.apache.org > > Date: Friday, 30 January, 2009, 9:43 AM > > Hi, > > > > > What do I have to do in order to provide a data source > > to iBatis? > > >

Re: Using iBatis outside servlet container

2009-01-30 Thread charlie bird
I've got similar question Has anyone done this sort of thing with c3p0? Can I use the same datasource xml that would be used for servlet container config? Thanks Charlie --- On Fri, 30/1/09, Jan Kriesten wrote: > From: Jan Kriesten > Subject: Re: Using iBatis outside servlet con

Re: Using iBatis outside servlet container

2009-01-30 Thread Jan Kriesten
Hi, > What do I have to do in order to provide a data source to iBatis? use ... in your sqlMapConfig. You're not bound to JNDI with iBATIS. Best regards, --- Jan.

Using iBatis outside servlet container

2009-01-30 Thread Kai Kousa
Hi! I'm developing some command line tools to support our web-app. I would like to use the same data-access layer(which uses iBatis) that the web-app already uses to access our database. What do I have to do in order to provide a data source to iBatis? I already know that I should create a M