Hibernate Entities Must Implement Equals...

Hibernate Entities Must Implement Equals Hash Code

Is this rule useful?
4 votesVote for this rule!

  • Sharebar

Hibernate entities should implement equals() and hashCode(). This is required in order to use those entities in various Collections and also for fiability of your application. Furthermore, those implementations should be made carefully. Read https://community.jboss.org/wiki/EqualsAndHashCode to learn more.

Tags: , , , , ,
Available within Scertify™

Leave a Comment

Run the Code Refactory
Scertify™ Professional is an Eclipse plugin dedicated to analyze, control and correction of code quality defects, through computer-assisted code refactoring. It includes +1,600 coding rule controls and several rules for automated-refactoring).

Who we are?

Tocea provides Development Teams with innovative solutions enabling them to continuously control and improve the quality and integrity of their applications. We support developers, architects and project managers in their permanent effort to tackle IT debt and costs, by providing them with unique information on Code & Architecture Quality and some exclusive computer-aided refactoring features.
Visit Tocea.com

LoadingRetrieving latest tweet...

Back to Top

2014 © All rights reserved, Tocea