cocoon-dev 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][Patch] SQLTransformer gives an DriverNotCapableException Exc eption when used with Interbase Interclient 1.6 JDBC Drivers
Date Wed, 25 Jul 2001 09:43:32 GMT
Sorry for the late response,

By changing the prepareStatement with 3 parameters to the one with 1
parameter, you lose some of the functionality of the SQLTransformer. The
prepareStatement with 3 parameters is needed to be able to count the number
of rows that a query returns, but since you are working on a patch now that
leaves this in the SQLTransformer, it shouldn't become a problem.

Sven

> 
> > > Can you re-work your patch such that you pick up a flag from 
> > > sitemap.xmap or cocoon.xconf to
> > > choose whether to use the new prepareStatement with 3 
> > > parameters or to use the old one which takes
> > > in just one parameter. This way people can use whichever 
> they want. 
> > > 
> > 
> > After a bit more digging ( never reached that deeper before, it's
> > complex!!!!, but nice !!!) 
> > 
> > It seems to me now that the right place ( at least the 
> place where, now,
> > i know how to do it :) is sitemap.xmap map:components section doing
> > something like XalanTransformer does, 2 questions :
> > 
> > 1) is ok to add configurable interface to SQLTransformer?
> 
> +1
> 
> > 2) <old-jdbc-driver/> with a Boolean value inside is ok for 
> a name to
> > this new parameter?
> 
> +1. You mean "true" or "false" right :)
> 
> > Saludos ,
> > Ignacio J. Ortega
> > 
> > 
> 
> 
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
> 
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with 
> Yahoo! Messenger
> http://phonecard.yahoo.com/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message