I have this error with my data service destination, when I commit changes :

 

[RPC Fault faultString="Unable to access UserTransaction in DataService." 
faultCode="Server.Processing" faultDetail="null"]

      at 
mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::dispatchFaultEvent()[C:\depot\flex\branches\enterprise_bridgeman\frameworks\mx\data\ConcreteDataService.as:2087]

      at 
mx.data::CommitResponder/fault()[C:\depot\flex\branches\enterprise_bridgeman\frameworks\mx\data\CommitResponder.as:171]

      at 
mx.rpc::AsyncRequest/fault()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\rpc\AsyncRequest.as:103]

      at 
NetConnectionMessageResponder/statusHandler()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\channels\NetConnectionChannel.as:523]

      at 
mx.messaging::MessageResponder/status()[E:\dev\3.0.x\frameworks\projects\rpc\src\mx\messaging\MessageResponder.as:222]

 

I don’t really care about user transactions… I use dao who already takes care 
of that. So I want to disable it.

 

So I changed my destination definition to :

 

            <destination 
id="net.fudge.test.hr.application.business.entity.Employee">

                  <adapter ref="java-dao"/>

                  <properties>

                        <use-transactions>false</use-transactions>

                        <source>net.fudge.test.hr.EmployeeAssembler</source>

                        <scope>application</scope>

                        <metadata>

                             <identity property="id"/>

                        </metadata>

                  </properties>

 

But I have the same error. Is there anything more I should do?

 

Emmanuel

_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to