Ignore:
Timestamp:
Mar 9, 2011, 3:56:26 PM (11 years ago)
Author:
robert@…
Message:

Fixed bug with hibernate and transactional services in the simple wizard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/dbnp/importer/ImporterService.groovy

    r1603 r1608  
    2323        def authenticationService
    2424
    25         static transactional = true
     25        static transactional = false
    2626
    2727        /**
     
    339339                        importedEntities = importedRows.flatten().findAll { it.class == dbnp.studycapturing.Sample }.unique();
    340340
    341                 def importedSample = findEntityInImportedEntities( dbnp.studycapturing.Sample, excelRow, mcmap, importedEntities, df )
    342                 def imported = retrieveEntitiesBySample( importedSample );
     341                def importedSample = null // findEntityInImportedEntities( dbnp.studycapturing.Sample, excelRow, mcmap, importedEntities, df )
     342                def imported = [] // retrieveEntitiesBySample( importedSample );
    343343               
    344344                for( entity in entities ) {
     
    675675         * Retrieves a mapping column from a list based on the given fieldname
    676676         * @param mappingColumns                List of mapping columns
    677          * @param fieldName                     Field name to find
    678          * @return                                      Mapping column if a column is found, null otherwise
     677         * @param fieldName                             Field name to find
     678         * @return                                              Mapping column if a column is found, null otherwise
    679679         */
    680680        def findMappingColumn( mappingColumns, String fieldName ) {
Note: See TracChangeset for help on using the changeset viewer.