<bean id="nativeJdbcExtractor"
class="org.springframework.jdbc.support.nativejdbc.C3P0NativeJdbcExtractor" />
<bean id="oracleLobHandle"
class="org.springframework.jdbc.support.lob.OracleLobHandler">
<property name="nativeJdbcExtractor">
<ref local="nativeJdbcExtractor" />
</property>
</bean>
<value>com.systop.cms.model.Messages</value>
<value>com.systop.cms.model.Templates</value>
</list>
</property>
<property name="hibernateProperties">
<props>
<prop key="hibernate.dialect">
${hibernate.dialect}
</prop>
<prop key="hibernate.show_sql">
${hibernate.show_sql}
</prop>
<prop key="hibernate.cache.use_query_cache">
${hibernate.cache.use_query_cache}
</prop>
<prop key="hibernate.cache.provider_class">
${hibernate.cache.provider_class}
</prop>
<!--必须的 0-->
<prop key="hibernate.jdbc.batch_size">0</prop>
</props>
</property>
<property name="lobHandler"><ref bean="oracleLobHandle"/></property>
</bean>
/**
* clog类型
*/
@Type(type = "org.springframework.orm.hibernate3.support.ClobStringType")
@Column(name = "CONTENT")
public String getContent() {
return this.content;
}