|
Change By:
|
Brett Meyer
(11/Oct/12 4:27 PM)
|
Description:
|
Test case to duplicate: o.h.test.annotations.beanvalidation.DDLTest
Tv.Tuner is an @Embedded static class. 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.
ConfiguredClass#createMappedAttribute's use of JandexHelper appears to require that Tv.tuner also be annotated with @Embedded. Shouldn't it be optional?
|
Summary:
|
Attribute's type is an
@Embedded static class
should use EMBEDDED nature, not BASIC
-- incorrectly bound to Basic
|
|
|