getParameterMetaData method is not working with WebSphere Application Server data source
 Technote (FAQ)
 
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.

 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > DB Connections/Connection Pooling
Operating system(s): HP-UX
Software version: 4.0.4
Software edition:
Reference #: 1181900
IBM Group: Software Group
Modified date: Oct 13, 2004