When I want to display the data-model I get the following error.
IllegalStateException: Annotation ‘JoinColumn’ is not present on field: ‘TTaxaLinkEndangered.tleTypeValue’
This is somehow true
@NotNull
@JoinColumns({
@JoinColumn(name = "tleCatalogName", referencedColumnName = "tetCatalogName", nullable = false, insertable = false, updatable = false),
@JoinColumn(name = "tleTypeValue", referencedColumnName = "tetTypeValue", nullable = false, insertable = false, updatable = false)
})
@ManyToOne(fetch = FetchType.LAZY, optional = false)
private TTaxaEndangeredType tleTypeValue;
There are 2 of them.
The data-model does this not support ?
Regards
Felix