Hi,
Ok, so we are dealing with "Detachment". This can happen in many ways i.e. when an entity is serialized,
when a rollback occurs etc.. In your case I believe it is because @Transactional for...
Type: Posts; User: kesa; Keyword(s):
Hi,
Ok, so we are dealing with "Detachment". This can happen in many ways i.e. when an entity is serialized,
when a rollback occurs etc.. In your case I believe it is because @Transactional for...
A fix for this might be:
@Transactional//(propagation=Propagation.REQUIRED, readOnly=false)
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "category")
public...