java.sql.SQLException: Bigger type length than Maximum

类型长度大于最大值总结:

1.查看本地java版本 tomcat版本 eclipse编译jdkdeng

2.

  1. In SQL Developer, click the Reports tab on the left, near the Connections navigator. (If this tab is not visible, click View, then Reports.)

  2. In the Reports navigator, expand Data Dictionary Reports.

  3. Under Data Dictionary Reports, expand About Your Database.

  4. Under About Your Database, click Version Banner.

查看oracle版本采用与改版本兼容的ojdbc.jar

对应页:www.oracle.com/technetwork/database/features/jdbc/index-091264.html

我的项目最后发现是tomcat的lib下面放了ojdbc6.jar 和ojdbc14.jar,把ojdbc6删除就行了。没有测试光光有ojdbc14.jar行不行。

你可能感兴趣的:(java.sql.SQLException: Bigger type length than Maximum)