Code example for ResultSet

Methods: getMetaData

0
 
	@Override 
	public ResultSet getRslSet() throws SQLException {
		ResultSet rslSet = dbMgr.executeQuery(query);
		if(rslSet!=null)
			cols=rslSet.getMetaData().getColumnCount();
		return rslSet;
	} 
 
 
	public void setQuery(String query) {
		this.query = query;
	} 
 
 
	public String getQuery() {
		return query;
	} 
 
 
	public void setDbMgr(DBManager dbMgr) {