Fórumok

relation between expando tables and class

Abhi Ed, módosítva 11 év-val korábban

relation between expando tables and class

Regular Member Bejegyzések: 118 Csatlakozás dátuma: 2012.06.04. Legújabb bejegyzések
Hello

I want to know, whether we can map user table and ExpandoColumn/Expandotable/expandorow in liferay .
On viewing each of the tables i found out that expando tables are mapped with classes for example for user class there will be a corresponding entry .

I have added a custom field for user class and I want to write a query in DB so that i can see the value of that custom field for all users in my liferay DB .

Like in my DB there are more than 200 users ,so my USER_ table contains more than 200 records .
But none of the tables ExpandoColumn/Expandotable/expandorow /expandovalues contain 200 records .
So how does liferay store field value for all users???
Any help ???
thumbnail
David H Nebinger, módosítva 11 év-val korábban

RE: relation between expando tables and class

Liferay Legend Bejegyzések: 14919 Csatlakozás dátuma: 2006.09.02. Legújabb bejegyzések
There will not be an expando value unless you actually set one. Expandos have default values associated with them, so it is quite possible that many of your individual users are using the default value.