dcsimg

How can I obtain a vendor specific error code?

Yongfeng Xiao

Use the SQLException method getErrorCode:

public int getErrorCode()
Retrieves the vendor-specific exception code for this SQLException object.
Returns:
the vendor's error code