[CONJ-645] Column PROCEDURE_TYPE of result set of getProcedures() throws exception Created: 2018-09-11  Updated: 2021-05-17  Resolved: 2021-05-17

Status: Closed
Project: MariaDB Connector/J
Component/s: JDBC 4.2 compatibility
Affects Version/s: 2.2.1
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Vidyasagar Mundroy Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: JDBC, getProcedure, getShort, procedure
Environment:

JDBC driver 2.2.1, MariaDB server 10.1.34-MariaDB-0ubuntu0.18.04.1, Ubuntu 18.4


Attachments: Java Source File MdbBugProcResult8thColFails.java    

 Description   

Retrieval of value of column PROCEDURE_TYPE from result set of call to JDBC driver method getProcedures() of DatabaseMetaData throws the following error:

error code = 1264
error message = Out of range value for column 'REMARKS' : value

By the by, the column "PROCEDURE_TYPE" is 8th column in the result set and 7th column is "REMARKS"!

You can reproduce the problem by running attached program as following:

java MdbBugProcResult8thColFails <dbname> <userid> <password>

The user id you pass must have privilege to create procedures in the database.



 Comments   
Comment by Diego Dupin [ 2021-05-17 ]

corrected with https://jira.mariadb.org/browse/CONJ-817

Generated at Thu Feb 08 03:17:16 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.