db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Re: Derby Shutdown
Date Sat, 01 Jul 2006 14:27:22 GMT
Daniel Morton wrote:

>Hello All...
>I was just wondering, why does Derby throw an
>SQLException when it shuts down, ie:
Shutdown is implemented with attributes on the url with  the 
getConnection() method  which can either
    a) return a connection
    b) throw an exception.

Obviously it can't return a connection in this case so it has to throw 
an exception.


Not intuitive I agree,  but the only way I guess to fit this 
functionality into this API.


View raw message