Results 1 to 2 of 2

Thread: MVC + mysql + hibernate: lazy loading

  1. #1
    Join Date
    Jun 2012
    Posts
    2

    Question MVC + mysql + hibernate: lazy loading

    (after a database reverse engineer) does roo require an extra configuration to lazy load a collection?

    aren't annotations enough?
    likee
    @ManyToOne(optional = false)

    @OneToMany(mappedBy = "xxxxx", fetch = FetchType.LAZY)
    @Fetch(FetchMode.SELECT)

  2. #2
    Join Date
    Nov 2008
    Posts
    25

    Default

    how can lazy loading with Roo be customized globally, and per entity, per relationship if possible and without the change being overridden by Roo. Please help!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •