Code example for RowSet

Methods: getMaxRows

0
	} 
    
	public int getRowCount() { 
		int count = 0;
		try { 
			count = rowSet.getMaxRows();
		} catch (Exception e) {
			e.printStackTrace();
		} 
		return count;
	} 
    
	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