diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-01-24 18:20:18 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-01-24 18:20:18 +0100 |
commit | fb769c2d96513a5e7111e195b1b7b3d5d61e8bbb (patch) | |
tree | 3bd6a7124fd6fa3adec762b0eaaf98184e2a6b87 /src | |
parent | bfdbd19be74a5b66c8a4fec6c73a860caf4457c0 (diff) |
Rename OpenIds => OpenId.
Change-Id: I5d6f1764b07a56a22c883a566e31d2af0abc5736
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/eu/mulk/mulkcms2/benki/users/OpenId.java (renamed from src/main/java/eu/mulk/mulkcms2/benki/users/Openids.java) | 4 | ||||
-rw-r--r-- | src/main/java/eu/mulk/mulkcms2/benki/users/User.java | 2 | ||||
-rw-r--r-- | src/main/java/eu/mulk/mulkcms2/cms/users/OpenId.java | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/eu/mulk/mulkcms2/benki/users/Openids.java b/src/main/java/eu/mulk/mulkcms2/benki/users/OpenId.java index 52997c8..fe2c905 100644 --- a/src/main/java/eu/mulk/mulkcms2/benki/users/Openids.java +++ b/src/main/java/eu/mulk/mulkcms2/benki/users/OpenId.java @@ -8,8 +8,8 @@ import javax.persistence.Id; import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; -@Entity -public class Openids extends PanacheEntityBase { +@Entity(name = "BenkiOpenId") +public class OpenId extends PanacheEntityBase { @Id @Column(name = "openid", nullable = false, length = -1) diff --git a/src/main/java/eu/mulk/mulkcms2/benki/users/User.java b/src/main/java/eu/mulk/mulkcms2/benki/users/User.java index 6e16903..45e775c 100644 --- a/src/main/java/eu/mulk/mulkcms2/benki/users/User.java +++ b/src/main/java/eu/mulk/mulkcms2/benki/users/User.java @@ -53,7 +53,7 @@ public class User extends PanacheEntityBase { public Collection<LazychatMessage> lazychatMessages; @OneToMany(mappedBy = "user", fetch = FetchType.LAZY) - public Collection<Openids> openids; + public Collection<OpenId> openids; @OneToMany(mappedBy = "user", fetch = FetchType.LAZY) public Collection<PageKey> pageKeys; diff --git a/src/main/java/eu/mulk/mulkcms2/cms/users/OpenId.java b/src/main/java/eu/mulk/mulkcms2/cms/users/OpenId.java index 0cc7407..a7a391b 100644 --- a/src/main/java/eu/mulk/mulkcms2/cms/users/OpenId.java +++ b/src/main/java/eu/mulk/mulkcms2/cms/users/OpenId.java @@ -10,7 +10,7 @@ import javax.persistence.JoinColumn; import javax.persistence.ManyToOne; import javax.persistence.Table; -@Entity +@Entity(name = "CmsOpenId") @Table(name = "openids", schema = "public", catalog = "mulkcms") @IdClass(OpenIdPK.class) public class OpenId extends PanacheEntityBase { |