Example usage for javax.persistence TemporalType TIMESTAMP

List of usage examples for javax.persistence TemporalType TIMESTAMP

Introduction

In this page you can find the example usage for javax.persistence TemporalType TIMESTAMP.

Prototype

TemporalType TIMESTAMP

To view the source code for javax.persistence TemporalType TIMESTAMP.

Click Source Link

Document

Map as java.sql.Timestamp

Usage

From source file:com.nec.harvest.model.AbstractEntity.java

@Column(name = "UpdID")
@Temporal(TemporalType.TIMESTAMP)
public Date getUpdID() {
    return updID;
}

From source file:com.hive.surveymanage.entity.IndustryEntity.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "CREATETIME", nullable = false, length = 7)
@JsonSerialize(using = JsonDateSerializer.class)
public Date getCreatetime() {
    return this.createtime;
}

From source file:it.jugpadova.po.Participant.java

@Temporal(value = TemporalType.TIMESTAMP)
public Date getReminderSentDate() {
    return reminderSentDate;
}

From source file:com.testing26thjuly_.db123testing.NewTypesUser.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "`Timestamp Col`", nullable = true)
public Date getTimestampCol() {
    return this.timestampCol;
}

From source file:com.testing26thjuly_.db123testing.V1.java

@Id
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "`Timestamp Col`", nullable = true)
public Date getTimestampCol() {
    return this.timestampCol;
}

From source file:com.testing26thjuly_.db123testing.AllTypes.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "`TIMESTAMP COL`", nullable = false)
public Date getTimestampCol() {
    return this.timestampCol;
}

From source file:com.infinities.skyport.entity.User.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "LASTLOGIN", length = 26)
public Date getLastlogin() {
    return this.lastlogin;
}

From source file:com.eryansky.common.orm.entity.BaseEntity.java

/**
 * ./*from   ww  w.  ja v a 2  s . c om*/
 */
// JSON??
@JsonFormat(pattern = DATE_TIME_FORMAT, timezone = TIMEZONE)
@Column(name = "CREATE_TIME", updatable = false)
@Temporal(TemporalType.TIMESTAMP)
public Date getCreateTime() {
    return createTime;
}

From source file:com.infinities.skyport.compute.entity.ComputeObject.java

@Override
@Column(name = "CREATIONDATE")
@Temporal(TemporalType.TIMESTAMP)
public Date getCreationdate() {
    return this.creationdate;
}

From source file:com.hive.surveymanage.entity.IndustryEntity.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "MODIFYTIME", length = 7)
@JsonSerialize(using = JsonDateSerializer.class)
public Date getModifytime() {
    return this.modifytime;
}