/** * Return the JDBC delegate. */ public JDBCFetchConfiguration getJDBCDelegate() { return (JDBCFetchConfiguration) getDelegate(); }
public JDBCFetchConfiguration setEagerFetchMode(int mode) { try { getJDBCDelegate().setEagerFetchMode(mode); return this; } catch (RuntimeException re) { throw translate(re); } }
@Override protected DelegatingFetchConfiguration newDelegatingFetchConfiguration( FetchConfiguration fetch) { _fetch = new DelegatingJDBCFetchConfiguration((JDBCFetchConfiguration) fetch, PersistenceExceptions.TRANSLATOR); return _fetch; }
public int getLRSSize() { return _fetch.getLRSSize(); }
public FetchDirection getFetchDirection() { return FetchDirection.fromKernelConstant(_fetch.getFetchDirection()); }
public ResultSetType getResultSetType() { return ResultSetType.fromKernelConstant(_fetch.getResultSetType()); }
public FetchMode getEagerFetchMode() { return FetchMode.fromKernelConstant(_fetch.getEagerFetchMode()); }
public JoinSyntax getJoinSyntax() { return JoinSyntax.fromKernelConstant(_fetch.getJoinSyntax()); }
public IsolationLevel getIsolation() { return IsolationLevel.fromConnectionConstant(_fetch.getIsolation()); }
public int getLRSSize() { return _fetch.getLRSSize(); }
public FetchDirection getFetchDirection() { return FetchDirection.fromKernelConstant(_fetch.getFetchDirection()); }
public ResultSetType getResultSetType() { return ResultSetType.fromKernelConstant(_fetch.getResultSetType()); }
public FetchMode getEagerFetchMode() { return FetchMode.fromKernelConstant(_fetch.getEagerFetchMode()); }
public JoinSyntax getJoinSyntax() { return JoinSyntax.fromKernelConstant(_fetch.getJoinSyntax()); }
public IsolationLevel getIsolation() { return IsolationLevel.fromConnectionConstant(_fetch.getIsolation()); }
public JDBCFetchConfiguration setResultSetType(int type) { try { getJDBCDelegate().setResultSetType(type); return this; } catch (RuntimeException re) { throw translate(re); } }
public int getLRSSize() { return _fetch.getLRSSize(); }
/** * Return the JDBC delegate. */ public JDBCFetchConfiguration getJDBCDelegate() { return (JDBCFetchConfiguration) getDelegate(); }
public FetchDirection getFetchDirection() { return FetchDirection.fromKernelConstant(_fetch.getFetchDirection()); }
@Override protected DelegatingFetchConfiguration newDelegatingFetchConfiguration( FetchConfiguration fetch) { _fetch = new DelegatingJDBCFetchConfiguration((JDBCFetchConfiguration) fetch, PersistenceExceptions.TRANSLATOR); return _fetch; }