Forums

Home » Liferay Portal » English » 2. Using Liferay » General

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Abhi Ed
relation between expando tables and class
December 13, 2012 9:51 AM
Answer

Abhi Ed

Rank: Regular Member

Posts: 118

Join Date: June 4, 2012

Recent Posts

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 ???
David H Nebinger
RE: relation between expando tables and class
December 13, 2012 10:06 AM
Answer

David H Nebinger

Community Moderator

Rank: Liferay Legend

Posts: 11780

Join Date: September 1, 2006

Recent Posts

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.