DBUnit Insert Operation doesn't report trigger failures

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

DBUnit Insert Operation doesn't report trigger failures

Gluck, Janice

Hi All,

I am using dbunit 2.4.1 with Sybase 15 and junit 3

We perform an insert operation during set up.

It fails because of a trigger error (sent via "raiseerror")

But dbunit doesn't fail on the error.

Has anyone else run into this problem with dbunit and sybase?

Any suggestions on what to do?

Thanks,
Janice

"The sender believes that this E-mail and any attachments were free of any harmful and malicious code or defects when sent. The sender is not liable for any loss or damage arising in any way from this message or its attachments.  

Confidentiality Note:  This e-mail is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure.  Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, is prohibited.  If you have received this e-mail in error, please inform the sender, and destroy the original message and all copies."


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
dbunit-user mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/dbunit-user
Reply | Threaded
Open this post in threaded view
|

Re: DBUnit Insert Operation doesn't report trigger failures

ceiji
Did you fix this? I am getting the same problem with DbUnit and Sybase.

Anyone got any suggestions?

- Thanks.

Gluck, Janice wrote
Hi All,

I am using dbunit 2.4.1 with Sybase 15 and junit 3

We perform an insert operation during set up.

It fails because of a trigger error (sent via "raiseerror")

But dbunit doesn't fail on the error.

Has anyone else run into this problem with dbunit and sybase?

Any suggestions on what to do?

Thanks,
Janice

"The sender believes that this E-mail and any attachments were free of any harmful and malicious code or defects when sent. The sender is not liable for any loss or damage arising in any way from this message or its attachments.  

Confidentiality Note:  This e-mail is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure.  Dissemination, distribution or copying of this e-mail or the information herein by anyone other than the intended recipient, is prohibited.  If you have received this e-mail in error, please inform the sender, and destroy the original message and all copies."


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
dbunit-user mailing list
dbunit-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbunit-user