Skip to content

[pull] main from spring-projects:main - #13

Merged
pull[bot] merged 2 commits into
FormatToday:mainfrom
spring-projects:main
Sep 11, 2026
Merged

pull[bot] merged 2 commits into
FormatToday:mainfrom
spring-projects:main

Conversation

@pull

@pull pull Bot commented Sep 11, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Lubaoshuai and others added 2 commits September 11, 2026 11:36
FilterExpressionTextParser treated every integer literal as an
Integer, so values outside the int range (for example a Long
metadata id) failed with NumberFormatException at parse time.

Integer literals within the int range keep producing Integer
values, while larger unsuffixed literals now fall back to Long.
The explicit 'l' or 'L' suffix continues to produce Long values.

Fixes #4705

Signed-off-by: Lubaoshuai <128781758+Lubaoshuai@users.noreply.github.com>
`MariaDBSchemaValidator` bound the string "SCHEMA()" as a query
parameter when no schema name was configured, so the table lookup
evaluated as `TABLE_SCHEMA = 'SCHEMA()'` and never matched, and the
column lookup bound a null schema name with the same result. With
`schemaValidation` enabled and no `schemaName` set, `MariaDBVectorStore`
therefore failed in `afterPropertiesSet` with `Table 'vector_store' does
not exist in schema 'null'` for a table that was in fact present.

Resolve the schema name once, up front, falling back to `SELECT
SCHEMA()` when none is configured, and use it for both queries, for the
DDL suggested on failure and for the messages that previously reported
`schema 'null'`. The vector support probe also dropped the two
arguments it bound to a statement that has no placeholders.

The added test validates a table in the connection's default schema
against a MariaDB container and fails against the previous
implementation.

Closes #6917

Signed-off-by: jhpark1227 <jhpark2208@gmail.com>
@pull pull Bot locked and limited conversation to collaborators Sep 11, 2026
@pull pull Bot added the ⤵️ pull label Sep 11, 2026
@pull
pull Bot merged commit afeed2b into FormatToday:main Sep 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants