From 390dc0e4cfd9ff640e379da594d7fb6d05aecb62 Mon Sep 17 00:00:00 2001 From: KarlLevik Date: Mon, 5 Jun 2023 17:28:11 +0100 Subject: [PATCH] Replace call to sproc upsert_dc_grid with upsert_dc_grid_v2 --- src/main/java/uk/ac/diamond/ispyb/dao/IspybMxCxDAO.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/uk/ac/diamond/ispyb/dao/IspybMxCxDAO.java b/src/main/java/uk/ac/diamond/ispyb/dao/IspybMxCxDAO.java index 628e0a5..7089dcb 100644 --- a/src/main/java/uk/ac/diamond/ispyb/dao/IspybMxCxDAO.java +++ b/src/main/java/uk/ac/diamond/ispyb/dao/IspybMxCxDAO.java @@ -117,7 +117,7 @@ public Long insertDiffractionPlan(DiffractionPlan diffractionPlan) throws SQLExc @Override public Long insertGridInfo(GridInfo gridInfo) throws SQLException { - return beanTemplateWrapper.callIspybForKey("upsert_dc_grid", Long.class, gridInfo, "p_id").get(); + return beanTemplateWrapper.callIspybForKey("upsert_dc_grid_v2", Long.class, gridInfo, "p_id").get(); } private Map map(java.lang.String key, java.lang.Object value) {