Skip to content

added database-specific data type condition check - #628

Closed
milgarubanjuk wants to merge 1 commit into
spring-projects:masterfrom
milgarubanjuk:spr8571
Closed

milgarubanjuk wants to merge 1 commit into
spring-projects:masterfrom
milgarubanjuk:spr8571

Conversation

@milgarubanjuk

Copy link
Copy Markdown

Before this commit, when using SimpleJdbcInsert for insert into
nvarchar2 it throws java.sql.SQLException(Invalid column type),
because nvarchar2 is oracle-specific data type.

So I added Types.OTHER condition check On setValue and setNull methods.

Issue: SPR-8571

Before this commit, when using SimpleJdbcInsert for insert into
nvarchar2 it throws java.sql.SQLException(Invalid column type),
because nvarchar2 is oracle-specific data type.

So I added Types.OTHER condition check On setValue and setNull methods.

Issue: SPR-8571
@milgarubanjuk

Copy link
Copy Markdown
Author

I have signed and agree to the terms of the SpringSource Individual Contributor License Agreement.

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.

2 participants