This inspection checks that Entity class is registered in persistence.xml or metadata.xml.