create-schema fails if attribute named "use" or "when"
------------------------------------------------------

         Key: DB-7
         URL: http://jira.andromda.org/browse/DB-7
     Project: Database Cartridge
        Type: Bug
 Environment: 3.1-M1-SNAPSHOT, Mac OS X 10.4.1 Java 1.5 MySQL 5.0.7 beta
    Reporter: Gary Struthers
 Assigned to: Chad Brandon 
    Priority: Minor


Attribute name of an Entity was "use", create-schema failed to create table for 
it, error message:
    [sql] [ERROR] Failed to execute: create table ORGANIZATION_NAME ( ID BIGINT 
not null auto_increment, NAME VARCHAR(255) BINARY not null, USE VARCHAR(255) 
BINARY, VALID_FROM DATETIME, VALID_TO DATETIME, primary key (ID) )
    [sql] [ERROR] java.sql.SQLException: You have an error in your SQL syntax; 
check the manual that corresponds to your MySQL server version for the right 
syntax to use near 'USE VARCHAR(255) BINARY, VALID_FROM DATETIME, VALID_TO 
DATETIME, primary key (ID' at line 1

Changed attribute name from "use" to "purpose" create-schema ran without error. 
Same thing with attribute name "when"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to