Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 45A441337B6E for ; Wed, 17 Nov 2010 14:55:30 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 74370-01-4 for ; Wed, 17 Nov 2010 18:55:23 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from web62307.mail.re1.yahoo.com (web62307.mail.re1.yahoo.com [69.147.75.21]) by mail.postgresql.org (Postfix) with SMTP id AD13F1337B7D for ; Wed, 17 Nov 2010 14:55:22 -0400 (AST) Received: (qmail 4896 invoked by uid 60001); 17 Nov 2010 18:55:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1290020121; bh=f+usYqxj6ZcoavtrrLed5voaPgiU6jmafRw8IoExMh0=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=m7WiPuivv5VJVueGOMRgLr1nTtHlnBfKtQ1KcLJqpbasNjhoLpnAN//T65jELMFXEx9U48GAdPN7nhkZk0/XD018LYb+YZq1PGpwwWJi3QL+YJeyl0c2gw5MFgktkLEP1IzTpIYTzAiUYylBVFGO6GyuFttOWhpxa/RN1dPolOA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=1KjjSV8T2Va9j1lCGAE1joaw3RPtozSgb1QZS7620ZpYHT5EGVr1izuMLSvrtw89ixd63nmlaVuO0J66t+ZMrA66/ExHpR2luOGIP5OeqG8ZZ0ib5MEOhGI6DDbECGZ1ZfNQ4iqrXuy5ijpCi51KVPfwVLzIj3IPnI8YDcpQcJk=; Message-ID: <958934.2354.qm@web62307.mail.re1.yahoo.com> X-YMail-OSG: PzwfMocVM1ne7ZrP2SOBTCtK7dkBqIoe3agz_mcEIIQrpP0 gsWIcMICfrv2Kf.FjY3FaFqvY9HMJhRycZtePVX0JiAyT1ELFk7siRwmlmIF dIx.1xCQM1G69s2pK7QuyErsit0hTQcZWIzFr50rdRH_09cCtJwkkzlNZF4M NV3g3NBwqxe9mWv3tGriqrd42ctY_lVLg1AP3H4irERPTjSZqw3VJ6cNi_Z2 66ifOZMtMVrgO_Q_tSs9dT10707NP9WG3Dnsgn3PpR3XyyLxHFhzZuII- Received: from [66.205.129.249] by web62307.mail.re1.yahoo.com via HTTP; Wed, 17 Nov 2010 10:55:21 PST X-Mailer: YahooMailRC/504.5 YahooMailWebService/0.8.107.285259 References: <751378.43371.qm@web62302.mail.re1.yahoo.com> Date: Wed, 17 Nov 2010 10:55:21 -0800 (PST) From: Peter Tap Subject: Re: Transactional support across multiple machines... To: Maciek Sakrejda Cc: pgsql-jdbc@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1613486118-1290020121=:2354" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.908 tagged_above=-10 required=5 tests=BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RFC_ABUSE_POST=0.001, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201011/44 X-Sequence-Number: 21165 --0-1613486118-1290020121=:2354 Content-Type: text/plain; charset=us-ascii Hi Maciek, Thank you for your help. I looked at the link you provided me. However, I am still confused. I have three different connections to three different databases. If I call PREPARE_TRANSACTION and COMMIT_PREPARED on each machine, it may still not be atomic. I would think one would need some kind of distributed transaction coordinator such as Java Transactional API (JTA). I appreciate your help. Regards, Peter ________________________________ From: Maciek Sakrejda To: Peter Tap Cc: pgsql-jdbc@postgresql.org Sent: Wed, November 17, 2010 10:40:57 AM Subject: Re: [JDBC] Transactional support across multiple machines... Prepared transactions: http://www.postgresql.org/docs/9.0/static/sql-prepare-transaction.html --- Maciek Sakrejda | System Architect | Truviso 1065 E. Hillsdale Blvd., Suite 215 Foster City, CA 94404 (650) 242-3500 Main www.truviso.com --0-1613486118-1290020121=:2354 Content-Type: text/html; charset=us-ascii
Hi Maciek,

Thank you for your help.

I looked at the link you provided me. However, I am still confused. I have three different connections to three different databases. If I call PREPARE_TRANSACTION and COMMIT_PREPARED on each machine, it may still not be atomic.

I would think one would need some kind of distributed transaction coordinator such as Java Transactional API (JTA).

I appreciate your help.

Regards,
Peter



From: Maciek Sakrejda <msakrejda@truviso.com>
To: Peter Tap <ptrtap@yahoo.com>
Cc: pgsql-jdbc@postgresql.org
Sent: Wed, November 17, 2010 10:40:57 AM
Subject: Re: [JDBC] Transactional support across multiple machines...

Prepared transactions:
http://www.postgresql.org/docs/9.0/static/sql-prepare-transaction.html
---
Maciek Sakrejda | System Architect | Truviso

1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com

--0-1613486118-1290020121=:2354--