*/
@Basic (optional = false)
@Temporal (TemporalType.TIMESTAMP)
- @Column (name = "user_created", nullable = false)
+ @Column (name = "user_created", nullable = false, updatable = false)
private Calendar userCreated;
/**
* When this user has been updated
*/
@Temporal (TemporalType.TIMESTAMP)
- @Column (name = "user_updated")
+ @Column (name = "user_updated", insertable = false)
private Calendar userUpdated;
/**
private final String styleClass;
/**
- * Constructor with i18n translation key
+ * Constructor with i18n translation key and CSS style class
* <p>
- * @param messageKey Message key (i18n)
+ * @param messageKey Message key (i18n)
* @param styleClass CSS style class
*/
private UserAccountStatus (final String messageKey, final String styleClass) {