JPA Method
in javax.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 property or hint
value - value for property or hint
Throws:
IllegalArgumentException - if the second argument is not valid for the implementation
Since:
JPA 2.0