JPA Method
in jakarta.persistence.EntityManager

void setProperty(
  String propertyName, 
  Object value
)


Set an entity manager property or hint. If a vendor-specific property or hint is not recognized, it is silently ignored.
Parameters:
propertyName - name of the property or hint
value - value for the property or hint
Throws:
IllegalArgumentException - if the property or hint name is recognized by the implementation, but the second argument is not valid value
Since:
JPA 2.0