Hi community!

I'm new in this list.  I have a quick question:  I was checking
HiveConnection and noted that createStatement(int resultSetType, int
resultSetConcurrency) is not supported.  Any reason to not implement
it?  I checked prepareStatement(String sql, int resultSetType, int
resultSetConcurrency) and it is implemented the same way it is
prepareStatement(String sql), that is, discarding resultSetType and
resultSetConcurrency values.  Can we have the same for
createStatement?  It could also be validated that type is
TYPE_FORWARD_ONLY and concurrency level is CONCUR_READ_ONLY to proceed
since these are the default values as per JDBC spec.

I'm particular interested in this change since I'm using hive-jdbc
inside a framework that uses createStatement(int resultSetType, int
resultSetConcurrency).  I can submit the change if you agree.

Regards,
Esteban

Reply via email to