JdbcIndexedSessionRepository
@Deprecated public class JdbcOperationsSessionRepository extends JdbcIndexedSessionRepository
SessionRepository
implementation is kept in order to support migration to
JdbcIndexedSessionRepository
in a backwards compatible manner.DEFAULT_TABLE_NAME
PRINCIPAL_NAME_INDEX_NAME
Constructor and Description |
---|
JdbcOperationsSessionRepository(org.springframework.jdbc.core.JdbcOperations jdbcOperations)
Deprecated.
since 2.2.0 in favor of
JdbcIndexedSessionRepository(JdbcOperations, TransactionOperations) |
JdbcOperationsSessionRepository(org.springframework.jdbc.core.JdbcOperations jdbcOperations,
org.springframework.transaction.PlatformTransactionManager transactionManager)
Deprecated.
since 2.2.0 in favor of
JdbcIndexedSessionRepository(JdbcOperations, TransactionOperations) |
JdbcOperationsSessionRepository(org.springframework.jdbc.core.JdbcOperations jdbcOperations,
org.springframework.transaction.support.TransactionOperations transactionOperations)
Deprecated.
Create a new
JdbcOperationsSessionRepository instance which uses the
provided JdbcOperations and TransactionOperations to manage
sessions. |
cleanUpExpiredSessions, createSession, deleteById, findById, findByIndexNameAndIndexValue, save, setConversionService, setCreateSessionAttributeQuery, setCreateSessionQuery, setDefaultMaxInactiveInterval, setDeleteSessionAttributeQuery, setDeleteSessionQuery, setDeleteSessionsByExpiryTimeQuery, setFlushMode, setGetSessionQuery, setIndexResolver, setListSessionsByPrincipalNameQuery, setLobHandler, setSaveMode, setTableName, setUpdateSessionAttributeQuery, setUpdateSessionQuery
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findByPrincipalName
public JdbcOperationsSessionRepository(org.springframework.jdbc.core.JdbcOperations jdbcOperations, org.springframework.transaction.support.TransactionOperations transactionOperations)
JdbcOperationsSessionRepository
instance which uses the
provided JdbcOperations
and TransactionOperations
to manage
sessions.jdbcOperations
- the JdbcOperations
to usetransactionOperations
- the TransactionOperations
to useJdbcIndexedSessionRepository(JdbcOperations,
TransactionOperations)
@Deprecated public JdbcOperationsSessionRepository(org.springframework.jdbc.core.JdbcOperations jdbcOperations, org.springframework.transaction.PlatformTransactionManager transactionManager)
JdbcIndexedSessionRepository(JdbcOperations, TransactionOperations)
JdbcIndexedSessionRepository
instance which uses the provided
JdbcOperations
to manage sessions.
The created instance will execute all data access operations in a transaction with
propagation level of TransactionDefinition.PROPAGATION_REQUIRES_NEW
.
jdbcOperations
- the JdbcOperations
to usetransactionManager
- the PlatformTransactionManager
to use@Deprecated public JdbcOperationsSessionRepository(org.springframework.jdbc.core.JdbcOperations jdbcOperations)
JdbcIndexedSessionRepository(JdbcOperations, TransactionOperations)
JdbcIndexedSessionRepository
instance which uses the provided
JdbcOperations
to manage sessions.
The created instance will not execute data access operations in a transaction.
jdbcOperations
- the JdbcOperations
to use