Skip to content

Document H2 and SQLite chat memory support - #6790

Open
sachingorade wants to merge 1 commit into
spring-projects:mainfrom
sachingorade:docs-h2-sqlite-chat-memory
Open

Document H2 and SQLite chat memory support#6790
sachingorade wants to merge 1 commit into
spring-projects:mainfrom
sachingorade:docs-h2-sqlite-chat-memory

Conversation

@sachingorade

Copy link
Copy Markdown

JdbcChatMemoryRepositoryDialect.from(DataSource) already resolves H2ChatMemoryRepositoryDialect and SqliteChatMemoryRepositoryDialect, and schema-h2.sql and schema-sqlite.sql ship with the JDBC chat memory repository, but neither database was listed as supported in the reference documentation.

Add both to the supported databases list, and add a dedicated H2 section covering the dependencies an application has to declare. The JDBC starter brings in spring-boot-starter-jdbc without a driver and every driver in the repository module is test-scoped, so applications have to add H2 themselves.

`JdbcChatMemoryRepositoryDialect.from(DataSource)` already resolves
`H2ChatMemoryRepositoryDialect` and `SqliteChatMemoryRepositoryDialect`,
and `schema-h2.sql` and `schema-sqlite.sql` ship with the JDBC chat
memory repository, but neither database was listed as supported in the
reference documentation.

Add both to the supported databases list, and add a dedicated H2
section covering the dependencies an application has to declare. The
JDBC starter brings in `spring-boot-starter-jdbc` without a driver and
every driver in the repository module is test-scoped, so applications
have to add H2 themselves.

Signed-off-by: sachingorade <sachin.gorade@gmail.com>
@sachingorade
sachingorade force-pushed the docs-h2-sqlite-chat-memory branch from 3dd1683 to 93913af Compare August 12, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants