In JDBC specification there is no way to get names of CallableStatement's parameters. But in com.sap.dbtech.jdbc.translators.DBTechTranslator there is this information. Is it possible to add into com.sap.dbtech.jdbc.ParameterMetaDataSapDB the following method?

 public String getParameterName(int index) throws java.sql.SQLException {
   return this.findParamInfo(index).getColumnName();
 }

Of course this method is not following JDBC specification and it is possible to get parameter's name by findParamInfo(index).getColumnName() because it is public but getParameterName is better variant.

--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to