As per the JavaDoc, Connection.createArray() should raise 
a SQLFeatureNotSupportedException if the feature is not supported, and a 
SQLException for other errors such as if a database error occurs, the JDBC 
type is not appropriate for the typeName and the conversion is not 
supported, the typeName is null or this method is called on a closed 
connection.  H2 versions 1.4.190 and 1.4.191 tested.

This is important when one is attempting to code SQL-portable applications 
and needs to discover the functionality exposed by the underlying JDBC 
database.  Also, the SQLState value should be in the class "0A" (zero-A), 
but instead it's returned as "HYC00".

You should also endeavor to fix all the other instances of non-conformance 
in other methods, since DB feature discovery is an important part of the 
WORA model.

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to