Hi,
I'm running spring 1.2.8 with Oracle OC4J 10.
If I'm calling
TransactionAspectSupport.currentTransactionStatus( ).setRollbackOnly();
an EJBException is automaticaly raised after the method ends.
How can I prevend this? In a "pure" EJB environment without spring I can return a normal result even if I setRollbackOnly. No Exception is automatically raised.
How can I do this with Spring?
My bean configuration looks like this
<bean id="BestandsBerechnerSTarget" class="de.solutionary.bps.session.bestandsfuehrung .BestandsBerechnerSImpl"></bean>
<bean id="BestandsBerechnerSIntern" class="org.springframework.transaction.interceptor .TransactionProxyFactoryBean">
<property name="transactionManager" ref="jtaTM" />
<property name="target" ref="BestandsBerechnerSTarget" />
<property name="transactionAttributes">
<props>
<prop key="*">PROPAGATION_REQUIRED,timeout_500</prop>
</props>
</property>
</bean>
<bean id="BestandsBerechnerS" class="org.springframework.ejb.access.LocalStatele ssSessionProxyFactoryBean">
<property name="jndiName">
<value>java:comp/env/ejb/BestandsBerechnerSLocal</value>
</property>
<property name="businessInterface">
<value>de.solutionary.bps.session.bestandsfuehrung .BestandsBerechnerSBI</value>
</property>
</bean>
Thanks in advance
Alex


Reply With Quote