db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Dudziak (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DDLUTILS-48) Some columns may be UNIQUE
Date Mon, 14 Nov 2005 20:04:28 GMT
     [ http://issues.apache.org/jira/browse/DDLUTILS-48?page=all ]
     
Thomas Dudziak resolved DDLUTILS-48:
------------------------------------

    Resolution: Won't Fix

In DdlUtils, the unique constraint is modelled via a special unique index:

<table name="book">
    <column name="book_id"
            type="INTEGER"
            required="true"
            primaryKey="true"
            autoIncrement="true"/>
    <column name="isbn"
            type="VARCHAR"
            size="15"
            required="true"/>
    <unique name="book_isbn">
      <unique-column name="isbn"/>
    </index>
  </table>

> Some columns may be UNIQUE
> --------------------------
>
>          Key: DDLUTILS-48
>          URL: http://issues.apache.org/jira/browse/DDLUTILS-48
>      Project: DdlUtils
>         Type: Improvement
>     Reporter: Juliano Julio
>     Assignee: Thomas Dudziak

>
> Some columns must be assigned as unique, this statement is part of the ANSI SQL and a
UNIQUE COLUMN MUST be NOT NULL too...
> So we need a method setUnique(boolean) on Column class...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message