persist(date);
date = retrieve(Date.class, new PrimaryKey(date));
assertEquals(ld, date.getDate());
- // assertEquals(zdt, date.getStart());
- // assertEquals(zdt, date.getEnd());
+ assertEquals(zdt, date.getStart());
+ assertEquals(zdt, date.getEnd());
}
<entity class="Date" access="FIELD">
<discriminator-value>17</discriminator-value>
<attributes>
+ <basic name="start">
+ <column name="date_start"/>
+ </basic>
+ <basic name="end">
+ <column name="date_end"/>
+ </basic>
<basic name="teaser">
<column length="1023"/>
</basic>