ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Jenkins <krisajenk...@yahoo.co.uk>
Subject Re: Database Connection without Datasource
Date Tue, 01 Mar 2005 18:38:37 GMT
I'm pretty sure dataSource is mandatory (after all, you've got to have 
some kind of source for your data!).  Whenever I've wanted to do what 
you describe, I've just used <dataSource type="SIMPLE"> and set 
<property name="Pool.MaximumActiveConnections" value="1"/>

HTH,
Kris

>  
>
> Hi,
>
>  
>
> Is there a way to specify connection properties in xml file to create 
> a single connection (no conn. Pool) instead of using datasource? Lets say
>
> my application runs once per day. It creates a connection does some 
> processing and ends. Datasource
>
> in this case is not a right choice.
>
>  
>
> thanks
>


-- 
Kris Jenkins
Email:  kris@jenkster.com
Blog:   http://cafe.jenkster.com/
Wiki:   http://wiki.jenkster.com/



Mime
View raw message