[Pljava-dev] Question regarding triggers and data visibility

From: JBurtenshaw at cooperstandard(dot)com (Burtenshaw, John J(dot))
To:
Subject: [Pljava-dev] Question regarding triggers and data visibility
Date: 2005-11-14 14:14:10
Message-ID: 75F39425D1954A4380D5C9E1D630CDC903C30B79@C2A007.stratford.auto.cooperintra.ctb
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev


Thanks Rakesh. I found a couple of mailing lists that suggest putting the results to a collection which should be simple enough. I'm sure this will work fine for me!

Regards,
John Burtenshaw

-----Original Message-----
From: pljava-dev-bounces at gborg.postgresql.org on behalf of Rakesh Vidyadharan
Sent: Mon 11/14/2005 9:08 AM
Cc: Pljava-dev at gborg.postgresql.org
Subject: Re: [Pljava-dev] Question regarding triggers and data visibility

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/7258486a/attachment.html>

Browse pljava-dev by date

  From Date Subject
Next Message Rakesh Vidyadharan 2005-11-19 02:48:48 [Pljava-dev] Version 1.2?
Previous Message Rakesh Vidyadharan 2005-11-14 14:08:16 [Pljava-dev] Question regarding triggers and data visibility