Description:
|
Test case to duplicate: o.h.test.annotations.beanvalidation.DDLTest
Tv.Tuner is an
inline @Embeddable static
inner
class
annotated _@Embeddable_
. When the Tv.tuner attribute is built, it should get a MappedAttribute.Nature.EMBEDDED nature. Instead, it's currently assigned MappedAttribute.Nature.BASIC. This causes NPEs later on.
The Tv.Tuner class is not being picked
it -- it
up. It
has to be manually added to the test's getAnnotatedClasses().
ConfiguredClass#createMappedAttribute's use of JandexHelper also appears to require that Tv.tuner be annotated with @Embedded. Shouldn't it be optional?
|