Thank you Niels, but I would like configure the database connection in
sqlmap-config.xml. Because we ship our application with tomcat it would be
easier if we could configure ibatis to use naming-factory-dbcp.jar that is
always there.

Zsolt


>-----Original Message-----
>From: Niels Beekman [mailto:[EMAIL PROTECTED]
>Sent: Friday, October 21, 2005 9:16 AM
>To: [email protected]
>Subject: RE: How to use tomcat's naming-factory-dbcp.jar
>
>You should reference the datasources defined in Tomcat using JNDI, this
>can be found in the documentation.
>
>Niels
>
>-----Original Message-----
>From: Zsolt [mailto:[EMAIL PROTECTED]
>Sent: vrijdag 21 oktober 2005 9:15
>To: [email protected]
>Subject: How to use tomcat's naming-factory-dbcp.jar
>
>Hi,
>
>I use tc-5.5.12 and that is shipped with naming-factory-dbcp.jar. It
>looks
>like it has new class names such as:
>org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory
>
>How do I have to configure sqlmap-config.xml to use this library?
>
>Zsolt
>
>


Reply via email to