Access rule violations should use a SQL state starting with '42' according to
the SQL standard.
-----------------------------------------------------------------------------------------------
Key: DERBY-1828
URL: http://issues.apache.org/jira/browse/DERBY-1828
Project: Derby
Issue Type: Bug
Components: JDBC
Affects Versions: 10.2.1.0, 10.3.0.0
Reporter: Daniel John Debrunner
The SQL standard says that SQL State '42' is for "syntax error or access
rule violation" (section 23.1).
There is a question of what JDBC 4.0 exception should be thrown for a access
rule violation,
JDBC 4.0 maps '42' to SQLSyntaxErrorException which seems wrong for an access
rule.
Message thread:
http://mail-archives.apache.org/mod_mbox/db-derby-dev/200609.mbox/[EMAIL
PROTECTED]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira