Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
2.6.1
-
None
Description
org.mariadb.jdbc.internal.com.read.resultset.SelectResultSet#getMetadata always returns a MariaDbResultSetMetaData which is not updatable, which results in isReadOnly(int column) to always return true
JDBC state that https://docs.oracle.com/en/java/javase/11/docs/api/java.sql/java/sql/ResultSetMetaData.html#isReadOnly(int) Indicates whether the designated column is definitely not writable. Driver indicate that resultset not an updatable resultset and all its columns are readOnly.
Instead only effectively readOnly-columns should return true
PS: discussion leading to this Issue https://lists.launchpad.net/maria-discuss/msg05864.html