]
Steven Hawkins updated TEIID-3360:
----------------------------------
Fix Version/s: 9.1
(was: 9.0)
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
Assignee: Steven Hawkins
Fix For: 9.1
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.