Changeset 3649


Ignore:
Timestamp:
Aug 10, 2007, 9:10:43 AM (16 years ago)
Author:
Nicklas Nordborg
Message:

Make sure list of formulas get loaded to avoid LazyInitializationException? problems from Hibernate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/core/Formula.java

    r3622 r3649  
    2424package net.sf.basedb.core;
    2525
     26import java.util.ArrayList;
    2627import java.util.Collections;
    2728import java.util.HashMap;
     
    351352  public List<String> getFormulas()
    352353  {
    353     return Collections.unmodifiableList(getData().getFormulas());
     354    return Collections.unmodifiableList(new ArrayList<String>(getData().getFormulas()));
    354355  }
    355356 
Note: See TracChangeset for help on using the changeset viewer.