Skip to content

NH-3391 - StatelessSession: one-to-one detail-object is always null #1149

@nhibernate-bot

Description

@nhibernate-bot

Alex Kravchenko created an issue — 11th February 2013, 4:53:08:

After reading one-to-one related objects from database (within StatelessSession) detail-object is lost.
Of course this works fine in regular Session.

//OneToOneType.Hydrate method gets related object identifier from session, but StatelessSession.GetContextEntityIdentifier(owner) always returns null, so it's impossible to read such objects properly from database


Alexander Zaytsev added a comment — 11th February 2013, 5:03:07:

Does it work in in 3.2.0 - 3.3.3CR1 ?


Alex Kravchenko added a comment — 11th February 2013, 7:42:07:

found in 3.3.1, tested on last sources

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions