JPA exception could give more informations
Bug #507684 reported by
Roch Delsalle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
play framework | Status tracked in 1.0 | |||||
1.0 |
Fix Released
|
Undecided
|
Unassigned | |||
1.1 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
public static void myfunction(int id) {
List<MyModel> ms = MyModel.find("id > ?", id).fetch();
would return:
IllegalArgument
Perhaps It can be improved by telling that the wrong type of argument has been specified. ( It should be a long in this case )
To post a comment you must log in.