Hi,

Here is my XML config File. It uses DataSource, but NOT through JNDI.
2 Advantages for that:
* U got a Pooled Connection
* U don't have to lauch the server
--------------------------------------------------------------------------------------------------
<!DOCTYPE database SYSTEM "jdo-conf.dtd">
<database name="rssdb" engine="db2">
       <data-source class-name = "COM.ibm.db2.jdbc.DB2DataSource">
       <params
                   description="datasource for rssDb"
                   databaseName="rssdb"
                   user="userid"
                   password="password"
       />
       </data-source>
       <mapping href="Rssmapping.xml" />
</database>

Hope this helps!
Have a nice Day.

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

Reply via email to