src/share/classes/javax/sql/rowset/BaseRowSet.java
Print this page
*** 503,537 ****
* The <code>java.util.Map</code> object that contains entries mapping
* SQL type names to classes in the Java programming language for the
* custom mapping of user-defined types.
* @serial
*/
! private Map map;
/**
* A <code>Vector</code> object that holds the list of listeners
* that have registered with this <code>RowSet</code> object.
* @serial
*/
! private Vector listeners;
/**
* A <code>Vector</code> object that holds the parameters set
* for this <code>RowSet</code> object's current command.
* @serial
*/
! private Hashtable params; // could be transient?
/**
* Constructs a new <code>BaseRowSet</code> object initialized with
* a default <code>Vector</code> object for its <code>listeners</code>
* field. The other default values with which it is initialized are listed
* in Section 6.0 of the class comment for this class.
*/
public BaseRowSet() {
// allocate the listeners collection
! listeners = new Vector();
}
/**
* Performs the necessary internal configurations and initializations
* to allow any JDBC <code>RowSet</code> implementation to start using
--- 503,537 ----
* The <code>java.util.Map</code> object that contains entries mapping
* SQL type names to classes in the Java programming language for the
* custom mapping of user-defined types.
* @serial
*/
! private Map<String,Class<?>> map;
/**
* A <code>Vector</code> object that holds the list of listeners
* that have registered with this <code>RowSet</code> object.
* @serial
*/
! private Vector<RowSetListener> listeners;
/**
* A <code>Vector</code> object that holds the parameters set
* for this <code>RowSet</code> object's current command.
* @serial
*/
! private Hashtable<Integer, Object> params; // could be transient?
/**
* Constructs a new <code>BaseRowSet</code> object initialized with
* a default <code>Vector</code> object for its <code>listeners</code>
* field. The other default values with which it is initialized are listed
* in Section 6.0 of the class comment for this class.
*/
public BaseRowSet() {
// allocate the listeners collection
! listeners = new Vector<RowSetListener>();
}
/**
* Performs the necessary internal configurations and initializations
* to allow any JDBC <code>RowSet</code> implementation to start using
*** 540,550 ****
* has been instantiated to correctly initialize all parameters. This method
* <b>should</b> never be called by an application, but is called from with
* a <code>RowSet</code> implementation extending this class.
*/
protected void initParams() {
! params = new Hashtable();
}
//--------------------------------------------------------------------
// Events
//--------------------------------------------------------------------
--- 540,550 ----
* has been instantiated to correctly initialize all parameters. This method
* <b>should</b> never be called by an application, but is called from with
* a <code>RowSet</code> implementation extending this class.
*/
protected void initParams() {
! params = new Hashtable<Integer, Object>();
}
//--------------------------------------------------------------------
// Events
//--------------------------------------------------------------------