Jeff,

you might want to consider to have a look at the latest sources through CVS, as we 
have added a new JDO.loadConfiguration (JDOConf) method that 
allows you to create a in-memory representation of Castor's XML config file (without 
having to have one). In addition, we have provided a 
JdoConfFactory class to assist you in your task of creating a JdoConf instance.

If you cannot get your head around checking out code from our CVS server and building 
the distribution yourself, please bear with me as I do have 
plans to release a release candidate of the upcoming 0.9.6 release at the end of next 
week.

Thanks
Werner

)to On Fri, 08 Oct 2004 10:47:34 -0400, Jeff Bonevich wrote:

>
>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
>



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

Reply via email to