Change By: Brett Meyer (27/Sep/12 9:53 PM)
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 .
Summary: SchemaExport adding extra 'class' varchar field Default discriminator not created on insert
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira