service bulider(service.xml) column types


When ever your are writing the service.xml , you may have doubts what type the liferay supports.

Here we go,

  Take look at the servicebulider class and method getSqlType(-,-,-) .

So whenever you have to define data Type have a glance at this class.

 Refer the "com.liferay.portal.tools.servicebuilder.dependencies" package what columns , Tables will allowed to add in the service.xml.

bad_table_names.txt - Refer the this txt file what table names to be avoided.

bad_column_names.txt - Refer this to be avoided the column name.

Also refer the .ftl how they are generated the files.

Comments