Custom DataTypeFactory & JndiBasedDBTestCase

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Custom DataTypeFactory & JndiBasedDBTestCase

Benoit PESTY

The problem is that I don't extend from JndiDatabaseTester, I get the JndiDatabaseTester instance thru the "newDatabaseTester" method of the JndiBasedDBTestCase.

Anyway, what I've done is a bit ugly but it seems to work.




Hi there,

you could override method getConnection() of JndiDatabaseTester and set the DatabaseConfig values there.



Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox. Learn more.
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
dbunit-user mailing list
[hidden email]