Arnaud Brunet commented on Bug HHH-7357

In the case of ORA-01013, the error is really a TimeoutException.
You can see the correspondence between the code and the error SQLState Oracle in oracle/jdbc/driver/errorMap.xml in ojdb6.jar.

Here an extract for sqlState = 72 000 :

<error oraErrorFrom="1013" sqlState="72000" sqlException="SQLTIMEOUTEXCEPTION" comment="User canceled operation" />
<error oraErrorFrom="17089" sqlState="72000" sqlException="SQLRECOVERABLEEXCEPTION" comment="Driver internal error" />
<error oraErrorFrom="1000" oraErrorTo="1099" sqlState="72000" sqlException="SQLEXCEPTION" comment="SQL execute phase error" />
<error oraErrorFrom="1402" oraErrorTo="1478" sqlState="72000" sqlException="SQLEXCEPTION" comment="SQL execute phase error" />
<error oraErrorFrom="1481" oraErrorTo="1489" sqlState="72000" sqlException="SQLEXCEPTION" comment="SQL execute phase error" />
<error oraErrorFrom="1494" oraErrorTo="1499" sqlState="72000" sqlException="SQLEXCEPTION" comment="SQL execute phase error" />
<error oraErrorFrom="1500" oraErrorTo="1699" sqlState="72000" sqlException="SQLEXCEPTION" comment="SQL execute phase error" />
<error oraErrorFrom="2400" oraErrorTo="2419" sqlState="72000" sqlException="SQLEXCEPTION" comment="SQL execute phase error" />
<error oraErrorFrom="2425" oraErrorTo="2449" sqlState="72000" sqlException="SQLEXCEPTION" comment="SQL execute phase error" />
<error oraErrorFrom="4060" oraErrorTo="4069" sqlState="72000" sqlException="SQLEXCEPTION" comment="SQL execute phase error" />
<error oraErrorFrom="8000" oraErrorTo="8190" sqlState="72000" sqlException="SQLEXCEPTION" comment="SQL execute phase error" />
<error oraErrorFrom="12000" oraErrorTo="12019" sqlState="72000" sqlException="SQLEXCEPTION" comment="SQL execute phase error" />
<error oraErrorFrom="12300" oraErrorTo="12499" sqlState="72000" sqlException="SQLEXCEPTION" comment="SQL execute phase error" />
<error oraErrorFrom="12700" oraErrorTo="21999" sqlState="72000" sqlException="SQLEXCEPTION" comment=" SQL execute phase error" />

As you can see SQLState 72000 usually corresponds to a generic SQLException.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira