在hibernate映射文件里默认String类型改为ClobStringType--
<property name="content" type="org.springframework.orm.hibernate3.support.ClobStringType" lazy="true" length="1048576000">
<column name="CONTENT" />
</property>
===================================================
在sessionFactory里添加--
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">
<!-- 为处理Clob类型字段的句柄声明 //-->
<property name="lobHandler" ref="lobHandler" />
</bean>
<bean id="nativeJdbcExtractor" class="org.springframework.jdbc.support.nativejdbc.CommonsDbcpNativeJdbcExtractor" lazy-init="true" />
<bean id="lobHandler" class="org.springframework.jdbc.support.lob.OracleLobHandler" lazy-init="true">
<property name="nativeJdbcExtractor">
<ref local="nativeJdbcExtractor" />
</property>
</bean>