This rule checks that datatypes are mapped to the JPA using the correct pattern. The use of the org.hibernate.Type and javax.persistence.Convert annotations is forbidden. Instead use the javax.persistence.Convert annotation on a custom converter implementing the javax.persistence.AttributeConverter.
package com.devonfw.ide.sonarqube.logic.impl;
import org.hibernate.Type;
import javax.persistence.Convert;
public class MyClass {}
package com.devonfw.ide.sonarqube.logic.impl;
import javax.persistence.Converter;
import javax.persistence.AttributeConverter;
@Converter
public class CustomConverter implements AttributeConverter {}