[
http://opensource.atlassian.com/projects/hibernate/browse/OGM-19?page=com...
]
Emmanuel Bernard commented on OGM-19:
-------------------------------------
I don't think so.
If you do that, the Reference will point to the SessionFactory and not the
OgmSessionFactoryObjectFactory. Somehow you need to something similar to what is done is
Hibernate Core and quite likely implement an OgmSessionFactoryObjectFactory. Since
OgmSessionFactory is stateless (so far), you can find a way to implement
OgmSessionFactoryObjectFactory so that you create a new instance of
OgmSessionFactoryObjectFactory and point to the same underlying SessionFactory via its
reference thing.
that's a bit of a guess, I'm not sure how Referencable work.
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira