类org.hibernate.annotations.CreationTimestamp源码实例Demo

下面列出了怎么用org.hibernate.annotations.CreationTimestamp的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: uyuni   文件: PackageExtraTagsKeys.java
/**
 * @return created to get
 */
@CreationTimestamp
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "created")
public Date getCreated() {
    return created;
}
 
源代码2 项目: uyuni   文件: NotificationMessage.java
/**
* @return Returns the created date.
*/
@CreationTimestamp
@Temporal(TemporalType.TIMESTAMP)
@Column(name = "created")
public Date getCreated() {
    return created;
}
 
源代码3 项目: uyuni   文件: ContentProjectHistoryEntry.java
/**
 * Gets the created.
 *
 * @return created
 */
@Column(nullable = false, updatable = false)
@CreationTimestamp
public Date getCreated() {
    return created;
}
 
源代码4 项目: uyuni   文件: BaseDomainHelper.java
/**
 * Gets the current value of created
 * @return Date the current value
 */
@Column(name = "created", nullable = false, updatable = false)
@CreationTimestamp
public Date getCreated() {
    return this.created;
}
 
源代码5 项目: lams   文件: CreationTimestampGeneration.java
@Override
public void initialize(CreationTimestamp annotation, Class<?> propertyType) {
	generator = TimestampGenerators.get(propertyType);
}
 
 类所在包
 类方法
 同包方法