SQL state [99999]; error code [17004]; 無效的列類型: getString not implemented for class oracle.jdbc.driver.T4CBlobAccessor; java
nested exception is java.sql.SQLException: 無效的列類型: getString not implemented for class oracle.jdbc.driver.T4CBlobAccessorsql
背景:Spring + Hibernate + struts2 大字段報錯oracle
解決辦法:code
<property name="template" type="byte[]">
<column name="TEMPLATE" />
</property>get
private byte[] template;io