Use DataSource.  Configure datasource in your application, not in
Castor.  And it is not so difficult to set up a simple JNDI context,
even a mock one, to provide the DataSource to Castor.

jeff

>>> [EMAIL PROTECTED] 10/8/2004 8:50:45 AM >>>

Hi all,

I would like to encrypt the jdbc configuration in database.xml 

<param name="user" value="QDDdsicy96KSHks1" />
<param name="password" value="q4q64F6G4LF4" />

My solution concists of doing just that. Parsing and decrypting and
modifying the xml and streaming it to an ImputSource for use in the
Castor JDO API.

JDO.loadConfiguration(org.xml.sax.InputSource)

Any other ideas?

Sincerely,

Philip Mark Donaghy



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-user

Reply via email to