db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4636) ij reports a warning when you use 'create=true' to connect to an existing database using the embedded driver but not when you use the network driver
Date Tue, 15 Feb 2011 01:27:57 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12994615#comment-12994615
] 

Dag H. Wanvik commented on DERBY-4636:
--------------------------------------

"The DRDA protocol allegedly doesn't allow these warnings to be sent." I think we worked around
this limitation for SUR: cf https://issues.apache.org/jira/browse/DERBY-1313

> ij reports a warning when you use 'create=true' to connect to an existing database using
the embedded driver but not when you use the network driver
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4636
>                 URL: https://issues.apache.org/jira/browse/DERBY-4636
>             Project: Derby
>          Issue Type: Bug
>          Components: JDBC, Network Server
>    Affects Versions: 10.5.3.1, 10.6.1.0
>            Reporter: Rick Hillegas
>            Priority: Minor
>
> If you try to connect to any existing database using the 'create=true' attribute, ij
reports a warning if you are using the embedded driver but not if you are using the network
driver. I verified this on 10.6.1.0, 10.5.3.0, and 10.1.1.0.
> ij version 10.6
> ij> connect 'jdbc:derby:db;create=true';
> ij> connect 'jdbc:derby:db;create=true';
> WARNING 01J01: Database 'db' not created, connection made to existing database instead.
> ij(CONNECTION1)> connect 'jdbc:derby://localhost:8246/networkdb;create=true';
> ij(CONNECTION2)> connect 'jdbc:derby://localhost:8246/networkdb;create=true';

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message