bookmark

hibernate.org - Annotation driven equals and hashCode


Описание

Nice example on how to get rid of superfluous code... The following implementation of equals, hashcode and toString is using the concept of one or more business keys defined by annotations.The annotation @BusinessKey can be applied with an include/exclude filter on field or method level.

тэги

Пользователи данного ресурса

  • @gresch

Комментарии и рецензии