Singleton on Spring framework with Exception Cursor is closed

August 4th, 2010

Singleton on Spring framework with Exception Cursor is closed

I try to solve problem with SQL Exception Cursor is closed on my PL SQL 1 Day after  i found  because Static way on Spring Bean prototype
I try to set singleton off  with singleton=false

<bean id=”summaryUsageService” class=”com.my.SummaryUsageService”

singleton=”false”>

<property name=”sessionFactory”>

<ref bean=”sessionFactory” />

</property>

</bean>

but Futile  i found the same problem .
I don’t know how can i do.

When my program is run with multi thread . parameter is Conjecture  T_T T_T
Now i solve this problem with my way  it’s tample boxing way (มวยวัด)
I try to copy parameter  with set from setter method to use only on those method.
Ohh hard work for me . but it ’s only one way for me now ZzzzZzzz

OK this time for go home Bye Bye