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="mapping.xml" />
</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

Reply via email to