Class BaseJpaEntity<ID>
java.lang.Object
com.reallifedeveloper.common.infrastructure.persistence.BaseJpaEntity<ID>
- Type Parameters:
ID- the type of the primary key
- Direct Known Subclasses:
PublishedMessageTracker,TimestampedJpaEntity
Base class for all JPA entities.
- Author:
- RealLifeDeveloper
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates a newAbstractJpaEntitywith null ID.protectedBaseJpaEntity(@Nullable ID id) Creates a newAbstractJpaEntitywith the given ID. -
Method Summary
-
Constructor Details
-
BaseJpaEntity
protected BaseJpaEntity()Creates a newAbstractJpaEntitywith null ID. -
BaseJpaEntity
Creates a newAbstractJpaEntitywith the given ID.- Parameters:
id- the ID of the new entity, may benull
-
-
Method Details