preparedStatement With Large Values Causes "java.sql.SQLException: Data size bigger than max size for this type"
(Doc ID 214868.1)
Last updated on SEPTEMBER 11, 2019
Applies to:
JDBC - Version 9.0.1.0 to 10.1.0.5 [Release 9.0.1 to 10.1]Information in this document applies to any platform.
This problem can occur on any platform.
Symptoms
When using a preparedStatement with method setObject, setString and so on and using large values, following error can occur:
java.sql.SQLException: Data size bigger than max size for this type: 4018
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |
References |