remove hack comment

This commit is contained in:
Bill Burke 2014-07-18 12:07:30 -04:00
parent 063a63445a
commit b999c1e5b1

View file

@ -30,9 +30,6 @@ public class AuthenticationLinkEntity {
@Column(name="AUTH_USER_ID") @Column(name="AUTH_USER_ID")
protected String authUserId; protected String authUserId;
// NOTE: @OnetoOne creates a constraint race condition if the join column is on AuthenticationLinkEntity.
// The race is that user gets loaded concurrently, creates link concurrently, and sets it. Therefore, we have
// a @ManyToOne on both sides. Broken yes, but, I think we're going to replace AuthenticationLinkEntity anyways.
@Id @Id
@ManyToOne(fetch = FetchType.LAZY) @ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name="USER_ID") @JoinColumn(name="USER_ID")