Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11

Thread: [Spring Data JPA] ManyToMany, rg.hibernate.LazyInitializationException, design

  1. #11
    Join Date
    May 2011
    Location
    Madrid (Spain)
    Posts
    101

    Default

    Thanks Oliver, it works great!!!!

    I use Set instead of List to avoid the delete"'s

    Code:
    	@ManyToMany
    	private Set<Account> accounts;
    Last edited by venosov; Mar 13th, 2012 at 12:23 PM.

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
  •