pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Servin <cservin@cromagnon.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: Help !! Postgres on JDeveloper+ADF
Date: Wed, 21 Sep 2005 12:22:54 -0500
Message-ID: <200509211222.55072.cservin@cromagnon.com> (raw)
In-Reply-To: <2154.69.79.131.31.1127314227.squirrel@www.sayago.info>
References: <1127219420.032776.35880@g14g2000cwa.googlegroups.com>
	<43308CA8.6020607@opencloud.com>
	<2154.69.79.131.31.1127314227.squirrel@www.sayago.info>

The way that I would deal with this is by implementing a JDBC driver.  I would 
cheat with a java.lang.reflect.Proxy which really just passes everything to 
the PostreSQL JDBC driver but parses the statements and removes the alias.

It should not be too hard.  But since this is so specific to your situation I 
do not think anyone is going to do it for you.  I think that a 
java.lang.reflect.Proxy is the way to go.



On Wednesday 21 September 2005 09:50 am, andres@sayago.info wrote:
> Hello again.
>
> I can't find the solution. I need to use PostgreSQL on JDeveloper using
> ADF. I get an error about "check sintaxis". The problem is that ADF use
> aliases for UPDATE statements, and PostgreSQL not (MySQL yes!!).
>
> Can you help me??
>
> Andrés Sáyago
> Bogotá D.C., Colombia
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings



view thread (4+ messages)  latest in thread

Message-ID: <200509211222.55072.cservin@cromagnon.com>
Permalink:  ../200509211222.55072.cservin@cromagnon.com/
Also on:    postgresql.org/message-id/200509211222.55072.cservin@cromagnon.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: cservin@cromagnon.com
  Subject: Re: Help !! Postgres on JDeveloper+ADF
  In-Reply-To: <200509211222.55072.cservin@cromagnon.com>
  References: <1127219420.032776.35880@g14g2000cwa.googlegroups.com> <43308CA8.6020607@opencloud.com> <2154.69.79.131.31.1127314227.squirrel@www.sayago.info> <200509211222.55072.cservin@cromagnon.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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