Minor clean-up for SQL text caching.
@@ -134,9 +134,6 @@ public class SQLServerPreparedStatement extends SQLServerStatement implements IS
return preparedStatementSQLMetadataCache.getIfPresent(initialSql);
}
- /** Cache entry for this prepared statement */
- public PreparedStatementMetadataSQLCacheItem metadataSQLCacheItem;
-
/** Add cache entry for prepared statement metadata*/
public void cachePreparedStatementSQLMetaData(String initialSql, PreparedStatementMetadataSQLCacheItem newItem) {
@@ -286,6 +283,7 @@ public class SQLServerPreparedStatement extends SQLServerStatement implements IS
* Find and intialize the statement parameters.
*
* @param sql
+ * SQL text to parse for number of parameters to intialize.
*/
/* L0 */ final void initParams(String sql) {
int nParams = 0;
@@ -302,7 +300,8 @@ public class SQLServerPreparedStatement extends SQLServerStatement implements IS
/**
* Intialize the statement parameters.
*
- * @param sql
+ * @param nParams
+ * Number of parameters to Intialize.
*/
/* L0 */ final void initParams(int nParams) {
inOutParam = new Parameter[nParams];
