Fórumok
Entity in service.xml with column type as primitive Collection
Nilesh Gundecha, módosítva 10 év-val korábban
Entity in service.xml with column type as primitive Collection
Regular Member Bejegyzések: 205 Csatlakozás dátuma: 2009.12.01. Legújabb bejegyzések
Hi,
Is it possible to define entity in service.xml with columm type as Map<String, String>? I want my entity to hold one extraData column where I can store multiple key-value pairs (just like serviceContext object).
Regards,
Nilesh
Is it possible to define entity in service.xml with columm type as Map<String, String>? I want my entity to hold one extraData column where I can store multiple key-value pairs (just like serviceContext object).
Regards,
Nilesh
David H Nebinger, módosítva 10 év-val korábban
RE: Entity in service.xml with column type as primitive Collection (Válasz)
Liferay Legend Bejegyzések: 14919 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
no
Swetha Harshini, módosítva 8 év-val korábban
RE: Entity in service.xml with column type as primitive Collection
New Member Bejegyzések: 24 Csatlakozás dátuma: 2014.06.16. Legújabb bejegyzésekDavid H Nebinger:
no
Hi,
I have tried to build the services with
<column name="names" type="Collection"/>
But no methods are available in XXXXLocalServiceUtil classes to set or get the values of 'names' . Is that build error or doesn't it work that way?
David H Nebinger, módosítva 8 év-val korábban
RE: Entity in service.xml with column type as primitive Collection
Liferay Legend Bejegyzések: 14919 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
Collections are not supported because of the issues crossing the class loader boundary and serialization.