There exists a problem when using the current version of JdoConfFactory to
configure Castor for using a JDBC Datasource. The attached patch solves this
and updates the documentation with an example showing the new usage pattern.
Note, if you want to use this to configure a Oracle connection using JDBC
connection pooling, you have to apply also the patch of bug 1691.