Repository navigation
Map the CLOB column type reported by H2 1.4 - #1851
Merged
Merged
Conversation
agusaldasoro
marked this pull request as ready for review
October 8, 2026 09:53
jgaleotti
requested changes
Oct 8, 2026
| "TEXT" to SMT_STRING, | ||
| "CHARACTER LARGE OBJECT" to SMT_STRING, | ||
| // the same type, as H2 1.4 reports it | ||
| "CLOB" to SMT_STRING, |
Collaborator
There was a problem hiding this comment.
can we have a test case for this?
jgaleotti
approved these changes
Oct 8, 2026
arcuri82
approved these changes
Oct 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
H2 1.4 reports a CLOB column with the type name
CLOB.TYPE_MAPonly hasCHARACTER LARGE OBJECT, the spelling of H2 2.x, soCLOBwas an unmapped type. Every table of the schema is declared for every query, so a single CLOB column made SMT-LIB generation fail for all queries of the schema.In EMB, catwatch (H2 1.4) has CLOB columns in all five of its application tables.
Fix
Map
CLOBtoString, likeCHARACTER LARGE OBJECT. The gene side already falls back to a string gene for this type.