Code example for ResultSet

Methods: firstgetLong

0
		pstmt.setString(1, (String) param);
	} 
 
	@Override 
	protected Object resultMapping(ResultSet rs) throws SQLException {
		if(rs.first())
			return rs.getLong(1);
		return 0; 
	} 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE