List of usage examples for javax.persistence TemporalType TIMESTAMP
TemporalType TIMESTAMP
To view the source code for javax.persistence TemporalType TIMESTAMP.
Click Source Link
java.sql.Timestamp
From source file:org.appverse.web.framework.backend.core.persistence.jpa.beans.AuditingAbstractIntegrationBean.java
@LastModifiedDate @Temporal(TemporalType.TIMESTAMP) @Column(name = "UPDATED", nullable = true) public Date getUpdated() { return updated; }
From source file:com.invariantproperties.project.student.domain.PersistentObject.java
@Column(name = "creation_date", nullable = false, updatable = false) @Temporal(TemporalType.TIMESTAMP) public Date getCreationDate() { // security - don't return reference to mutable object return creationDate == null ? null : new Date(creationDate.getTime()); }
From source file:com.dhenton9000.birt.persistence.entities.Orders.java
@Column(name = "ORDERDATE") @Temporal(TemporalType.TIMESTAMP) @ApiModelProperty(example = "2/2/2014", required = true) @Basic(optional = false)//from ww w . ja v a 2 s .co m public Date getorderDate() { return this.orderDate; }
From source file:com.mycompany.model.Event.java
@Temporal(TemporalType.TIMESTAMP) public Date getEndDate() { return endDate; }
From source file:com.vallourec.zebra.modules.sys.entity.User.java
@Temporal(TemporalType.TIMESTAMP) public Date getLoginDate() { return loginDate; }
From source file:com.mycompany.model.Event.java
@Temporal(TemporalType.TIMESTAMP) public Date getStartDate() { return startDate; }
From source file:com.syncnapsis.data.model.Pinboard.java
/** * The date this pinboard was created/*w w w . ja v a 2s . c o m*/ * * @return creationDate */ @Temporal(TemporalType.TIMESTAMP) @Column(nullable = false) public Date getCreationDate() { return creationDate; }
From source file:com.sccl.attech.common.persistence.DataEntity.java
@Temporal(TemporalType.TIMESTAMP) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @JsonSerialize(using = CustomDateDetailSerializer.class) public Date getCreateDate() { return createDate; }
From source file:com.pansky.integration.common.persistence.DataEntity.java
@Temporal(TemporalType.TIMESTAMP) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") @Column(name = "create_date") public Date getCreateDate() { return createDate; }