Uses of Class
org.springframework.ai.session.jdbc.JdbcSessionRepository.Builder
Packages that use JdbcSessionRepository.Builder
-
Uses of JdbcSessionRepository.Builder in org.springframework.ai.session.jdbc
Methods in org.springframework.ai.session.jdbc that return JdbcSessionRepository.BuilderModifier and TypeMethodDescriptionJdbcSessionRepository.builder()Returns a newJdbcSessionRepository.Builder.JdbcSessionRepository.Builder.dataSource(DataSource dataSource) The data source; the dialect is detected from it unless set.JdbcSessionRepository.Builder.dialect(JdbcSessionRepositoryDialect dialect) The SQL dialect; detected withJdbcSessionRepositoryDialect.from(DataSource)by default.JdbcSessionRepository.Builder.indexedAttributes(Set<String> indexedAttributes) The metadata keys indexed inAI_SESSION_INDEX, so thatJdbcSessionRepository.findByMetadata(java.lang.String, java.lang.String)answers for them; theJdbcSessionRepository.DEFAULT_INDEXED_ATTRIBUTES, the principal, are always indexed.JdbcSessionRepository.Builder.jdbcTemplate(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate) A configuredJdbcTemplate, instead of one on the data source.JdbcSessionRepository.Builder.jsonMapper(tools.jackson.databind.json.JsonMapper jsonMapper) The mapper of the metadata and payload JSON;JsonMapper.builder().build()by default.JdbcSessionRepository.Builder.transactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager) The transaction manager; one on the data source by default.