Class TimestampedBaseEntity<I extends Comparable<I> & Serializable>

    • Constructor Detail

      • TimestampedBaseEntity

        public TimestampedBaseEntity()
    • Method Detail

      • onPrePersist

        public void onPrePersist()
      • onPreUpdate

        public void onPreUpdate()
      • skipAdjustLastModified

        public void skipAdjustLastModified()
        Invoke this method if you need to skip adjusting the "last modified" timestamp during any update event on this instance. In case you intend to reset this later on, simply obtain a new instance from the entity manager.