Thanks,
It works!
But do I really use datasource with this ??
How can I define min and max pool size ??

Bye



>>> [EMAIL PROTECTED] 04/02/02 17:31:14 >>>
Try this format, it works for me.

<?xml version = "1.0" encoding = "UTF-8"?>
<!DOCTYPE database PUBLIC "-//EXOLAB/Castor JDO Configuration DTD Version
1.0//EN" "http://castor.exolab.org/jdo-conf.dtd";>
<database name = "test" engine = "oracle">
        <driver url = "jdbc:oracle:thin:@localhost:1521:TEST" class-name =
"oracle.jdbc.pool.OracleConnectionCacheImpl">
                <param name = "user" value = "SYSTEM"/>
                <param name = "password" value = "manager"/>
        </driver>    
        <mapping href = "mapping.xml"/>
</database>

-rich

-----Original Message-----
From: Sylvie RAMON [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 01, 2002 3:01 AM
To: [EMAIL PROTECTED] 
Subject: [castor-dev] JDO and datasources


Hi, 

I want to use datasource, i think the jdo-conf.dtd is incorrect for this.
In the sample, we can see
<database name="..." engine="oracle" >
<data-source class-name="oracle.jdbc.pool.OracleConnectionCacheImpl">
<params URL="jdbc:oracle:thin:@localhost:1521:TEST" user="SYSTEM"
password="manager"/>
</data-source>
...
</database>

but in the jdo-conf.dtd, the element "params" doesn't exist ??

Do i have to use element "param" ??
Is url necessary with datasource ?

Someone could help me ??

Thanks

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

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

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

Reply via email to