From: rakesh at rakeshv.org (Rakesh Vidyadharan) Date: Mon, 14 Nov 2005 08:08:16 -0600 Subject: [Pljava-dev] Question regarding triggers and data visibility In-Reply-To: <75F39425D1954A4380D5C9E1D630CDC903C30B77@C2A007.stratford.auto.cooperintra.ctb> References: <75F39425D1954A4380D5C9E1D630CDC903C30B77@C2A007.stratford.auto.cooperintra.ctb> Message-ID: <80D2F08F-985B-4A3E-A81C-446FE592514C@rakeshv.org> On 14 Nov 2005, at 07:59, Burtenshaw, John J. wrote: > > Rakesh: You are right that I should be able to pass the new > information to the Daemon through the network but the one > inconvenient problem is that the ResultSet object is not > serializable which is a requirement for RMI objects. I suppose I > could break the result down to a serialized string stream or > something to that effect. Can you think of another way? I do not know any other convenient way to pass the information. I think the easiest way is to create a transfer object. If you have created PGobject sub-classes to represent your data, then you already have it. If not, just create a custom transfer object and pass that to the RMI object. You can also pass custom strings, or XML if performance is not an absolute must. You can easily create the transfer object or String representation from the information in the Trigger. Rakesh -------------- next part -------------- An HTML attachment was scrubbed... URL: