Exemple #1
0
 @Override
 public void internalPostPersist() {
   matricule = NumberGenerator.getNumber("EN-", getId(), 6);
 }
Exemple #2
0
 @PostPersist
 public void postPersit() {
   regimeKey = NumberGenerator.getNumber("RG-", getId(), 4);
 }