facebook

JPA date annotation

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #287438 Reply

    zhoun
    Member

    I use myeclipse to generate the entity (JPA) from DB(mysql).

    The datetime and date type of mysql both mapped to java.util.Date with “@Temporal(TemporalType.DATE)”.
    But the datetime should use “@Temporal(TemporalType.TIMESTAMP”, so i have to change them one by one.

    Is this a bug?
    version 6.5.1 not solved this.

    #287453 Reply

    Loyal Water
    Member

    This issue has already been filed for the dev team and it has been targeted for the 7.0 release. Sorry for the inconvenience.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: JPA date annotation

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