[
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: 10.7.1.1
> 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