Re: junit tests failed on oracle

2003-03-01 Thread Thomas Mahler
Hi Al, Al Thompson wrote: Hi: After some mucking around, I see that a possible cause of problems with OJB+Oracle may be related to a workaround in PlatformOracleImpl. The source comments for the method changePreparedStatementResultSetType() state: * Attempts to modify a private member in

Re: ojb returns empty collections instead of null

2003-03-01 Thread Thomas Mahler
Hi Tim, Tim Drury wrote: When I retrieve an object from the database via OJB which has a collection of child objects, but there are no child objects in the database, OJB fills the parent object collection reference with an empty collection instead of keeping the collection reference null. Is

Re: OJB test failures

2003-03-01 Thread Jakob Braeuchi
hi andrew, i changed Identity to do a convertToSql when called with an object, no conversion takes place when called with pkValues. with this change all conversion test are passed. i have a version where conversion takes place during binding of the variables, but this version fails on the

nasty endless loop bug found in 0.9.9

2003-03-01 Thread Robert S. Sfeir
I added this following to the validate-query of a DB connection connection-pool maxActive=5 validationQuery=select count(userID) from users/ and since the userid is not a column name, I got this: [org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl] WARN: Validation query for

Re: OJB 0.9.9 mysql: Database User password form repository not used?

2003-03-01 Thread Jeffrey Gilbert
Here is what I use for fetching a PersistenceBroker in my code: PersistenceBroker broker = PersistenceBrokerFactory.createPersistenceBroker(new PBKey(default,sa,)); Where sa equals a user id and is the password. Hope this info helps, Jeff On Saturday 01 March 2003 06:19 pm, you wrote:

Re: OJB 0.9.9 mysql: Database User password form repository not used?

2003-03-01 Thread Cornelius Keller
Yes thats solves the Problem, but then I have to recompile if I want to change the Database settigns, and One of the reaseons for using OJB is that i dont want to. Any other Solutions so that OJB uses the user and Password defined in the repository_databases.xml? I am clling