Uploaded image for project: 'Derby'
  1. Derby
  2. 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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 10.5.3.1, 10.6.1.0
    • None
    • JDBC, Network Server
    • None
    • Repro attached
    • Embedded/Client difference

    Description

      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';

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhillegas Richard N. Hillegas
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: