I am using the dom4JSession so my hibernate querires return the results in XML. I have the following propery tag mapped to a column
<property name="DisEnrollmentDate" type="date">
<column name="DISENROLL_DT" length="7" />
</property>
My problem is if the date field in the database is null, obviously no data will be returned, but the XML tag for DisEnrollmentDate will also not be available.
I need to have the label appear in the XML even if there is no data in the database. Does anybody know how I can get this behavior...?
thanks, Jay Schrock
|