留言板

Covert null not working in liferay-ce-portal-7.0-ga3

Theja Babu,修改在6 年前。

Covert null not working in liferay-ce-portal-7.0-ga3

New Member 帖子: 15 加入日期: 17-6-2 最近的帖子
Hi All,

I'm developing a portlet application using spring portlets and liferay service builders in liferay-ce-portal-7.0-ga3. I have a requirement to pass null values to the database. Since there was no wrappers in service builder it's passing default value of primitives . After checking the forum found the below URl to use convert null and I followed the same and deployed the service builders and found that still service builder is passing the default values instead of null.
Can some suggest how to pass null values in liferay-ce-portal-7.0-ga3 generated service builder?

Url that I folloed :-
https://web.liferay.com/web/jonas.yuan/blog/-/blogs/applying-convert-null-attribute-in-service-builder-to-persist-null-and-not-null-into-data-types-in-databases