Hello.

I follows myself.

I thought connection pool worked behind DataSource interface.
Is it impossible ... ?

Well ... Expression (of English ) which can cause misunderstanding ....
I meant that I want to confirm that the DataSource object in the code is a 
connection pool.

Best regards.

/*

        Tomohito Nakayama
        [EMAIL PROTECTED]
        [EMAIL PROTECTED]
        [EMAIL PROTECTED]

        Naka
        http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/
----- Original Message ----- From: "TomohitoNakayama" <[EMAIL PROTECTED]>
To: "Derby Development" <[email protected]>
Sent: Monday, August 08, 2005 10:31 PM
Subject: Re: [jira] Commented: (DERBY-273) The 
derbynet/dataSourcePermissions_net.java test fails intermittently


Hello.


So would just closing the pooled connection work?
For instance, in dataSourcePermissions.java  we have code line this ....


           checkConnection(ds.getPooledConnection("FRANCES", "isabella"));
           shutdown();

Could we just close the PooledConnection before calling shutdown in the
test?


I remember next lines were where closing problem happened.

L152 maybe .... ; I have lost information about line number ....
checkConnection(ds.getConnection("EDWARD", "noodle"));
   checkConnection(ds.getConnection("FRANCES", "isabella"));
>              if (supportsUnicodeNames()) {
>                    checkConnection(ds.getConnection(zeus, apollo));
             }

   shutdown();

Connection of EDWARD and FRANCES was never closed.

I thought connection pool worked behind DataSource interface.
Is it impossible ... ?


Best regards.

/*

        Tomohito Nakayama
        [EMAIL PROTECTED]
        [EMAIL PROTECTED]
        [EMAIL PROTECTED]

        Naka
        http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/
----- Original Message ----- From: "Kathey Marsden" <[EMAIL PROTECTED]>
To: "Derby Development" <[email protected]>
Sent: Monday, August 08, 2005 9:42 PM
Subject: Re: [jira] Commented: (DERBY-273) The 
derbynet/dataSourcePermissions_net.java test fails intermittently


TomohitoNakayama wrote:

Talking with people,
I came to think processing in dataSourcePermissions_net.java is
special as processing of program which use ConnectionPooling,
because such programs generally do not close database by themself.

So would just closing the pooled connection work?
For instance, in dataSourcePermissions.java  we have code line this ....


           checkConnection(ds.getPooledConnection("FRANCES", "isabella"));
           shutdown();

Could we just close the PooledConnection before calling shutdown in the
test?


Kathey






--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 2005/08/04




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 2005/08/04




--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 2005/08/04




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 2005/08/04

Reply via email to