Update of /cvsroot/commonjava/commonjava-projects/commonjava-datasrc/src/test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8549/src/test
Added Files:
testpool.xml
Log Message:
added unit test for connection pool by itself, using hsqldb.
Isolated the ConnectionPool to allow for single-pool direct
instantiations, instead of always having to work through the
manager...also improved the user/password logic for
connection instantiation.
--- NEW FILE: testpool.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<test xmlns="opl:test" xmlns:p="opl:properties" xmlns:ds="opl:datasrc">
<sqlPool xmlns="opl:datasrc" name="testPool"
driver="org.hsqldb.jdbcDriver"
url="jdbc:hsqldb:testdb"
user="sa"/>
</test>
|