i want to search a item with this name like below :
protected Item itemProxy = GenerateQuery.createQueryEntity(Item.class); String sql = select($(itemProxy)).where($(itemProxy.getName()).eq(name)).generate(); QueryResult queryResult = service.executeQuery(sql);
Hi ,
I have the item name below :
String name ="My name's"
i want to search a item with this name like below :
protected Item itemProxy = GenerateQuery.createQueryEntity(Item.class); String sql = select($(itemProxy)).where($(itemProxy.getName()).eq(name)).generate(); QueryResult queryResult = service.executeQuery(sql);
cause the apostrophe the request does not works.
Thank you