Code example for CallableStatement

Methods: getString

0
	} 
 
	@Override 
	public Object getResult(CallableStatement cs, int columnIndex) throws SQLException 
	{ 
		return GUID.generate(cs.getString(columnIndex));
	} 
 
    @Override 
    public Object getResult(ResultSet rs, int columnIndex) throws SQLException
    { 
        return GUID.generate(rs.getString(columnIndex));
    } 
 
	@Override 
	public void setParameter(PreparedStatement ps, int i, Object parameter,JdbcType jdbcType) throws SQLException {
		ps.setObject(i, ((GUID)parameter).toString(), Types.OTHER);
	} 
 
}