afda
This commit is contained in:
@@ -25,7 +25,7 @@ public class UserAccount implements Serializable {
|
||||
@Column(name = "name")
|
||||
private String name;
|
||||
|
||||
@ManyToMany(fetch = FetchType.EAGER, cascade = CascadeType.ALL)
|
||||
@ManyToMany(fetch = FetchType.EAGER)
|
||||
@JoinTable(
|
||||
name = "rel_user_account__user",
|
||||
joinColumns = @JoinColumn(name = "user_account_id"),
|
||||
|
||||
@@ -190,6 +190,7 @@ public class EventService {
|
||||
userAccount.setName(registration.getUser().getName());
|
||||
userAccount.getUsers().add(registration.getUser());
|
||||
userAccount = userAccountRepository.save(userAccount);
|
||||
accountsByLogin.put(login, userAccount);
|
||||
}
|
||||
accountsToCharge.add(userAccount);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user