cancel
Showing results for 
Search instead for 
Did you mean: 

Handling JDBC Exception

Former Member
0 Kudos

Hi,

I would like to know how we can handle exceptions thrown from the database like "uniquekey constraint" , "database server down". etc. How can we handle it ? Do we have an option to use "Fault messages" for JDBC adapter? If so, how can be it be done using Fault message mapping?

Regards,

XA

Accepted Solutions (0)

Answers (1)

Answers (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

>

> I would like to know how we can handle exceptions thrown from the database like "uniquekey constraint" , "database server down". etc. How can we handle it ? Do we have an option to use "Fault messages" for JDBC adapter? If so, how can be it be done using Fault message mapping?

>

uniquekey constraint error issue with Data mostly so you have to make sure that data was correct, even you can change Table field types to avoid this.

Server Down--- Create a ALERTS for this, communictaion channel throws exception .

Regards,

Raj