db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mamta A. Satoor (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5139) User schema not auto-created on creation of self-referencing table
Date Fri, 24 Feb 2012 20:31:48 GMT

     [ https://issues.apache.org/jira/browse/DERBY-5139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Mamta A. Satoor updated DERBY-5139:

    Urgency: Normal
     Labels: derby_triage10_9  (was: )
> User schema not auto-created on creation of self-referencing table
> ------------------------------------------------------------------
>                 Key: DERBY-5139
>                 URL: https://issues.apache.org/jira/browse/DERBY-5139
>             Project: Derby
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions:
>            Reporter: Knut Anders Hatlen
>              Labels: derby_triage10_9
> The schema for the current user is usually auto-created on the first DDL operation if
it doesn't already exist. If the DDL is a CREATE TABLE statement that creates a self-referencing
table, however, the schema is not created, and the CREATE TABLE statement fails:
> ij version 10.7
> ij> connect 'jdbc:derby:testdb;create=true;user=alice';
> ij> create table self_referencing_t1(x int primary key, y int references self_referencing_t1);
> ERROR 42Y07: Schema 'ALICE' does not exist

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message