8thcolor / hibernate-reviewer

hibernate-reviewer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

 Hibernate Reviewer  
=======================

you read http://mestachs.wordpress.com/2012/03/24/dont-get-caught-hibernating/
and now you are curious to test your mappings/annotations.
Now, you have the tool !

features 
---------

for the moment 2 main features, from 
 * generate a report of "worst practices" : embbedable as a junit
 * generate a graphviz graph of your model

current rules : 
 * AvoidIgnoreNotFoundMappingReviewRule
 * AvoidJoinMappingReviewRule
 * AvoidPropertyRefMappingReviewRule
 * BatchSizeMappingReviewRule
 * CachingMappingReviewRule
 * LazyLoadMappingReviewRule

samples
------

 * some basic entity mappings with violations (HibernateTest)
 * some coming from jbpm 5.2 (Jbpm5GraphTest)
    * https://github.com/mestachs/hibernate-reviewer/raw/master/hibernate-reviewer/src/sample/resources/generated-graph-batch-size-org.jbpm..png
    * https://github.com/mestachs/hibernate-reviewer/raw/master/hibernate-reviewer/src/sample/resources/generated-graph-org.jbpm..png

About

hibernate-reviewer


Languages

Language:Java 100.0%