jdbc driver interprets VARBINARY as VARCHAR

Bug #1541523 reported by Mili on 2016-02-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Undecided
Marcus Eriksson

Bug Description

1. created a table TEST with column D of type VARBINARY

2. From Mathematica

stmt = javaobj@prepareStatement["Select D from TEST"]
JavaObject[org.drizzle.jdbc.DrizzlePreparedStatement]

metadata = stmt@getMetaData[]
JavaObject[org.drizzle.jdbc.DrizzleResultSetMetaData]

metadata@getColumnType[1]
12

12 is type VARCHAR and not VARBINARY
https://docs.oracle.com/javase/7/docs/api/constant-values.html#java.sql.Types.BIT

Changed in drizzle:
assignee: nobody → Marcus Eriksson (krummas)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers