]
Steven Hawkins updated TEIID-3360:
----------------------------------
Fix Version/s: 12.x
(was: 11.x)
Provide an option to virtualize source exceptions
-------------------------------------------------
Key: TEIID-3360
URL:
https://issues.jboss.org/browse/TEIID-3360
Project: Teiid
Issue Type: Enhancement
Components: Query Engine
Reporter: Steven Hawkins
Priority: Major
Fix For: 12.x
Currently we'll pass the source exception along with the Teiid exception. And from
source sql exceptions we'll also rely the sql state/code. When connecting to
databases of different types it would be best to return a common set of codes.
There is exception mapping logic in Hibernate that we could reuse, but this could apply
to the non-jdbc sources such that a predictable code will seen by Teiid clients.