@OnetoMamy @JoinColumn don't populate when @Id is manually assigned [DATAJPA-511] #908
Labels
in: core
Issues in core support
status: declined
A suggestion or change that we don't feel we should currently apply
type: bug
A general bug
spring-projects-issues commentedApr 9, 2014
Gökhan Öner opened DATAJPA-511 and commented
Hi,
I'm trying to save a unidirectional OneToMay relationed entitiy.
What I discover is, if I use supply manual id, it's not populating the
@JoinColumn
using Repository.save . But When I inject EntitiyManagerFactory and persist it manually, it works.Also, if I define a
@GeneratedValue
for@Id
, then Repository.save also works as expected.I^ve attached the hibernate config, Entitiy Classes and my service that run the save operation. (updateIstekResponse Method)
Affects: 1.4.4 (Babbage SR3)
Attachments:
The text was updated successfully, but these errors were encountered: