org.apache.ibatis.cursor.Cursor Java Examples
The following examples show how to use
org.apache.ibatis.cursor.Cursor.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EntityExecutor.java From nexus-public with Eclipse Public License 1.0 | 5 votes |
@Override public <E> Cursor<E> queryCursor(final MappedStatement ms, final Object parameter, final RowBounds rowBounds) throws SQLException { return delegate.queryCursor(ms, parameter, rowBounds); }
Example #2
Source File: ProxySession.java From sumk with Apache License 2.0 | 4 votes |
@Override public <T> Cursor<T> selectCursor(String statement) { return this.readSession().selectCursor(statement); }
Example #3
Source File: ProxySession.java From sumk with Apache License 2.0 | 4 votes |
@Override public <T> Cursor<T> selectCursor(String statement, Object parameter) { return this.readSession().selectCursor(statement, parameter); }
Example #4
Source File: ProxySession.java From sumk with Apache License 2.0 | 4 votes |
@Override public <T> Cursor<T> selectCursor(String statement, Object parameter, RowBounds rowBounds) { return this.readSession().selectCursor(statement, parameter, rowBounds); }
Example #5
Source File: DelegatingSqlSession.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
@Override public <T> Cursor<T> selectCursor(String s) { return wrappedSession.selectCursor(s); }
Example #6
Source File: DelegatingSqlSession.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
@Override public <T> Cursor<T> selectCursor(String s, Object o) { return wrappedSession.selectCursor(s, o); }
Example #7
Source File: DelegatingSqlSession.java From camunda-bpm-platform with Apache License 2.0 | 4 votes |
@Override public <T> Cursor<T> selectCursor(String s, Object o, RowBounds rowBounds) { return wrappedSession.selectCursor(s, o, rowBounds); }
Example #8
Source File: AbstractDAO.java From hmdm-server with Apache License 2.0 | 3 votes |
/** * <p>Gets the list of records corresponding to customer account set for current user. Uses specified list retrieval * logic for getting the records data.</p> * * @param listRetrievalLogic a logic to be used for records data retrieval. * @return a list of records. */ protected Cursor<T> getIteratorWithCurrentUser(Function<User, Cursor<T>> listRetrievalLogic) { return SecurityContext.get() .getCurrentUser() .map(listRetrievalLogic) .orElse(null); }