Delete on unindexed entities referenced by indexed entities with ContainedIn annotation failed

Description

Delete on unindexed entities referenced by indexed entities with ContainedIn annotation failed.

On PostCommit Transaction, I get a LazyInitializationException on the collection with the ContainedIn annotation.

I upload a test case to reproduce this, run the Boot class.

Environment

Hibernate 3.3.1.GA, PostgreSQL 8.3

Status

Assignee

Unassigned

Reporter

Grégoire Rolland

Labels

None

Suitable for new contributors

None

Pull Request

None

Feedback Requested

None

Components

Fix versions

Affects versions

3.1.0.GA

Priority

Blocker