Search:

Type: Posts; User: kesa; Keyword(s):

Search: Search took 0.02 seconds.

  1. Hi, Ok, so we are dealing with "Detachment"....

    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...
  2. A fix for this might be: ...

    A fix for this might be:

    @Transactional//(propagation=Propagation.REQUIRED, readOnly=false)
    @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "category")
    public...
Results 1 to 2 of 2