|
|
JDO DataSource configuration using a Properties collection |
Query page
Enter new bug
The attached patch allows to configure JDO using a JDBC DataSource by providing
the configuration parameters using a Properties collection.
------- Additional Comment
#1 From
Martin Fuchs
2004-11-06 03:55 -------
Created an attachment (id=764)
proposed patch
The idea is to allow configuration in a similary way like with JDBC 3.0.
------- Additional Comment
#2 From
Werner Guttmann
2004-11-10 14:29 -------
Martin, can I please ask you to amend the CTF test case as well (in case there
is one already).
------- Additional Comment
#3 From
Martin Fuchs
2004-11-11 14:37 -------
Created an attachment (id=766)
JUnit tests for JdoConfFactory
Well, this is a bit difficult. The JDO-CTF internally configures the database
connection, so I can't use it to test JdoConfFactory.
But I can provide you with JUnit test cases in this patch file. The test class
is configured to use an Oracle Database, but can be change without problems to
use other drivers. (see the string constants at the top)
------- Additional Comment
#4 From
Werner Guttmann
2004-11-12 00:53 -------
No problem, Martin, as you can add 'independent' JUnit test cases to src/tests,
i.e. test cases that are not part of the test suite. There's already some at
src/tests/org/exolab/castor/jdo.**.
------- Additional Comment
#5 From
Werner Guttmann
2004-11-29 03:36 -------
Patch (code only) applied as provided. Martin, I decided not to include the test
case as it stands, for the reasons described above. And I didn't want to include
it as a simple JUnit test case either, as this would imply creating new config
files, which I don't think is ideal. Iow, can we please create a new bug report
for just the test case ?
------- Additional Comment
#6 From
Werner Guttmann
2004-11-29 03:37 -------
Well, well .. setting the bug state to 'FIXED' ... ;-).
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.
|
|