K - key classE - entity classpublic interface IGenericHome<K,E>
void create(E entity)
entity - objectvoid update(E entity)
entity - objectvoid remove(K key)
key - The entity key@Transactional(readOnly=true) E findByPrimaryKey(K pKey)
pKey - primary keynull otherwise.Copyright © 2016 City of Paris. All rights reserved.