Code example for RowSet

Methods: getMaxRows

0
		return count;
	} 
    
	public int getRowCount() { 
		try { 
			return rowSet.getMaxRows();
		} catch (Exception ex) {
			logger.severe(ex.getMessage());
			return 0; 
		} 
	} 
    
	protected Vector getKeyForItem(int rowIndex) {
		return getKeyForItem(rowIndex,true);
	} 
    
	protected Vector getKeyForItem(int rowIndex,boolean includeNotKeyColumn) {
		Vector<Object> key = new Vector<Object>();
		for(int i=0;i<getColumnCount();i++) {
			if(!includeNotKeyColumn) {
				// Add only if key