java.lang.String -> DDL

General discussions about code engineering

Moderator: Moderators

java.lang.String -> DDL

Postby alan.bael@jpmchase.com » Tue Jan 20, 2015 3:13 pm

Can't transform java.lang.String to string/varchar/char when generating to any of the SQL formats.
It is left blank ie. just the column name is written. How do I do it correctly?
alan.bael@jpmchase.com
Forum Newbie
Forum Newbie
 
Posts: 1
Posts Rating:0
Joined: Tue Jan 20, 2015 3:07 pm

Re: java.lang.String -> DDL

Postby PauliusGrigaliunas » Thu Jan 22, 2015 1:50 am

Hello,

java.lang.Sring type has no mapping that would tell how to transform it from UML to SQL.
Either you have to use "UML Standard Profile::UML2 Metamodel::PrimitiveTypes::String" type instead or create mapping for your custom type.
How to create custom mapping, please check "Transformation Type Mapping" section in MagicDraw UserManual.pdf

Kind regards,
Paulius Grigaliunas
PauliusGrigaliunas
Customer Support
Customer Support
 
Posts: 59
Posts Rating:0
Joined: Mon Jul 19, 2010 1:37 am


Return to Code engineering

Who is online

Users browsing this forum: No registered users and 1 guest