1 Reply Latest reply on Jul 16, 2012 5:40 PM by Cdelahun-Oracle

    Lazy not working in JPA with Hibernate

    831534
      I an using JPA with Hibernate.
      I have an entity class, which has one to one mapping to other entity classes. I want to lazily fetch the other mapped entities.

      I have used @OneToOne(mappedBy="columnName",fetch=FetchType.LAZY) in both entities. But still in console, I see all the tables joined with main table in sql generated.

      What is that I am missing in configuration?