facebook

Default length of Date type column in generated hbm.xml file

  1. MyEclipse Archived
  2.  > 
  3. General
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #288171 Reply

    anumola
    Member

    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?

    #288184 Reply

    Loyal Water
    Member

    Im sorry I dont have the asnwer to this question. Maybe some other user on the forum could answer this question for you.

    #288206 Reply

    anumola
    Member

    It is really critical for me to know the answer to this question in order to implement in my current project. Isn’t there anybody in the MyEclipse support team that knows answer to this question?

    Anybody else that has an answer to my question? I am more interested in knowing the limitations of this deafult definition in various scenarios – if there are any.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Default length of Date type column in generated hbm.xml file

You must be logged in to post in the forum log in