<datasource name="ids"
factory-class="com.ibatis.db.sqlmap.datasource.SimpleDataSourceFactory" default="true">
<property name="JDBC.Driver" value="org.postgresql.Driver"/>
<property name="JDBC.ConnectionURL" value="jdbc:postgresql://localhost:5432/bp?autoReconnect=true"/>
<property name="JDBC.Username" value="bpuser"/>
<property name="JDBC.Password" value="changeme"/>
</datasource>
aboove is a sample iBatis pool. I think that was your question. From there, it is just standard iBatis.
.V
Peyathevar, Santhi {PBG} wrote:
All:
1.I am trying to use IBatis for running some SQL
from simple java code.
2.using DbcpDataSourceFactory
3.It connects to the database but the result is null
Can anybody help?
Santhi
_______________________________________________ MVC-Programmers mailing list [EMAIL PROTECTED] http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers
_______________________________________________ MVC-Programmers mailing list [EMAIL PROTECTED] http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers