The auto generated hibernate mapping file for the database table maps the size for the Date type column as ‘7’ as mentioned below.
<property name=”expDate” type=”java.util.Date”>
<column name=”EXP_DATE” length=”7″ />
</property>
I’m curious in knowing what basis is this number derived and most importantly, does anyone have any idea whether this size of ‘7’ causes any limitations in carrying the value?