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.webbfontaine.valuewebb.model.TtLog.java

@Column(name = "LOG_DAT")
@Temporal(TemporalType.TIMESTAMP)
public Date getDate() {
    return date;
}

From source file:elaborate.editor.model.orm.StorableSearchData.java

@Temporal(TemporalType.TIMESTAMP)
public Date getCreatedOn() {
    return delegate.getCreatedOn();
}

From source file:net.carinae.dev.async.QueuedTaskHolder.java

@NotNull
@Past
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "CREATION_STAMP")
public Calendar getCreationStamp() {
    return this.creationStamp;
}

From source file:net.carinae.dev.async.QueuedTaskHolder.java

@Temporal(TemporalType.TIMESTAMP)
@Column(name = "TRIGGER_STAMP")
public Calendar getTriggerStamp() {
    return triggerStamp;
}

From source file:net.carinae.dev.async.QueuedTaskHolder.java

@Past
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "STARTED_STAMP")
public Calendar getStartedStamp() {
    return this.startedStamp;
}

From source file:com.vallourec.zebra.modules.sys.entity.Log.java

@Temporal(TemporalType.TIMESTAMP)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
public Date getCreateDate() {
    return createDate;
}

From source file:net.carinae.dev.async.QueuedTaskHolder.java

@Past
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "COMPLETED_STAMP")
public Calendar getCompletedStamp() {
    return this.completedStamp;
}

From source file:com.lcw.one.modules.sys.entity.Log.java

@Temporal(TemporalType.TIMESTAMP)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
public Date getCreateDate() {
    return createDate;
}

From source file:org.appverse.web.framework.backend.core.persistence.jpa.beans.AuditingAbstractIntegrationBean.java

@CreatedDate
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "CREATED", nullable = true)
public Date getCreated() {
    return created;
}

From source file:com.syncnapsis.data.model.RPCLog.java

/**
 * The date and time the RPCCall was executed
 * //from w w w . java 2  s.co m
 * @return executionDate
 */
@Temporal(TemporalType.TIMESTAMP)
@Column(nullable = false)
public Date getExecutionDate() {
    return executionDate;
}