Foren

relation between expando tables and class

Abhi Ed, geändert vor 11 Jahren.

relation between expando tables and class

Regular Member Beiträge: 118 Beitrittsdatum: 04.06.12 Neueste Beiträge
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, geändert vor 11 Jahren.

RE: relation between expando tables and class

Liferay Legend Beiträge: 14919 Beitrittsdatum: 02.09.06 Neueste Beiträge
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.