Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions protein/api-src/org/labkey/api/protein/go/GoLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package org.labkey.api.protein.go;

import jakarta.servlet.ServletException;
import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
import org.apache.commons.compress.archivers.tar.TarArchiveInputStream;
import org.apache.commons.io.IOUtils;
Expand All @@ -25,6 +24,7 @@
import org.labkey.api.data.DbSchema;
import org.labkey.api.data.DbScope;
import org.labkey.api.data.JdbcType;
import org.labkey.api.data.SQLFragment;
import org.labkey.api.data.SqlExecutor;
import org.labkey.api.data.TableInfo;
import org.labkey.api.data.TableSelector;
Expand Down Expand Up @@ -146,16 +146,16 @@ public void load()
public static void dropGoIndexes()
{
DbSchema schema = ProteinSchema.getSchema();
new SqlExecutor(schema).execute(schema.getSqlDialect().execute(schema, "drop_go_indexes", ""));
new SqlExecutor(schema).execute(schema.getSqlDialect().execute(schema, "drop_go_indexes", new SQLFragment()));
}

public static void createGoIndexes()
{
DbSchema schema = ProteinSchema.getSchema();
new SqlExecutor(schema).execute(schema.getSqlDialect().execute(schema, "create_go_indexes", ""));
new SqlExecutor(schema).execute(schema.getSqlDialect().execute(schema, "create_go_indexes", new SQLFragment()));
}

private void loadGoFromGz() throws SQLException, IOException, ServletException
private void loadGoFromGz() throws SQLException, IOException
{
Map<String, GoLoadBean> map = getGoLoadMap();
long start = System.currentTimeMillis();
Expand Down
Loading