This content has been marked as final. Show 3 replies
>>flex.data.adapters.AdapterException: No Hibernate mapping was found for entity name 'myProject.vo.User ' configured in destination 'null'.
make sure you have in your hibernate.cfg.xml this entry:
Thinks for your help
I changed few things, I am now able to display data but I can't add delete, or delete data
I got the following log in tomcat :
[Flex] Serializing AMF/RTMP response
(Command method=_error (0) trxId=4)
(Typed Object #0 'flex.messaging.messages.ErrorMessage')
rootCause = (Typed Object #1 'javax.naming.NamingException')
rootCause = null
localizedMessage = "Cannot create resource instance"
resolvedObj = null
resolvedName = null
remainingName = null
message = "Cannot create resource instance"
cause = null
explanation = "Cannot create resource instance"
destination = "hibernate-user"
headers = (Object #2)
correlationId = "BC1B888D-63F8-BBD4-50C5-0F88B995C614"
faultString = "Unable to access UserTransaction in DataService."
messageId = "A6ECD297-E709-B1BC-C8E2-3CD3118BBCAC"
faultCode = "Server.Processing"
timeToLive = 0.0
extendedData = null
faultDetail = null
clientId = null
timestamp = 1.172786691031E12
body = null