Bugzilla Version 2.16.7
Bugzilla Bug 1784
  JdoConfFactory and DataSource configuration regression
     Query page      Enter new bug
Bug#: 1784   Platform:   Reporter: martin-fuchs at gmx dot net (Martin Fuchs)
Product:   OS:   Add CC:
Component:   Version:   CC:
Status: CLOSED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: werner dot guttmann at gmx dot net (Werner Guttmann)   Target Milestone:  
URL:
Summary:

Attachment Type Modified Status Actions
proposed patch patch 2004-11-05 16:20 none Edit
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 1784 depends on: Show dependency tree
Show dependency graph
Bug 1784 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments:


Leave as CLOSED FIXED
Reopen bug

View Bug Activity   |   Format For Printing

Description: Opened: 2004-11-05 16:17

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.

------- Additional Comment #1 From Martin Fuchs 2004-11-05 16:20 -------
Created an attachment (id=762)
proposed patch

------- Additional Comment #2 From Martin Fuchs 2004-11-26 11:06 -------
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.

------- Additional Comment #3 From Werner Guttmann 2004-11-27 03:17 -------
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 ... ;-).

------- Additional Comment #4 From Martin Fuchs 2004-11-27 05:02 -------
Oops, I wanted to name "bug 1791" as additional enhancement feature instead of 
the "bug 1792", which is really a bug/regression.

------- Additional Comment #5 From Werner Guttmann 2004-11-28 05:23 -------
Patch applied as provided.

------- Additional Comment #6 From Werner Guttmann 2004-11-28 05:25 -------
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 ?

------- Additional Comment #7 From Werner Guttmann 2004-11-28 05:28 -------
Actually, by looking at bug 1785, I just realized what value that constant has
to have .. ;-). 

------- Additional Comment #8 From Martin Fuchs 2004-11-28 06:12 -------
OK, finished.

     Query page      Enter new bug
This is Bugzilla: the Mozilla bug system. For more information about what Bugzilla is and what it can do, see bugzilla.org.
Actions: New | Query | bug # | Reports   New Account | Log In