|
Problem |
getParameterMetaData method returns exception when the
connection is created through a WebSphere® Application Server data source;
however, there is no problem when the connection is created using
DriverManager. |
|
Cause |
The getParameterMetaData is supported in JDK 1.4.1 with
the JDBC™ 3.0 API. WebSphere Application Server Connection Manager in all
V4.0, V5.0 and V5.1 releases supports only the JDBC 2.0 API and Standard
Extension. |
|
Solution |
If the JDBC Driver supports the JDBC 3.0 API, use
DriverManager to obtain the connection to the database.
Using DriverManager does not take advantage of WebSphere Application
Server connection pooling.
|
|
|
|
|
|
|