Allow configuration of metadata handler in dbunit-maven-plugin
--------------------------------------------------------------

                 Key: MOJO-1377
                 URL: http://jira.codehaus.org/browse/MOJO-1377
             Project: Mojo
          Issue Type: Improvement
          Components: dbunit
         Environment: OS X 10.5, MySql 5.0.82, maven 2.1.0, dbunit-maven-plugin 
1.0-beta-2
            Reporter: Andrew Gillies
         Attachments: patch.txt

I received an NoSuchColumnException running dbunit:operation stating that no 
column could be found that matched the data set I was trying to insert. Looking 
at the FAQ on the DbUnit site it suggested configuring the 
http://www.dbunit.org/properties/metadataHandler property to use 
org.dbunit.database.IMetadataHandler, but I can't see a way of doing this with 
the maven plugin.

I've created an updated version of AbstractDbUnitMojo.java that adds a 
'metadataHandlerName' property. It defaults to the DefaultMetadataHandler.

Would it be possible to add it to the real source ?


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to