@Override
public StockDatabaseHeader get(String id) throws SQLException {
PreparedStatement stmt = connection.prepareStatement("SELECT " + FIELDS + " FROM " + TABLE_NAME + " WHERE ID = ?");
stmt.setString(1, id);
ResultSet rs = stmt.executeQuery();
StockDatabaseHeader result = null;
if (rs.next()) {
result = buildHeaderFromResultSet(rs);
}
rs.close();
return result;