mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
name of columns were actually inverted
This commit is contained in:
@@ -33,7 +33,7 @@ public class FeedEntry extends AbstractModel {
|
|||||||
private String guidHash;
|
private String guidHash;
|
||||||
|
|
||||||
@ManyToMany
|
@ManyToMany
|
||||||
@JoinTable(name = "FEED_FEEDENTRIES", joinColumns = { @JoinColumn(name = "FEED_ID", nullable = false, updatable = false) }, inverseJoinColumns = { @JoinColumn(name = "FEEDENTRY_ID", nullable = false, updatable = false) })
|
@JoinTable(name = "FEED_FEEDENTRIES", joinColumns = { @JoinColumn(name = "FEEDENTRY_ID", nullable = false, updatable = false) }, inverseJoinColumns = { @JoinColumn(name = "FEED_ID", nullable = false, updatable = false) })
|
||||||
private Set<Feed> feeds = Sets.newHashSet();
|
private Set<Feed> feeds = Sets.newHashSet();
|
||||||
|
|
||||||
@OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY, optional = false)
|
@OneToOne(cascade = CascadeType.ALL, fetch = FetchType.LAZY, optional = false)
|
||||||
|
|||||||
Reference in New Issue
Block a user