Hi.
It's seems to be ok.
I have a one very similar.
<database name="central" engine="oracle">
<driver class-name="oracle.jdbc.pool.OracleDataSource" url="">
<param name="user" value="XXX"/>
<param name="password" value="YYY"/>
</driver>
<mapping href="">
</database>
Is the class-name ok? I have a different one.
And also the name of the database (I guess) must be the same in the file?
Gus
-----Mensaje original-----
De: Marcello Schmidt [mailto:[EMAIL PROTECTED]]
Enviado el: Wednesday, January 15, 2003 09:07
Para: [EMAIL PROTECTED]
Asunto: [castor-dev] Oracle Connectin Pooling
Hello
I am using Castor in an application without a
container, and it was very successfull, bringing to
the developers a much easier and faster way to bring
data to the application.
We use Oracle 8 and my database is configured using
the jdbc driver from Oracle.
Does anybody know how to configure Castor to use the Datasource.
I tryied the following configuration:
<database name="gestour" engine="oracle" >
<data-source
class-name= "oracle.jdbc.pool.OracleConnectionPoolDataSource">
<params
server-name="mydbhost"
port-number="myport"
user="xxxxx"
password="xxxx"
/>
</data-source>
<mapping href="" />
</database>
and my application raised the following exception:
org.exolab.castor.jdo.QueryException:
java.sql.SQLException: Invalid Oracle URL specified: OracleDataSource.makeURL at org.exolab.castor.jdo.engine.SimpleQueryExecutor.execute(Unknown
Source)
Thanks
=====
[EMAIL PROTECTED]
www.marcelloschmidt.tk
Linux user #297319
http://counter.li.org
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev
