As I understand Flex Data Management Services require that application
container provide UserTransaction for it.  But I can't find any guide
about how FDMS uses it.

I was completely confused when I checked several tutorials that used
FDMS+HibernateAssempler+Spring or FDMS+hand written
Assempler+Hibernate+Spring. 

That tutorial 
http://blogs.adobe.com/mtg/2006/08/my_first_hibernate_enabled_fle.html
specify that Hibernate's SessionFactory use datasource not tied to
global transaction manager.

This tutorials:
http://devblog.ezmo.com/2007/05/29/using-flex-data-services-with-spring-and-hibernate/
http://iamjosh.wordpress.com/2007/11/08/building-a-livecycle-data-service-application/
don't specify that SessionFactory should use global transaction scope
for Session and use local transaction management.

So what's the purpose of FDMS to have reference to container's
UserTransaction?

Den

Reply via email to