Page 1 of 1

java.lang.String -> DDL

PostPosted: Tue Jan 20, 2015 3:13 pm
by alan.bael@jpmchase.com
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?

Re: java.lang.String -> DDL

PostPosted: Thu Jan 22, 2015 1:50 am
by PauliusGrigaliunas
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