@Transient ignored in double @Embedded object.

Description

The @Transient annotation seems to be ignored in an @Embeddable object within another @Embeddable object.

Following is the szenario:
I have translatable fields for an entity (Book) which are mapped by a language key and stored in a separate table like this:

The BookTranslation itself contains another @Embedded object (ImageObject) which has a field annotated with @Transient. In this case, the annotation seems to be ignored and the following exception is thrown, when trying to start the application:

If a setter method is present, the application starts but a DDL-generation would generate also a column for the field annotated with @Transient.
See the example attached:

Environment

spring-boot-2.2.0
Java 11

Status

Assignee

Unassigned

Reporter

Markus Demetz

Fix versions

None

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure