Liferay SQL data types list -
is there documentation available list of available sql datatypes used in service.xml?
what value should use make configuration compatible following table structure:
create table sample_table ( name varchar(100) not null, description varchar(300) default null, create_date timestamp )
it feels funny link service-builder dtd (here html version - see declaration @ top of service.xml actual file), can learn lot it: contains way more documentation actual dtd code, it's human readable dealing service builder. in dtd you'll find attributes declare want connect existing table instead of creating 1 through servicebuilder default mechanisms.
there's file, afaik sadly not have dtd: model-hints.xml. however, luckily there's developer guide chapter on it: contains quite information, like: max-length of varchar fields etc. . use file more validation or specify more details columns autogenerated entity tables.
Comments
Post a Comment