Scalable Database Server, HiRDB Version 8 UAP Development Guide

[Contents][Index][Back][Next]

17.7.19 setLONGVARBINARY_Access

(a) Function

Sets the method of accessing data of the LONGVARBINARY type (a JDBC SQL type corresponding to HiRDB's BLOB and BINARY data types).

(b) Format
 
public void setLONGVARBINARY_Access ( String mode ) throws SQLException
 
(c) Arguments

String mode
Specifies the method of accessing data of the LONGVARBINARY type (a JDBC SQL type corresponding to HiRDB's BLOB and BINARY data types).
For this method, the value specified in the argument is not case sensitive.
REAL
Access the data with real data.
LOCATOR
Access the data using HiRDB's locator facility.
If the null value is specified, the current data access method that had been set is invalidated, and the setting is returned to its initial status.
(d) Return value

None.

(e) Functional detail

Sets the method for accessing data of the LONGVARBINARY type (a JDBC SQL type corresponding to HiRDB's BLOB and BINARY data types). The default value when this method is not called is REAL.

Setting a value with this method is equivalent to setting the LONGVARBINARY_ACCESS property, which is shown in 17.2.2(2) User properties.

(f) Exceptions

If a value other than REAL or LOCATOR is specified in the mode argument, this method throws a java.sql.SQLException.

(g) Notes

See 17.2.2(2)(q) Notes about specification of LONGVARBINARY_ACCESS.