cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Morandini" <l.mo...@tin.it>
Subject RE:
Date Thu, 07 Feb 2002 08:03:09 GMT
Chits,

you can take a look at the SQLTransformer source code, which is included in
Cocoon.

Regarding the datasource, here it is (you should place it in cocoon.xconf):

  <datasources>
	<jdbc name="noria-dev">
		<pool-controller min="5" max="10" oradb="true"/>
		<dburl>jdbc:oracle:thin:@localhost:1521:sid</dburl>
		<user>user</user>
		<password>password</password>
	</jdbc>
  </datasources>

I hope this can help...

---------------------------------------------
               Luca Morandini
               GIS Consultant
              lmorandini@ieee.org
http://utenti.tripod.it/lmorandini/index.html
---------------------------------------------


> -----Original Message-----
> From: Chitharanjan Das [mailto:cdas@accordiasys.com]
> Sent: Thursday, February 07, 2002 6:35 AM
> To: cocoon-users@xml.apache.org
> Subject: FW:
>
>
>
> Hello All,
> 	I am planning to provide the user authentication procedure via
> an Action.
> 	How do I access the datasource from JAVA code, to obtain a
> connection?
>
> 	Please include datasource example for oracle and sample code in
> JAVA to access the named datasource.
>
>
> Regds,
> Chiths
>
>
>
> ---------------------------------------------------------------------
> 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