Skip to content

NH-2868 - Generate method of ForeignGenerator fails with stateless sessions #1244

@nhibernate-bot

Description

@nhibernate-bot

Rafael Peña García created an issue — 5th September 2011, 20:27:20:

When using stateless sessions the Generate method in class NHibernate.Id.ForeignGenerator fail because there is an explicit cast from ISessionImplementor to ISession, so when working with stateless sessions, the cast fail because StatelessSessionImplementor implements IStatelessSession instead of ISession.

Related Hibernate issue: https://hibernate.atlassian.net/browse/HHH-968


Alexander Zaytsev added a comment — 3rd October 2013, 5:03:14:

Could someone provide a test case?


Fernando Mato Mira added a comment — 3rd October 2013, 6:05:19:

Related issue: NH-1440


Alexander Zaytsev added a comment — 3rd October 2013, 6:36:40:

Related Hibernate issue: https://hibernate.atlassian.net/browse/HHH-968

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions