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.

Activity

Show:

Former userNovember 13, 2015 at 9:34 PM

This is a regression.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created November 13, 2015 at 9:26 PM
Updated December 2, 2015 at 5:50 PM
Resolved December 2, 2015 at 4:47 PM