Foren

Increase string DB column size in table created from service builder

Anil KC, geändert vor 10 Jahren.

Increase string DB column size in table created from service builder

Junior Member Beiträge: 35 Beitrittsdatum: 21.12.12 Neueste Beiträge
I have requirement that the column size of String should be greater than 75 which is the default value. What i did is: first build service. Then in portlet-model-hints.xml Added hints
<field name="description" type="String">
			<hint name="max-length">200</hint>
		</field>

After again service build, the model is replaced with fields without hints. What is the problem here? How can i extend the column size? so far i followed http://www.liferay.com/community/wiki/-/wiki/1071674/Customize+DB+Column+Sizes/maximized but didn't work.
thumbnail
Raja Seth, geändert vor 10 Jahren.

RE: Increase string DB column size in table created from service builder

Regular Member Beiträge: 233 Beitrittsdatum: 18.08.11 Neueste Beiträge
HI Anil,

Check whether your build number is increased or not. Seems like its not properly building.

Regards,
Raja