[CJ-dev] commonjava-projects/commonjava-datasrc/src/test testpool.xml,NONE,1.1
Brought to you by:
johnqueso
From: <joh...@co...> - 2004-01-31 06:07:11
|
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> |