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