[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4651) Add support for EntityManager properties
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Tue Dec 8 11:06:08 EST 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34887#action_34887 ]
Emmanuel Bernard commented on HHH-4651:
---------------------------------------
Support forEntityManager#getPropertie() and #setProperty
/**
* Set an entity manager property or hint.
* If a vendor-specific property or hint is not recognized, it
* is silently ignored.
* @param propertyName name of property or hint
* @param value
* @throws IllegalArgumentException if the second argument is
* not valid for the implementation
*/
public void setProperty(String propertyName, Object value);
/**
* Get the properties and hints and associated values that are
* in effect for the entity manager. Changing the contents of
* the map does not change the configuration in effect.
* @return map of properties and hints in effect
*/
public Map<String, Object> getProperties();
=> immutable map here or copy
> Add support for EntityManager properties
> ----------------------------------------
>
> Key: HHH-4651
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4651
> Project: Hibernate Core
> Issue Type: Sub-task
> Components: entity-manager
> Reporter: Emmanuel Bernard
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list