Changeset 3858


Ignore:
Timestamp:
Oct 17, 2007, 7:15:57 PM (14 years ago)
Author:
Nicklas Nordborg
Message:

References #794: Additional fix needed in trunk due to API changes in 2.4-stable

Location:
trunk/src/core/net/sf/basedb/core
Files:
2 edited

Legend:

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

    r3847 r3858  
    113113      org.hibernate.Query query = HibernateUtil.createQuery(session,
    114114        "FROM PlatformData pfd WHERE pfd.fileOnly = true");
    115       for (PlatformData platform : HibernateUtil.loadList(PlatformData.class, query))
     115      for (PlatformData platform : HibernateUtil.loadList(PlatformData.class, query, null))
    116116      {
    117117        RawDataType rdt = new RawDataType(platform);
     
    122122      query = HibernateUtil.createQuery(session,
    123123        "FROM PlatformVariantData pfv WHERE pfv.fileOnly = true");
    124       for (PlatformVariantData variant : HibernateUtil.loadList(PlatformVariantData.class, query))
     124      for (PlatformVariantData variant : HibernateUtil.loadList(PlatformVariantData.class, query, null))
    125125      {
    126126        RawDataType rdt = new RawDataType(variant);
  • trunk/src/core/net/sf/basedb/core/Update.java

    r3857 r3858  
    16961696        "SELECT ad FROM ArrayDesignData ad WHERE ad.platform is null");
    16971697      List<ArrayDesignData> arrayDesigns =
    1698         HibernateUtil.loadList(ArrayDesignData.class, designQuery);
     1698        HibernateUtil.loadList(ArrayDesignData.class, designQuery, sc);
    16991699      for (ArrayDesignData dd : arrayDesigns)
    17001700      {
     
    17321732        "SELECT rba FROM RawBioAssayData rba WHERE rba.platform is null");
    17331733      List<RawBioAssayData> rawBioAssays =
    1734         HibernateUtil.loadList(RawBioAssayData.class, rbaQuery);
     1734        HibernateUtil.loadList(RawBioAssayData.class, rbaQuery, sc);
    17351735      for (RawBioAssayData dd : rawBioAssays)
    17361736      {
     
    17851785      query.setString("name", "raw_data_type");
    17861786      query.setString("value", "affymetrix");
    1787       List<ProjectData> projects = HibernateUtil.loadList(ProjectData.class, query);
     1787      List<ProjectData> projects = HibernateUtil.loadList(ProjectData.class, query, sc);
    17881788      for (ProjectData project : projects)
    17891789      {
     
    18291829      pQuery.setParameterList("keys",
    18301830        Arrays.asList( new Integer[] { adKeyId, rbaKeyId }), Type.INT.getHibernateType());
    1831       List<Integer> pluginIds = HibernateUtil.loadList(Integer.class, pQuery);
     1831      List<Integer> pluginIds = HibernateUtil.loadList(Integer.class, pQuery, sc);
    18321832      for (int pluginId : pluginIds)
    18331833      {
Note: See TracChangeset for help on using the changeset viewer.