Skip to content

Commit

Permalink
Replace call to sproc upsert_dc_grid with upsert_dc_grid_v2
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlLevik committed Jun 5, 2023
1 parent 55a6fd9 commit 390dc0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/uk/ac/diamond/ispyb/dao/IspybMxCxDAO.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<String, Object> map(java.lang.String key, java.lang.Object value) {
Expand Down

0 comments on commit 390dc0e

Please sign in to comment.