From: <man...@oz...> - 2003-04-28 18:10:06
|
Hi Cal, Please post the full stack trace. This will give us valuable information=20 about the method calls flow. What are the data types of your columns? The name of your class suggests=20 that you are using some kind of BLOB or VARBINARY to store pictures.=20 Manuel "Holman, Cal" <Cal...@pa...> Sent by: dbu...@li... 04/26/2003 09:54 PM Please respond to dbunit-user =20 To: <dbu...@li...> cc:=20 Subject: [dbunit-user] Problem with MySql I just upgraded to the JDBC Driver for MySql 4.0.12 from a 2.0.8 version=20 to mysql-connector-java-3.0.7. And now I am getting a [junit] 8302=20 [main] FATAL dao.TestScrapbookPictureDAO - Problem :=20 java.lang.UnsupportedOperationException when I execute the following code: = =20 SQLManager manager =3D SQLManager.getInstance(); connection =3D manager.requestConnection("Test"); =20 IDatabaseConnection dbConnection =3D new=20 DatabaseConnection(connection); =20 IDataSet theDataset =3D new FlatXmlDataSet(new=20 java.io.File("C:/Dev/ant/testdata/picture=5FcategoryData.xml")); =20 DatabaseOperation.CLEAN=5FINSERT.execute(dbConnection,=20 theDataset); <=DF Error occurs here =20 All statements prior to the CLEAN=5FINSERT work fine. Using DBUnit from AN= T=20 works just fine. And the code worked fine with the older JDBC Driver. Any = ideas on where to look? Thanks =20 Cal=20 =20 http://www.calandva.com/ Last update 01/26/03 =20 + Email: cal...@we... =20 =20 Learn more about Paymentech's payment processing services at=20 www.paymentech.com THIS MESSAGE IS CONFIDENTIAL. This e-mail message and any attachments are=20 proprietary and confidential information intended only for the use of the=20 recipient(s) named above. If you are not the intended recipient, you may=20 not print, distribute, or copy this message or any attachments. If you=20 have received this communication in error, please notify the sender by=20 return e-mail and delete this message and any attachments from your=20 computer. |