Author: bandaram Date: Thu Jun 2 14:08:17 2005 New Revision: 179657 URL: http://svn.apache.org/viewcvs?rev=179657&view=rev Log: Derby-322: Remove DataSource API to set resultSetHoldability. This is not standard JDBC API and hence should be removed. Submitted by Satheesh Bandaram (satheesh@sourcery.org) Modified: incubator/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientBaseDataSource.java Modified: incubator/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientBaseDataSource.java URL: http://svn.apache.org/viewcvs/incubator/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientBaseDataSource.java?rev=179657&r1=179656&r2=179657&view=diff ============================================================================== --- incubator/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientBaseDataSource.java (original) +++ incubator/derby/code/trunk/java/client/org/apache/derby/jdbc/ClientBaseDataSource.java Thu Jun 2 14:08:17 2005 @@ -162,21 +162,8 @@ return parseString(userString, propertyDefault_user); } - /** - * To Derby, the default is HOLD_CURSORS_OVER_COMMIT - */ - protected int resultSetHoldability = propertyNotSet_resultSetHoldability; // 0 means not set. public final static int HOLD_CURSORS_OVER_COMMIT = 1; // this matches jdbc 3 ResultSet.HOLD_CURSORS_OVER_COMMIT public final static int CLOSE_CURSORS_AT_COMMIT = 2; // this matches jdbc 3 ResultSet.CLOSE_CURSORS_AT_COMMIT - public final static int propertyNotSet_resultSetHoldability = 0; - - synchronized public void setResultSetHoldability(int resultSetHoldability) { - this.resultSetHoldability = resultSetHoldability; - } - - public int getResultSetHoldability() { - return this.resultSetHoldability; - } public final static int NOT_SET = 0; // 0 means not set. public final static int YES = 1; // ="yes" as property string