cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Gauthier - INSERM SIRH <philippe.gauth...@tolbiac.inserm.fr>
Subject How to get a jdbc connection or jdbc url(defined in cocoon.xconf) from flowscript
Date Tue, 17 Jul 2007 16:12:32 GMT
Hi everyone,

I would like to get a jdbc connection or its url/login/pass as defined 
in the cocoon.xconf and use it from the flowscript.
Example from cocoon.xconf
<jdbc name="CordobaJDBC">
        <pool-controller max="10" min="5" oradb="true"/>
        <dburl>jdbc:oracle:thin:@xx.xxxxx.xxxx:1564:XXXXX01</dburl>
        <user>XXXX</user>
        <password>XXXX</password>
</jdbc>

For now I use global variable defined in the sitemap and pass them to 
the flowscript, but that's not clean.
Thx for your help.

-- 
Philippe Gauthier
INSERM


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


Mime
View raw message