See
- Using Stream Fields from ODBC
- Integer Codes for Data Types
- LONGVARCHAR = CLOB = %Stream.GlobalCharacter
If you run the following code, then the type of variables a and b in the generated class will be %Stream.GlobalCharacter
create table dc.test ( a LONGVARCHAR, b CLOB )
In addition, I'm no expert in JDBC but wit seems that LONGVARCHAR has a Maximum Length 32,700 characters in JDBC, not quite enough for an arbitrary stream.Max Size for LONGVAR(BINARY/CHAR) = 2147483647, for VAR(BINARY/CHAR) = 4096
PS: By the way, in DbVisualizer you can view all types supported by the InterSystems IRIS JDBC driver, their numeric codes, maximum sizes, and much more.
- Log in to post comments