Foros de discusión

relation between expando tables and class

Abhi Ed, modificado hace 11 años.

relation between expando tables and class

Regular Member Mensajes: 118 Fecha de incorporación: 4/06/12 Mensajes recientes
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 hace 11 años.

RE: relation between expando tables and class

Liferay Legend Mensajes: 14919 Fecha de incorporación: 2/09/06 Mensajes recientes
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.