Also for mysql the DatTime type is generated as
datatype.DateTime which is a syntaz error for mysql


--- Gabriela Chiribau <[EMAIL PROTECTED]> wrote:
> I am working on a MySql enabled project.
> 
> I have changed the required lines in the
> project.properties, created the JBOSS data source
> etc...
> 
> In the model, I defined a class that has an
> attribute
> called id of type string, and stereotyped it with
> "Primary Key".
> 
> There are 2 problems with the sql script generation:
> 
> 1. alter table MYTABLE drop foreign key
> FKA11C0E763DD0AD86 statements are generated for an
> "initialize script"; mysql complins of syntax errors
> 
> 2. the id is generated as string but with
> autoincrement ;)
> create table MYTABLE (ID varchar(255) not null
> auto_increment, primary key (ID))
> 
> Is this a bug or a feature ?
> 
> What settings need to be done to correctly generate
> the script?
> 
> Also, please can you point me to a doc where the
> tagged values for the hibernate carridge are
> explained?
> 
> Thank you,
> 
> Gabriela
> 
> 
>               
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/ 
> 
> 
>
-------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT
> Products from real users.
> Discover which products truly live up to the hype.
> Start reading now.
>
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Andromda-user mailing list
> Andromda-user@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/andromda-user
> 


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to