pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
SQLJ, any plans?
4+ messages / 2 participants
[nested] [flat]

* SQLJ, any plans?
@ 2005-11-25 18:22 Jaime Casanova <systemguards@gmail.com>
  2005-11-25 23:40 ` Re: SQLJ, any plans? Oliver Jowett <oliver@opencloud.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Jaime Casanova @ 2005-11-25 18:22 UTC (permalink / raw)
  To: pgsql-jdbc

Hello all,

are there any plans to get embedded SQL (SQLJ) to work with the jdbc
in postgres?

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: SQLJ, any plans?
  2005-11-25 18:22 SQLJ, any plans? Jaime Casanova <systemguards@gmail.com>
@ 2005-11-25 23:40 ` Oliver Jowett <oliver@opencloud.com>
  2005-11-26 05:52   ` Re: SQLJ, any plans? Jaime Casanova <systemguards@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Oliver Jowett @ 2005-11-25 23:40 UTC (permalink / raw)
  To: Jaime Casanova <systemguards@gmail.com>; +Cc: pgsql-jdbc

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?

-O



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: SQLJ, any plans?
  2005-11-25 18:22 SQLJ, any plans? Jaime Casanova <systemguards@gmail.com>
  2005-11-25 23:40 ` Re: SQLJ, any plans? Oliver Jowett <oliver@opencloud.com>
@ 2005-11-26 05:52   ` Jaime Casanova <systemguards@gmail.com>
  2005-11-26 12:19     ` Re: SQLJ, any plans? Oliver Jowett <oliver@opencloud.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Jaime Casanova @ 2005-11-26 05:52 UTC (permalink / raw)
  To: Oliver Jowett <oliver@opencloud.com>; +Cc: pgsql-jdbc

On 11/25/05, Oliver Jowett <oliver@opencloud.com> 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?
>
> -O
>

The driver works fine, AFAIK... but it can use  the SQLJ syntax?

#sql { SELECT campo INTO :var FROM tabla WHERE id = :id_var; }

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: SQLJ, any plans?
  2005-11-25 18:22 SQLJ, any plans? Jaime Casanova <systemguards@gmail.com>
  2005-11-25 23:40 ` Re: SQLJ, any plans? Oliver Jowett <oliver@opencloud.com>
  2005-11-26 05:52   ` Re: SQLJ, any plans? Jaime Casanova <systemguards@gmail.com>
@ 2005-11-26 12:19     ` Oliver Jowett <oliver@opencloud.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Oliver Jowett @ 2005-11-26 12:19 UTC (permalink / raw)
  To: Jaime Casanova <systemguards@gmail.com>; +Cc: pgsql-jdbc

Jaime Casanova wrote:
> On 11/25/05, Oliver Jowett <oliver@opencloud.com> 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



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2005-11-26 12:19 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-11-25 18:22 SQLJ, any plans? Jaime Casanova <systemguards@gmail.com>
2005-11-25 23:40 ` Oliver Jowett <oliver@opencloud.com>
2005-11-26 05:52   ` Jaime Casanova <systemguards@gmail.com>
2005-11-26 12:19     ` Oliver Jowett <oliver@opencloud.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox