Description:
|
Test case: o.h.test.annotations.entity.Java5FeaturesTest#testEnums
@Entity CommunityBid extends @Entity Bid
SchemaExport generates the following: create table Bid (id integer not null, class varchar(255) not null, approved boolean, description varchar(255), editorsNote varchar(255), note integer, communityNote integer, primary key (id))
The Entities do not identify a discriminator, so MetadataImpl.DEFAULT_DISCRIMINATOR_COLUMN_NAME (
'class'
)
is
used. This creates the 'class' field on the export.
The test is failing since the insert does
not
include
a
value for 'class'. The generated insert statements should populate the
field
in either entity
.
|