I am using JPA in Google App Engine.
I have a profile unit with many properties (for example, by name to hobbies) I allow users to search for a profile unit. Search properties are optional if users have the property If no value is entered for it, then it is not included in the query, therefore, different combinations of properties provided in search will also have different queries.
The condition in the query is dynamic, depending on the properties provided by the user. I have some bottom for all the qualities.
if (profiles.style cation (). Is equal ("") condition + = "AND p.location = '" + profile.getLocation () + "'"; The problem is that many indexing is required for this.
Thank you.
Thank you.
You have a third part server Must be used or new experiment (but experimental)
Comments
Post a Comment