Oracle 5.0 Reference Manual page 2093

Table of Contents

Advertisement

5-0-Compat
useDirectRowUnpack=false
clusterBase
autoReconnect=true
failOverReadOnly=false
roundRobinLoadBalance=true
coldFusion
useDynamicCharsetInfo=false
alwaysSendSetIsolation=false
useLocalSessionState=true
autoReconnect=true
fullDebug
profileSQL=true
gatherPerMetrics=true
useUsageAdvisor=true
logSlowQueries=true
explainSlowQueries=true
maxPerformance
cachePrepStmts=true
cacheCallableStmts=true
cacheServerConfiguration=true
useLocalSessionState=true
elideSetAutoCommits=true
alwaysSendSetIsolation=false
enableQueryTimeouts=false
solarisMaxPerformance
useUnbufferedInput=false
useReadAheadInput=false
maintainTimeStats=false
20.3.5.2. JDBC API Implementation Notes
MySQL Connector/J passes all of the tests in the publicly available version of Sun's JDBC compliance
test suite. This section gives details on a interface-by-interface level about implementation decisions
that might affect how you code applications with MySQL Connector/J. The JDBC specification is
vague about how certain functionality should be implemented, or the specification enables leeway in
implementation.
• BLOB
Starting with Connector/J version 3.1.0, you can emulate BLOBs with locators by adding the
property
emulateLocators=true
loading the actual BLOB data until you retrieve the other data and then use retrieval methods
(getInputStream(), getBytes(), and so forth) on the BLOB data stream.
You must use a column alias with the value of the column to the actual name of the BLOB, for
example:
SELECT id, 'data' as blob_data from blobtable
You must also follow these rules:
• The
SELECT
• The
SELECT
name.
Connector/J (JDBC) Reference
to your JDBC URL. Using this method, the driver will delay
must reference only one table. The table must have a
must alias the original BLOB column name, specified as a string, to an alternate
2073
primary
key.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents