title: failed to lazily initialize a collection when inside a transaction
body: <p>The below code triggers a <code>Exception in thread "main" org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: com.model.entity.WorkflowProcessEntity.workstations, no session or session was closed</code> error.  So I wrapped the method with <code>@Transactional</code> within a service class and it still throws the error.</p>
  
  <pre><code>    WorkstationService workstationService = (WorkstationService) ApplicationContextProvider.getApplicationContext().getBean("workstationService");
      for (WorkstationEntity workstationEntity : workstationService.getWorkstations(getEntity())) {
          registerWorkstation(new ImpositionWorkstation(workstationEntity));
      }
  </code></pre>
  
  <p><strong>WorkstationService.java</strong></p>
  
  <pre><code>@Transactional(readOnly = true)
  public Collection&lt;WorkstationEntity&gt; getWorkstations(WorkflowProcessEntity workflowProcessEntity) {
      return workflowProcessEntity.getWorkstations();
  }
  </code></pre>
  
  <p><strong>WorkflowProcessEntity.java</strong></p>
  
  <pre><code>@OneToMany(mappedBy = "workflowProcess")
  @JsonIgnore
  public Collection&lt;WorkstationEntity&gt; getWorkstations() {
      return workstations;
  }
  </code></pre>
  
  <p>How can I query this relationship correctly?</p>