Files
spring-ai/chat-memory/output/09-jdbc-conversation-id-limit.txt
Claude 823f6fac5b Add chat-memory module: MessageWindowChatMemory, JDBC and Redis repositories, per-user conversation IDs
Real PostgreSQL 16 and Redis Stack 7.4; 24 tests write output/01-24. Covers the 20-message
default window with no property, the 36-character conversation_id, tool messages dropped by
JdbcChatMemoryRepository, concurrent add() on one conversation, a 1.x table under the 2.0
repository, the Redis repository silently backing off for a custom ChatMemory, and the
removal of PromptChatMemoryAdvisor.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Ja4jkzrbQ4LQZBNrb5mkZE
2026-09-24 15:56:47 +00:00

8 lines
371 B
Plaintext

# conversation_id is VARCHAR(36)
conversation ID: "user:[email protected]:thread:2026-09-24" (43 characters)
model calls made for this request: 0 (the user message is saved before the model is called)
thrown: org.springframework.dao.DataIntegrityViolationException
root cause: ERROR: value too long for type character varying(36)
rows stored for it afterwards: 0