cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Beauprez Sven <Sven.Beaup...@the-ecorp.com>
Subject RE: [C2] Postgres with SQL - Transformer
Date Thu, 28 Jun 2001 14:22:17 GMT
Mariano,

The latest version of the SQLTransformer (HEAD branch) uses prepared
statements (for the queries) and callable statements (for stored
procedures). It doesn't use the createStatement() on the connection object
anymore. I removed it because i thought it would be an improvement to use
prepared statements instead. (i thought all jdbc drivers implemented this,
but it seems not all of them do :-( )

I think the code will get messy if i incorporate the old way also, i will
try to find a compromise for this...

Someone an idea?

In the meantime, the old version of the SQLTransformer in the
cocoon_20_branch still uses createStatement(), maybe you can use this one
for now.


Sven




-----Original Message-----
From: Mariano Kamp [mailto:mkamp@codamax.com]
Sent: Thursday, June 28, 2001 2:36 PM
To: cocoon-users@xml.apache.org
Subject: [C2] Postgres with SQL - Transformer


Hi there,

  I tried C2 with postgress, but postgres throws an exeption that 
prepareStatement() is not supported yet ;-( Is there any way to tell the 
SQL-Transformer not to prepare the Statements and use dynamic sql instead?

Mariano

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message