@Override protected void syncResultSet(Manager.RestrictedResult result) throws SQLException { id = result.nextLong(); deviceId = result.nextLong(); retailer = Retailer.valueOf(result.nextString()); cost = result.nextDouble(); }
@Override protected void syncGeneratedKey(Manager.RestrictedResult result) throws SQLException { id = result.nextLong(); }