On Mon, 25 Apr 2005, Tom Donovan wrote:

> Bug reference:      1624
> Logged by:          Tom Donovan
> Email address:      [EMAIL PROTECTED]
> PostgreSQL version: 8-0-311
> Description:        connect uses properties before URL
> Details: 
> 
> The JDBC DriverManager calls connect() in all loaded drivers to find a
> driver for a URL.  

Then what is the purpose of Driver.acceptsURL ?

> The PostgreSQL driver iterates the properties before checking if it is a
> PostgreSQL URL.  If properties for any other driver are large (i.e. for an
> in-memory db) or not String (as they should be) - this fails.

Could we see an actual failure scenario (stacktrace) here?  I don't see 
why a large number of properties would be a problem.  A non-String object 
in a Properties is a problem in the calling code, not ours.

Kris Jurka

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to