Java Code Examples for javax.persistence.TemporalType#TIMESTAMP
The following examples show how to use
javax.persistence.TemporalType#TIMESTAMP .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Comment.java From TinyMooc with Apache License 2.0 | 4 votes |
@Temporal(TemporalType.TIMESTAMP) @Column(name = "COMMENT_DATE", length = 19) public Date getCommentDate() { return this.commentDate; }
Example 2
Source File: Photo.java From PhotoAlbum-api with MIT License | 4 votes |
@Column(name = "created_date") @Temporal(TemporalType.TIMESTAMP) public Date getCreatedDate() { return this.createdDate; }
Example 3
Source File: Album.java From PhotoAlbum-api with MIT License | 4 votes |
@Column(name = "created_date") @Temporal(TemporalType.TIMESTAMP) public Date getCreatedDate() { return this.createdDate; }
Example 4
Source File: Team.java From TinyMooc with Apache License 2.0 | 4 votes |
@Temporal(TemporalType.TIMESTAMP) @Column(name = "APPROVE_DATE", length = 19) public Date getApproveDate() { return this.approveDate; }
Example 5
Source File: Menu.java From dpCms with Apache License 2.0 | 4 votes |
@Temporal(TemporalType.TIMESTAMP) @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @Column(name = "CREATE_TIME", unique = false, nullable = true, insertable = true, updatable = true, length = 0) public java.util.Date getCreateTime() { return this.createTime; }
Example 6
Source File: Team.java From TinyMooc with Apache License 2.0 | 4 votes |
@Temporal(TemporalType.TIMESTAMP) @Column(name = "APPLY_DATE", length = 19) public Date getApplyDate() { return this.applyDate; }
Example 7
Source File: Note.java From TinyMooc with Apache License 2.0 | 4 votes |
@Temporal(TemporalType.TIMESTAMP) @Column(name = "ADD_DATE", length = 19) public Date getAddDate() { return this.addDate; }
Example 8
Source File: Challenge.java From TinyMooc with Apache License 2.0 | 4 votes |
@Temporal(TemporalType.TIMESTAMP) @Column(name = "CHALLENGE_DATE", length = 19) public Date getChallengeDate() { return this.challengeDate; }
Example 9
Source File: RhnSystemDetails.java From pacbot with Apache License 2.0 | 4 votes |
/** * Gets the modified date. * * @return the modified date */ @Temporal(TemporalType.TIMESTAMP) @Column(name = "modifiedDate", length = 19) public Date getModifiedDate() { return this.modifiedDate; }
Example 10
Source File: File.java From PhotoAlbum-api with MIT License | 4 votes |
@Column(name = "created_date") @Temporal(TemporalType.TIMESTAMP) public Date getCreatedDate() { return this.createdDate; }
Example 11
Source File: Announcement.java From TinyMooc with Apache License 2.0 | 4 votes |
@Temporal(TemporalType.TIMESTAMP) @Column(name = "PUBLISH_DATE", length = 19) public Date getPublishDate() { return this.publishDate; }
Example 12
Source File: VersionTable.java From we-cmdb with Apache License 2.0 | 4 votes |
@Temporal(TemporalType.TIMESTAMP) @Column(name = "version_date") public Date getVersionDate() { return this.versionDate; }
Example 13
Source File: AdmOperateRecord.java From we-cmdb with Apache License 2.0 | 4 votes |
@Temporal(TemporalType.TIMESTAMP) @Column(name = "start_time") public Date getStartTime() { return this.startTime; }
Example 14
Source File: AdmOperateRecord.java From we-cmdb with Apache License 2.0 | 4 votes |
@Temporal(TemporalType.TIMESTAMP) @Column(name = "record_time") public Date getRecordTime() { return this.recordTime; }
Example 15
Source File: Attention.java From TinyMooc with Apache License 2.0 | 4 votes |
@Temporal(TemporalType.TIMESTAMP) @Column(name = "ATTENTION_DATE", length = 19) public Date getAttentionDate() { return this.attentionDate; }
Example 16
Source File: LanguageData.java From cia with Apache License 2.0 | 3 votes |
/** * Gets the value of the createdDate property. * * @return * possible object is * {@link String } * */ @Basic @Column(name = "CREATED_DATE") @Temporal(TemporalType.TIMESTAMP) public Date getCreatedDate() { return createdDate; }
Example 17
Source File: ApplicationSession.java From cia with Apache License 2.0 | 3 votes |
/** * Gets the value of the destroyedDate property. * * @return * possible object is * {@link String } * */ @Basic @Column(name = "DESTROYED_DATE") @Temporal(TemporalType.TIMESTAMP) public Date getDestroyedDate() { return destroyedDate; }
Example 18
Source File: LanguageContentData.java From cia with Apache License 2.0 | 3 votes |
/** * Gets the value of the createdDate property. * * @return * possible object is * {@link String } * */ @Basic @Column(name = "CREATED_DATE") @Temporal(TemporalType.TIMESTAMP) public Date getCreatedDate() { return createdDate; }
Example 19
Source File: ApplicationSession.java From cia with Apache License 2.0 | 3 votes |
/** * Gets the value of the createdDate property. * * @return * possible object is * {@link String } * */ @Basic @Column(name = "CREATED_DATE") @Temporal(TemporalType.TIMESTAMP) public Date getCreatedDate() { return createdDate; }
Example 20
Source File: ApplicationConfiguration.java From cia with Apache License 2.0 | 3 votes |
/** * Gets the value of the createdDate property. * * @return * possible object is * {@link String } * */ @Basic @Column(name = "CREATED_DATE") @Temporal(TemporalType.TIMESTAMP) public Date getCreatedDate() { return createdDate; }