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

        write( imports.toString() );
    }