2019 Sep 17 6:51 AM - edited 2024 Feb 03 5:33 PM

1) As seen in the screen-shot, deployment table name="Products".
2)But when do flexible search, i have to mention the itemType code name. (i.e., Product).
When i tried to search using the name ="Products" it will through Exception why.
My question is, While i check the table's list in the HSQL DB the table name shown is "products".
What is the reason? Behind this?
Thanks and Regards
Sunil.p
Request clarification before answering.
Hello Hari Prasad - You need to understand the concept of ORM (https://en.wikipedia.org/wiki/Object-relational_mapping) first. ORM is a concept of a virtual object database where you just need to deal with objects, and not with actual database tables.
The hybris-specific pages for this concept are under the following headings:
In summary, the recommended practice is to use Flexible Search query instead of SQL query. When you use the Flexible Search query, the syntax is to use itemtype code and attribute qualifier instead of actual table name and column name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.