[
http://opensource.atlassian.com/projects/hibernate/browse/OGM-19?page=com...
]
Davide D'Alto commented on OGM-19:
----------------------------------
H,
I'm trying to implement this feature but I'm not sure how to create the Reference
object.
Do I have to use the data from the delegate?
Something like this:
{code:java|title=OgmSessionFactory.java}
public Reference getReference() throws NamingException {
final Reference delRef = delegate.getReference();
return new Reference(
OgmSessionFactory.class.getName(),
delRef.get("uuid"),
delRef.getFactoryClassName(),
delRef.getFactoryClassLocation()
);
}
{code}
Thanks,
Davide
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