db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armin Waibel (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (OJB-54) ConnectionFactoryManagedImpl may try to use pool
Date Tue, 15 Nov 2005 14:56:28 GMT
     [ http://issues.apache.org/jira/browse/OJB-54?page=all ]
     
Armin Waibel resolved OJB-54:
-----------------------------

    Fix Version: 1.0.4
     Resolution: Cannot Reproduce

No response on last comment, assume it was a configuration problem

> ConnectionFactoryManagedImpl may try to use pool
> ------------------------------------------------
>
>          Key: OJB-54
>          URL: http://issues.apache.org/jira/browse/OJB-54
>      Project: OJB
>         Type: Bug
>     Versions: 1.0.x CVS
>  Environment: JBoss/HSQL
>     Reporter: Michael Lipp
>      Fix For: 1.0.4

>
> When I configure ConnectionFactoryManagedImpl as connection factory, I expect that my
already managed connection (e.g. from JBoss) is used. However, as ConnectionFactoryManagedImpl.lookupConnection
calls ConnectionFactoryAbstractImpl.lookupConnection this is not the case. ConnectionFactoryAbstractImpl.llokupConnection
doesn't care whether or not  called from ConnectionFactoryManagedImpl. Rather, its behaviour
depends on jcd.isDataSource() which in turn depends on a data source name being set (and in
my case subsequently causes an error because it wants a driver name for creating a pool and
the driver name is not given).
> This is not  what the "uninitiated" user expects. Especially in conjunction with using
JdbcMetadataUtils. I used this to fill my JCD, set connection factory to ConnectionManagedImpl
 and, of course, expected everything to work find. No mentioning anywhere that I have to specify
a data source name!

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message