From 2be2e6be86c0ab166754bf626514858d6e8350ca Mon Sep 17 00:00:00 2001 From: deathmeat Date: Tue, 24 Apr 2007 12:57:13 +0000 Subject: [PATCH] [ 1706552 ] Wrong transaction isolationlevel in ReportStart class --- JasperReports/src/org/compiere/report/ReportStarter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JasperReports/src/org/compiere/report/ReportStarter.java b/JasperReports/src/org/compiere/report/ReportStarter.java index 9c88b82a6b..8e109ecab4 100644 --- a/JasperReports/src/org/compiere/report/ReportStarter.java +++ b/JasperReports/src/org/compiere/report/ReportStarter.java @@ -520,7 +520,7 @@ public class ReportStarter implements ProcessCall { "WHERE AD_PInstance_ID="+AD_PInstance_ID; Statement pstmt = null; try { - pstmt = DB.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY, trxName); + pstmt = DB.createStatement(ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_UPDATABLE, trxName); pstmt.executeUpdate(sql); pstmt.close(); } catch (SQLException e) {