@MappedSuperclass public abstract class AbstractEntity extends Object implements Serializable
Long
with the generation strategy set to GenerationType.AUTO
.Modifier and Type | Field and Description |
---|---|
static String |
PRIMARY_GENERATOR |
Constructor and Description |
---|
AbstractEntity() |
Modifier and Type | Method and Description |
---|---|
Long |
getId()
Gets the technical id of this entity (surrogate PK).
|
public static final String PRIMARY_GENERATOR
public Long getId()
Copyright © 2002–2019 SoftSmithy. All rights reserved.