/** * Constructor. * * @param res the result data */ public MappedQueryResultObjectProvider(QueryResultMapping map, JDBCStore store, JDBCFetchConfiguration fetch, Result res) { _map = map; _store = store; _fetch = (fetch == null) ? store.getFetchConfiguration() : fetch; _mres = new MappingResult(res); }
/** * Constructor. * * @param res the result data */ public MappedQueryResultObjectProvider(QueryResultMapping map, JDBCStore store, JDBCFetchConfiguration fetch, Result res) { _map = map; _store = store; _fetch = (fetch == null) ? store.getFetchConfiguration() : fetch; _mres = new MappingResult(res); }
/** * Constructor. * * @param res the result data */ public MappedQueryResultObjectProvider(QueryResultMapping map, JDBCStore store, JDBCFetchConfiguration fetch, Result res) { _map = map; _store = store; _fetch = (fetch == null) ? store.getFetchConfiguration() : fetch; _mres = new MappingResult(res); }
/** * Constructor. * * @param res the result data */ public MappedQueryResultObjectProvider(QueryResultMapping map, JDBCStore store, JDBCFetchConfiguration fetch, Result res) { _map = map; _store = store; _fetch = (fetch == null) ? store.getFetchConfiguration() : fetch; _mres = new MappingResult(res); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store.getContext(), store, fetch, lockLevel); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store, fetch, fetch.getReadLockLevel()); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store, fetch, fetch.getReadLockLevel()); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store, fetch, fetch.getReadLockLevel()); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store.getContext(), store, fetch, lockLevel); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store.getContext(), store, fetch, lockLevel); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store.getContext(), store, fetch, lockLevel); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store, fetch, fetch.getReadLockLevel()); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch, int lockLevel) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store.getContext(), store, fetch, lockLevel); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store, fetch, fetch.getReadLockLevel()); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store.getContext(), store, fetch, fetch.getReadLockLevel()); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store.getContext(), store, fetch, fetch.getReadLockLevel()); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store.getContext(), store, fetch, fetch.getReadLockLevel()); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store.getContext(), store, fetch, fetch.getReadLockLevel()); }
public Result execute(JDBCStore store, JDBCFetchConfiguration fetch) throws SQLException { if (fetch == null) fetch = store.getFetchConfiguration(); return execute(store.getContext(), store, fetch, fetch.getReadLockLevel()); }
protected Iterator itr() { OpenJPAStateManager sm = assertOwner(); JDBCStore store = getStore(); JDBCFetchConfiguration fetch = store.getFetchConfiguration(); try { Joins[] joins = new Joins[2]; Result[] res = _strat.getResults(sm, store, fetch, fetch.EAGER_JOIN, joins, true); return new ResultIterator(sm, store, fetch, res, joins); } catch (SQLException se) { throw SQLExceptions.getStore(se, store.getDBDictionary()); } }