Skip to content

8thcolor/hibernate-reviewer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

 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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%