Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

HibernateAssembler problem loading object

Level 1
Level 1
I'm using LCDS (LiveCycle Data Services) 2.5.1 and I am
trying to load a Java object using hibernate and have it given to
my flex client.

I followed this tutorial:

Only issue is that when I attempt to use the DataService
object (in flex client) to do a "getItem" I get the following

Missing identity properties: id

My "data-management-config.xml" has this:

<destination id="hibernatePerson">

<adapter ref="java-dao" />


<channel ref="my-rtmp" />






<identity property="id" />













Any ideas?
1 Reply
Level 1
Level 1
I got it. After reading some of the documentation on
DataService.getItem I learned that the "ItemReference" object that
is given back extends "AsyncToken". This means you should either
bind to the "result" property of the ItemReference or add a
responder to it (i.e. itemRef.addResponder).

Then once the data is retrieved your "result" or "fault"
methods (from the mx.rpc.IResponder interface) will be