ruchiahuja10 wrote:
I think it is a issue in hibernate 3, because i also saw it working with hibernate 2.
I dont know the fix for it because i dint hear anything from the hibernate team in this post. For the time being i have wrapped my code in a transaction to make it work.
Thx anyway. I think there should be something wrong in hibernate.cfg.xml or somewhere else.
Here is part of my setting. Hopefully somebody can give some suggestion.
<property name="hibernate.connection.username">RSSFEED</property>
<property name="hibernate.connection.password">1i6fm06</property>
<property name="hibernate.connection.pool_size">3</property>
<property name="hibernate.c3p0.min_size">5</property>
<property name="hibernate.c3p0.max_size">20</property>
<property name="hibernate.c3p0.timeout">1800</property>
<property name="hibernate.c3p0.max_statements">50</property>
<!-- property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property-->
<property name="hibernate.show_sql">true</property>
<property name="hibernate.use_outer_join">true</property>
<!-- property name="hibernate.hbm2ddl.auto">update</property-->
<property name="hibernate.jdbc.batch_size">0</property>
<property name="hibernate.jdbc.batch_versioned_data">true</property>
<property name="hibernate.max_fetch_depth">1</property>
<property name="hibernate.jdbc.use_streams_for_binary">
true
</property>
<!-- dialect for Oracle 9 -->
<!-- <property name="hibernate.transaction.factory_class">org.hibernate.transaction.WeblogicTransactionManagerLookup</property>-->
<property name="dialect">
org.hibernate.dialect.Oracle9Dialect
</property>