Multi-tier: Using setPersistanceState as a trigger point server-side.

From: Marek Wawrzyczny (marek_wawrzyczn..nternode.on.net)
Date: Sun Feb 26 2006 - 20:58:51 EST

  • Next message: Cris Daniluk: "Re: Generics"

    Hi all,

    We are contemplating using the setPersistanceState in CayenneDataObject as a
    trigger function to create a replication queue record per each record insert
    or update into the database (this is on server side in a multi-tier setup).
    At present the business logic prevents us from creating stored procedures.

    Before we go down that way, I'm hoping someone can make us aware of any
    caveats associated with this use of setPersistanceState? Perhaps there are
    better ways to achieve the same result?

    Kind regards,

    Marek Wawrzyczny



    This archive was generated by hypermail 2.0.0 : Sun Feb 26 2006 - 20:58:36 EST