K
- primary key class.public interface PersistentEntity<K extends Serializable>
You only need to implement this interface in your entities if you want to use AutoDAO CRUD methods.
Dao
Modifier and Type | Method and Description |
---|---|
K |
getPrimaryKey()
Get primary key for this entity.
|
K getPrimaryKey()
Copyright © 2008–2017. All rights reserved.