[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4651) Add support for EntityManager properties

Hardy Ferentschik (JIRA) noreply at atlassian.com
Fri Jan 15 16:30:29 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35250#action_35250 ] 

Hardy Ferentschik commented on HHH-4651:
----------------------------------------

Which properties do we need to support. I can see that {{AbstractEntityManagerImpl}} already makes use of :

* javax.persistence.lock.scope
* javax.persistence.lock.timeout

It makes sense to support these properties via {{EntityManager.setProperty}}. What's about other properties mentioned in the spec. Which of them make sense to be set in {EntityManager} level?

* javax.persistence.validation.group.pre-persist
* javax.persistence.validation.group.pre-update
* javax.persistence.validation.group.pre-remove
* javax.persistence.jdbc.driver 
* javax.persistence.jdbc.url 
* javax.persistence.jdbc.user 
* javax.persistence.jdbc.password

Also {{AbstractEntityManagerImpl}} contains a {{Map}} _properties_. Could we use this map? However, this map gets nullified in {{postInit}}. Why?

What's about Hibernate specific properties? Which ones are there?

> 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
>             Fix For: 3.5.0-Beta-4
>
>


-- 
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