Hey Niklas,

It's for JDBC/JTA I suppose. I found out how to do it, and I forgot to mention that I'm trying to do this through spring:


<bean id="transactionalMediaDataService" class = "org springframework.transaction.interceptor.TransactionProxyFactoryBean">
        <property name="transactionManager" ref="transactionManager"/>
        <property name="proxyInterfaces" value="Ftplet"/>
        <property name="target" ref="ftpletImpl"/>
        <property name="transactionAttributes">
            <props>
                <prop key="*">PROPAGATION_REQUIRED</prop>
            </props>
        </property>
    </bean>

By doing that anything that gets called into my ftpletImpl, will be within a transaction.

Thanks!
Koichi

On Jan 20, 2009, at 1:58 PM, Niklas Gustavsson wrote:

On Tue, Jan 20, 2009 at 10:36 PM, Koichi Tsunoda <[email protected] > wrote:
So, just wondering if there's a way to set a transactional manager to ftp
server so that any event callbacks will be in a transactional session
automagically.

When you say transactional session, are you referring to a JDBC
session, or JTA or something else? Anyways, we do not support anything
like that at the moment.

/niklas



Reply via email to