[Pljava-dev] Question regarding triggers and data visibility

From: rakesh at rakeshv(dot)org (Rakesh Vidyadharan)
To:
Subject: [Pljava-dev] Question regarding triggers and data visibility
Date: 2005-11-14 14:08:16
Message-ID: 80D2F08F-985B-4A3E-A81C-446FE592514C@rakeshv.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev


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: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20051114/7c07111c/attachment.html>

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Burtenshaw, John J. 2005-11-14 14:14:10 [Pljava-dev] Question regarding triggers and data visibility
Previous Message Burtenshaw, John J. 2005-11-14 13:59:46 [Pljava-dev] Question regarding triggers and data visibility