Code example for ResultSetMetaData

Methods: getColumnCount

0
		PreparedDBUtil s = new PreparedDBUtil();
		try { 
			s.preparedSelect("select * from tableinfo where 1 != 1",0,10);
			s.executePrepared();
			ResultSetMetaData meta = s.getMeta();
			meta.getColumnCount();
			 
		} catch (SQLException e) {
			// TODO Auto-generated catch block 
			e.printStackTrace();
		} 
		 
	} 
 
}