Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map StringTypeHandler to LONGVARCHAR instead of ClobTypeHandler #1493

Merged
merged 1 commit into from
Mar 6, 2019

Conversation

harawata
Copy link
Member

@harawata harawata commented Mar 5, 2019

See #1484 .

I cannot test all variations, but the following columns are treated as LONGVARCHAR in JDBC and PreparedStatement#setString() and ResultSet#getString() works fine with them, so StringTypeHandler should work as well.

  • Oracle : LONG VARCHAR
  • MySQL : MEDIUMTEXT, LONGTEXT
  • MariaDB : LONGTEXT
  • SAP ASE : CHAR(n),VARCHAR(n) (only when n≥256)

…om ClobTypeHandler to StringTypeHandler.
@harawata harawata merged commit 4b91bc7 into mybatis:master Mar 6, 2019
pulllock pushed a commit to pulllock/mybatis-3 that referenced this pull request Oct 19, 2023
…ndler

Map StringTypeHandler to LONGVARCHAR instead of ClobTypeHandler
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant