Skip to content
This repository has been archived by the owner on Oct 19, 2018. It is now read-only.

Commit

Permalink
Issue #3 Compilation issue
Browse files Browse the repository at this point in the history
 cannot find symbol PreInsert. Replace it with PreUpdate
  • Loading branch information
atkawa7 committed May 5, 2018
1 parent 90e7414 commit bf4fdbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class SubscriberRequest {
@Version
private long version;

@PreInsert
@PrePersist
protected void init() {
if(id == null) {
id = KeyGen.getUniqueId();
Expand Down

0 comments on commit bf4fdbc

Please sign in to comment.