You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A service can only query its entity when using criteria support
Current Behaviour
Example in service below we can only select cars when we use criteria:
public class CarService extends CrudService<Car, Integer> implements Serializable {
public List<Car> listByModel(String model) {
return criteria() //the instance of criteria can only query Car entity
.likeIgnoreCase(Car_.model, model)
.getResultList();
}
}
Expected Behaviour
Make it possille to pass an entity as parameter for criteria() method:
Issue Overview
A service can only query its entity when using criteria support
Current Behaviour
Example in service below we can only select cars when we use criteria:
Expected Behaviour
Make it possille to pass an entity as parameter for
criteria()
method:Additional Information
The text was updated successfully, but these errors were encountered: