serviceBuilder convert-null not working, empty string becomes nullserviceBuilder convert-null not working, empty string becomes nullhttps://liferay.dev/en/c/message_boards/find_thread?p_l_id=119785333&threadId=1128054972024-03-28T16:24:30Z2024-03-28T16:24:30ZRE: serviceBuilder convert-null not working, empty string becomes nullErik Lillegravenhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1128139992019-03-18T20:23:20Z2019-03-18T20:23:20ZI tried setting it to both false and true, but it makes no difference.<br />I think maybe that this functionality is done by Hibernate, but don't know how this parameter/flag is sent from serviceBuilder code to Hibernate?<br /><br />Thanks,<br />ErikErik Lillegraven2019-03-18T20:23:20ZRE: serviceBuilder convert-null not working, empty string becomes nullDavid H Nebingerhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1128100412019-03-18T14:33:03Z2019-03-18T14:33:03ZSo change convert null to false?David H Nebinger2019-03-18T14:33:03ZserviceBuilder convert-null not working, empty string becomes nullErik Lillegravenhttps://liferay.dev/en/c/message_boards/find_message?p_l_id=119785333&messageId=1128054962019-03-18T11:05:34Z2019-03-18T11:05:34ZHello everyone,<br /><br />I got a problem in service builder with saving objects with empty strings '' that becomes null when saved to postgres database v9.6.<br />According to DTD, convert-null is true by default, and I have not modified this in service.xml.<br />Using Liferay CE 7.1 GA3.<br />No problem with this in Liferay v6.2, which always saved as empty string ''.<br /><br />This may become problematic if the column is used in a unique index. since null is not considered equal, and therefore opens up for duplicates.<br /><br />I could n