History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CASTOR-921
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Werner Guttmann
Reporter: Martin Fuchs
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
castor

JdoConfFactory and DataSource configuration regression

Created: 05/Nov/04 04:17 PM   Updated: 19/Apr/05 10:52 AM
Component/s: JDO
Affects Version/s: 0.9.5.4
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File castor-1784.patch (6 kb)

Environment:
Operating System: All
Platform: PC

Bugzilla Id: 1784


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Martin Fuchs - 05/Nov/04 04:20 PM
Created an attachment (id=762)
proposed patch

Martin Fuchs - 26/Nov/04 11:06 AM
Werner,

I think it's more important to fix existing bugs than to introduce new
functionality in RC2. Did you forget about this bug?

Sorry, I had not enough time for things like refreshing bug 1792 this week. I
think this will happen today/tomorrow.


Werner Guttmann - 27/Nov/04 03:17 AM
I guess I did, Martin. Too many things going on at the same time ... don't worry
about bug 1792, as I have been going in circles the other day without knowing
what I was doing ... .

Martin Fuchs - 27/Nov/04 05:02 AM
Oops, I wanted to name "bug 1791" as additional enhancement feature instead of
the "bug 1792", which is really a bug/regression.

Werner Guttmann - 28/Nov/04 05:23 AM
Patch applied as provided.

Werner Guttmann - 28/Nov/04 05:25 AM
Actually, kust realized that there might be a slight problem with the following
line of database.xml:

org.exolab.castor.jdo.conf.DataSource dsConf =
JdoConfFactory.createJdoDSConf(s_jdo_driver_name_pooling);

What's the name of the Oracle DataSource useed with pooling ?


Werner Guttmann - 28/Nov/04 05:28 AM
Actually, by looking at bug 1785, I just realized what value that constant has
to have .. .

Martin Fuchs - 28/Nov/04 06:12 AM
OK, finished.