[hibernate-issues] [Hibernate-JIRA] Commented: (OGM-19) Implement Referencable#getReference in OgmSessionFactory

Davide D'Alto (JIRA) noreply at atlassian.com
Tue Jun 21 18:38:54 EDT 2011


    [ http://opensource.atlassian.com/projects/hibernate/browse/OGM-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42689#action_42689 ] 

Davide D'Alto commented on OGM-19:
----------------------------------

Hi,
looking at the latest sources of hibernate-core I saw that they are using a SessionFactoryRegistry, so I've created an OgmSessionFactoryRegistry that wraps  the SessionFactoryObjectFactory class. 

In the constructor of OgmSessionFactory I added an uuid randomly generated.

Is this a better approach?

https://github.com/DavideD/hibernate-ogm/tree/OGM-19

> Implement Referencable#getReference in OgmSessionFactory
> --------------------------------------------------------
>
>                 Key: OGM-19
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/OGM-19
>             Project: Hibernate OGM
>          Issue Type: New Feature
>          Components: core
>            Reporter: Emmanuel Bernard
>            Assignee: Davide D'Alto
>            Priority: Trivial
>
> low priority

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