Fórum

relation between expando tables and class

Abhi Ed, modificado 11 Anos atrás.

relation between expando tables and class

Regular Member Postagens: 118 Data de Entrada: 04/06/12 Postagens Recentes
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, modificado 11 Anos atrás.

RE: relation between expando tables and class

Liferay Legend Postagens: 14915 Data de Entrada: 02/09/06 Postagens Recentes
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.