From: SourceForge.net <no...@so...> - 2006-08-01 01:17:43
|
Bugs item #1115849, was opened at 2005-02-03 16:50 Message generated for change (Comment added) made by scooper You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497853&aid=1115849&group_id=61626 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: dbunit Group: None >Status: Open Resolution: Fixed Priority: 5 Submitted By: Stephen Cooper (scooper) Assigned to: Jeff Jensen (jeffjensen) Summary: [dbunit] Set autocommit to true Initial Comment: Not all JDBC drivers have autocommit = true as the default. DBUnit seems to require this. I'll be posting a similar bug to dbunit, but for now the most expedient solution for my problem is to patch maven-dbunit-plugin. Here's the diff: cvs diff src/main/net/sourceforge/mavenplugins/dbunit/DbUnitTool.java Index: src/main/net/sourceforge/mavenplugins/dbunit/DbUnitTool.java =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/dbunit/src/main/net/sourceforge/mavenplugins/dbunit/DbUnitTool.java,v retrieving revision 1.3 diff -r1.3 DbUnitTool.java 152a153 > jdbcConnection.setAutoCommit(true); 218c219 < } \ No newline at end of file --- > } ---------------------------------------------------------------------- >Comment By: Stephen Cooper (scooper) Date: 2006-07-31 19:17 Message: Logged In: YES user_id=452072 I stopped using maven and dbunit back in November. I won't be able to test this. Close it if you feel it works. ---------------------------------------------------------------------- Comment By: Jeff Jensen (jeffjensen) Date: 2006-07-30 15:32 Message: Logged In: YES user_id=498804 Thanks for reporting this (a long time ago! :-(. I have committed your change and published 1.8-snapshot. Please test and report your results here. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=497853&aid=1115849&group_id=61626 |