Hi,
if i understand you correctly you want to tell a flex client that a
change in a db row occurred, yet the change was not initiated by that
client and/or you're not in the middle of an assembler operation? For
example, if some other non-flex related entity changed a db row you
want to notify the flex client.
If this is the case have a look at the "DataServiceTransaction" class
in the FDS javadocs. You create a new transaction using that class'
"begin" static method. Here's some pseudocode:
tx = DataServiceTransaction.begin();
tx.updateItem("destination_name", newVersion, prevVersion, changesList);
tx.commit();
This bit of code will send an update event to the clients subscribed
to destination.
Keep in mind you have to be within the same webapp as the FDS.
Hope that helps.
/r
http://www.searchcoders.com/flex/?dataservicetransaction
--- In [email protected], "jwp2k_uva" <[EMAIL PROTECTED]> wrote:
>
> Dear Flexcoders,
>
> In a FDS/Hibernate/MySql setup, what happens if a data row is directly
> updated in the MySql database? Is there a simple way to update the
> flex application with the updated data row?
>
> Thanks a million.
>