Adding spaces between terms in Tenant Profile queries
@@ -17,7 +17,7 @@ public class QueryConstants {
"where u.gatewayId LIKE :" + UserProfile._Fields.GATEWAY_ID.getFieldName() + "";
public static final String FIND_GATEWAY_BY_ID = "SELECT g FROM GatewayEntity g " +
- "where g.gatewayId LIKE :" + Gateway._Fields.GATEWAY_ID.getFieldName() +
+ "where g.gatewayId LIKE :" + Gateway._Fields.GATEWAY_ID.getFieldName() + " " +
"AND g.gatewayApprovalStatus LIKE :" + Gateway._Fields.GATEWAY_APPROVAL_STATUS.getFieldName();
public static final String GET_ALL_GATEWAYS = "SELECT g FROM GatewayEntity g";
