[hibernate-issues] [Hibernate-JIRA] Created: (HBX-1008) @Temporal(TemporalType.DATE) ignored by validator

Viorel Andronic (JIRA) noreply at atlassian.com
Fri Oct 26 10:06:38 EDT 2007


@Temporal(TemporalType.DATE) ignored by validator
-------------------------------------------------

                 Key: HBX-1008
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-1008
             Project: Hibernate Tools
          Issue Type: Bug
          Components: annotations (obsolete)
            Reporter: Viorel Andronic


@Temporal(TemporalType.DATE)
@Column(name = "creation_date", nullable = false, length = 13)
@NotNull
public Date getCreationDate() {
	return this.creationDate;
}

This is something that runs, but if I add an @Id annotation on it, validator tells me that he expects a timestamp column in the database.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list