This page gives information about the cases in which the rule is not supposed to violate the hibernate quality rules.
Some examples of hibernate rules are -

Applicable in CAST Version
Applicable RDBMS
Action Plan

For the hibernate quality rules to be violated ensure the following is present.

  1. Analysis unit has the same hibernate version set as the one used in the the application source code
  2. There are objects making links with hibernate framework classes.

    In Cast-MS if you select "Hibernate/JPA" it will just activate some features of the JEE analyzer. But it doesn't mean any objects/links related to hibernate will be created.

    If any object belonging to a module is making links with any of the children of below classes then it means it has hibernate objects/links. Hence the module which the object belongs to is considered as a hibernate module.


    With the help of enlighten take any example hibernate framework class(es)

    For instance in the below screenshot we have taken example classes org.hibernate.Query and javax.persistence.Query. And when we performed add linked objects then we found some objects making links to the standard hibernate framework classes. This means that the rule is supposed to be checked for the modules to which these objects belong to. But if there are no links then the rule will not be checked for the particular module but will be checked for other modules which have hibernate links.

    Figure 1


Ticket # 9466

Related Pages