HibernateWorkflow store

"Travelli Stefano" <[email protected]>
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <[email protected]>
Since my project will use hibernate as persistance layer I would like to use hibernate for workflow store too.

Looking at HibernateWorkflowStore I can't understand how the store object could get the hibernate session instance. There is constructor with a session object as parameter, but I don't see where it is used.

I think that an elegant way could be to declare the jndi path for the SessionFactory in a property, just as it works for the datasource in JdbcWorkflowStore but, as far as I understand, HibernateWorkflowStore has no reference to a SessionFactory.

Could someone give me some directions about this?
thanks,

stefano



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.