tomcat webSphere 驱动

SQL state [99999]; error code [17004]; 无效的列类型: getString not implemented for class oracle.jdbc.driver.T4CBlobAccessor;

nested exception is java.sql.SQLException: 无效的列类型: getString not implemented for class oracle.jdbc.driver.T4CBlobAccessor

背景:Spring + Hibernate + struts2  大字段报错

解决办法:

<property name="template" type="byte[]">
            <column name="TEMPLATE" />
</property>

private byte[] template;

你可能感兴趣的:(tomcat webSphere 驱动)