Handle select statment with DBunit

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

Handle select statment with DBunit

This post was updated on .

I would like to know how it is possible to set MySQL DataBase as a reference database for test, but to select data from XML Flat File generated DataSet  ?

At the moment when I call method containing a select statment, I give a "Connection" object as parameter, and this connection object seems to be my real Database connection instead of my "Mock" DataSet.

Could you tell me where I can find documentation about that ?

Please could you provide any kind of answer, just to be sure someone read this.