private void writeImport() {
        ImportGenerator imports = new ImportGenerator( filePath );
        if ( hasSearch )
            imports.addImport( "import java.util.List;" );
        imports.addImport( "import org.apache.ibatis.session.*;" );
        imports.addImport( "import " + table.getPackage() + ".dao.*;" );
        imports.addImport( "import " + table.getPackage() + ".domain." + table.getDomName() + ";" );
        imports.addImport( "import " + table.getPackage() + ".util." + "BoException;" );

        write( imports.toString() );

    }