Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Complete
-
1.2.3.RELEASE
-
None
-
jdk1.6
Description
I found an issue when I generate project used spring roo, it generate a dbcp1.3 jar file to me, so when I use @Lob mapping field, I took a exception:org.apache.commons.dbcp.DelegatingPreparedStatement.setBinaryStream(ILjava/io/InputStream;J)V
I took one day find the reason, but google have pool information on it, finally I find some useful information on apache dbcp project page:
DBCP 1.4 binaries should be used by applications running under JDK 1.6.
DBCP 1.3 should be used when running under JDK 1.4 or 1.5.
so I change the version to 1.4, everything working ok.