Inspectopedia
 
2024.3

Invalid Hibernate XML mappings

Error
Sanity
New
Last modified: 03 December 2024

Reports Hibernate XML configuration mapping errors including:

  • References to non-instantiable classes

  • References to classes that do not extend the required class

  • References to classes with inappropriate scope

  • Empty tag and attribute values

  • Tag and attribute values that do not match the required pattern (for example, Java Identifiers)

  • Tags that do not include the required children tags or attributes

  • Tags that define objects with duplicate names