You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Knut Anders Hatlen (JIRA)" <ji...@apache.org> on 2010/05/15 17:57:42 UTC

[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

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

Knut Anders Hatlen commented on DERBY-4636:
-------------------------------------------

This was also reported as DERBY-159, which was converted to a doc issue because the DRDA protocol allegedly doesn't allow these warnings to be sent.

> 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.
-
You can reply to this email to add a comment to the issue online.