json « Load « JPA Q&A





1. Struts2 JSON Plugin not working with "lazy" data    stackoverflow.com

I have an Entity with a OneToOne relation that is fetched lazily:

@Entity
public class Person {
    @Id
    private Integer id;

    @Column(length=60)
   ...