]
Heiko Rupp commented on AS7-1232:
---------------------------------
Couldn't you make the last also a "outcome => failure" with a failure
description of "connection not valid" and perhaps a
"rolled-back=>false". This way success is only returned if the connection is
valid (default case) and otherwise return failure (for whatever reason).
:test-connection-in-pool is "useless"
-------------------------------------
Key: AS7-1232
URL:
https://issues.jboss.org/browse/AS7-1232
Project: Application Server 7
Issue Type: Bug
Components: JCA
Affects Versions: 7.0.0.CR1
Reporter: Heiko Rupp
Assignee: Stefano Maestri
I have defined a datasource like this:
[domain@localhost:9999 data-source=postresDS] :read-resource
{
"outcome" => "success",
"result" => {
"connection-url" => "jdbc:yadayada",
"driver-name" => "postgresql-9.0-801.jdbc4.jar",
So obviously with an invalid driver.
But still I get
[domain@localhost:9999 data-source=postresDS] :test-connection-in-pool
{
"outcome" => "success",
"result" => undefined
}
which makes imho no sense.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: