Hello,
I updated from 4.3.10 to 5.2.6 and changed from configuration files to jpa. The database is postgresql with tables that have array-columns. Therefore, I defined usertypes, e.g. a type IntegerArray.
An entity PrfgGruppe associated with a view consists of a many-to-one member:
Code:
@ManyToOne (fetch = FetchType.EAGER)
@JoinColumn (name = "prfggruppe_id", insertable = false, updatable = false, unique = true)
@NotFound (action = NotFoundAction.IGNORE)
private PrfgTermin termin;
Amongst others the entity PrfgTermin consists of
Code:
@Column (name = "gespeichert_am")
private Timestamp updatedAt;
@Column (name = "num_anm")
private Integer numAnm;
@Column (name = "raeume")
@Type (type = "IntegerArray")
private Integer[] raeume;
Now, when objects of class PrfgGruppe are created by a native query together with a resultset mapping, the member of class PrfgTermin in PrfgGruppe is populated with members of basic types only (e.g. updatedAt). The member raeume is not set.
Where's my mistake?
Thank you
Andreas