开发者

Hibernate Validator: How to get the message ID's for any given error?

开发者 https://www.devze.com 2023-04-06 04:28 出处:网络
In some cases I get an unexpected error message (I missed a message for some condition that Hibernate Validator checks for).

In some cases I get an unexpected error message (I missed a message for some condition that Hibernate Validator checks for).

In trying to debug which message I need to update, how do I find the message codes that Hibernate is looking up?

This is usu开发者_如何学Goally around 4 codes, something like: MyObject.field, Size, etc.

0

精彩评论

暂无评论...
验证码 换一张
取 消