[ http://jira.codehaus.org/browse/XDP-169?page=comments#action_61228 ]
Carsten Madsen commented on XDP-169: ------------------------------------ The hibernate.current_session_context_class configuration parameter defines which org.hibernate.context.CurrentSessionContext implementation should be used. Note that for backwards compatibility, if this config param is not set but a org.hibernate.transaction.TransactionManagerLookup is configured, Hibernate will use the org.hibernate.context.JTASessionContext. Typically, the value of this parameter would just name the implementation class to use; for the two out-of-the-box implementations, however, there are two corresponding short names, "jta" and "thread". More info here http://www.hibernate.org/hib_docs/v3/reference/en/html/architecture.html under "Contextual Sessions" > HibernateConfigPlugin does not support seeting current_session_context_class > ---------------------------------------------------------------------------- > > Key: XDP-169 > URL: http://jira.codehaus.org/browse/XDP-169 > Project: XDoclet 2 Plugins > Type: Bug > Components: hibernate > Reporter: Carsten Madsen > > > I need to set the current_session_context_class to thread in my hibernate > config file. I use the HibernateConfigPlugin to generate the config file and > there is no way to set this property. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ xdoclet-plugins-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest
