Re: proposal for CallableStatements to handle multiple out

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: pg(at)fastcrypt(dot)com
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: proposal for CallableStatements to handle multiple out
Date: 2004-06-20 14:17:21
Message-ID: 40D59C71.2060904@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Dave Cramer wrote:
> No,
>
> What I was planning on doing is encapsulating all the code that parses
> the sql, and rewrites it into a small class, StatementSqlParser
> implement SqlParser, then changing the contstructor for
> AbstractJdbc1Statment to
>
> AbstractJdbc1Statement( Connection, SqlParser )
>
> Then I could create a second class CallableSqlParser which would deal
> with the differences in CallableStatements.

So essentially the SqlParser is a strategy object, or maybe strategy +
some state? Which object holds what state?

-O

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2004-06-21 00:16:50 Re: Question about encoding
Previous Message Oliver Jowett 2004-06-20 13:54:49 Re: [HACKERS] JDBC prepared statements: actually not server prepared