We're updating the issue view to help you get more done. 

Partially generated composite attribute is not retrieved after insert

Description

The problem is that EntityBasedCompositionAttribute#getValueGenerationStrategy#valueGenerationStrategy returns null (even though sub-attribute is generated). As a result, the generated value is not read by {[AbstractEntityPersister#processGeneratedProperties}} after insert.

org.hibernate.test.generated.PartiallyGeneratedComponentTest reproduces this.

Environment

None

Status

Assignee

Andrea Boriero

Reporter

Gail Badner

Components

Fix versions

Affects versions

5.0.3

Priority

Critical