Hi ,


chenj wrote:
D:\chenj\eclipseWorkspace\circprj>mvn -e
+ Error stacktraces are turned on
<snip>
org.codehaus.mojo.dbunit.OperationMojo.execute(OperationMojo.java:101)
        ... 18 more
The "18 more" suggests this is Maven's output - you need to look at your log files in your target/surefire-reports directory to see the full stack trace and that should give you a better clue as to the cause of the problem.


Embedded error: chongqing_jbzl_1207 made me confused
it seems that , sth wrong when insert data.
now i have empty table created.

i do google sth and use following config
I'm not sure what you mean by "sth".

I have successfully run mvn dbunit:operation on an Oracle 10g database, but it took me a lot of trial and error to get the data formats right in my sample-data.xml file, especially for dates and times. The following link details the default date formats: http://dbunit.sourceforge.net/faq.html#dateformat , and the paragraph following describes how to change the defaults and the example specifically shows how to specify an Oracle "data type factory". Unfortunately, the example uses java code to change the factory and I never explored if it was possible to do this via a property in the pom.xml file. I simply changed my date/time data in the sample-data.xml file. If that's your problem, let us know and I'll dig up the date/time formats that worked for me.

Cheers
Rob Hills
Waikiki, Western Australia


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to