Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Entity
- public class Account extends BaseModel {
- (...)
- @Override
- @Transactional
- public void delete() {
- Notification.deleteNotificationsForAccount(this.id);
- JPA.em().remove(this);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement