@Override public int firstUpdateCount() { for (QueryResultItem item : resultItems) { if (!item.isSelectResult()) { return item.getUpdateCount(); } } throw new CayenneRuntimeException("Result is not an update count."); }
@Override public int firstUpdateCount() { for (QueryResultItem item : resultItems) { if (!item.isSelectResult()) { return item.getUpdateCount(); } } throw new CayenneRuntimeException("Result is not an update count."); }