X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 21CD8D6ED8 for ; Sat, 26 Nov 2005 08:19:29 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 34862-02 for ; Sat, 26 Nov 2005 12:19:30 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by svr1.postgresql.org (Postfix) with ESMTP id 83FBBD6822 for ; Sat, 26 Nov 2005 08:19:21 -0400 (AST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Efz1X-0005nK-KW; Sun, 27 Nov 2005 01:19:23 +1300 Message-ID: <438852CB.3080701@opencloud.com> Date: Sun, 27 Nov 2005 01:19:23 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051009) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jaime Casanova CC: pgsql-jdbc@postgresql.org Subject: Re: SQLJ, any plans? References: <4387A106.7090009@opencloud.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0 required=5 tests=[none] X-Spam-Score: 0 X-Spam-Level: X-Archive-Number: 200511/213 X-Sequence-Number: 14311 Jaime Casanova wrote: > On 11/25/05, Oliver Jowett wrote: > >>Jaime Casanova wrote: >> >>>are there any plans to get embedded SQL (SQLJ) to work with the jdbc >>>in postgres? >> >>What fails with the current driver? >> > > The driver works fine, AFAIK... but it can use the SQLJ syntax? Uh.. from my limited knowledge of SQLJ, isn't it like "embedded SQL" in the C world? i.e. you have a translator (the equivalent to ecpg) that takes annotated source with SQLJ syntax and turns it into a regular Java source file that uses standard JDBC? So the driver itself never sees the SQLJ syntax.. Sounds like what you are looking for is a SQLJ translator? I don't know of any plans to write a postgresql-specific translator .. aren't there generic ones available, since the DB-level interface (JDBC) is standardized? -O