fun getField(fieldName: String, entityClass: Class<*>): FieldInfo
Returns a FieldInfo for field with name fieldName in entityClass.
entityClass
- JPA entity class containing the field
NoSuchFieldException
- if no field with name fieldName is found in the class hierarchy of entityClass