I have two entities item and itemparam both are related by item.id and I am using MySQL. There are 2 tables item and item_param. This is the MySQL table structure of item