details: https://code.openbravo.com/erp/devel/pi/rev/b8629f698c42 changeset: 33455:b8629f698c42 user: Carlos Aristu <carlos.aristu <at> openbravo.com> date: Thu Feb 15 16:36:55 2018 +0100 summary: fixes issue 37933: PrintController documents use the standard connection pool
Now the documents generated with the PrintController use the standard connection pool. Notice that the reporting engine keeps using the read only pool to retrieve the translations when generating the translated jasper reports. diffstat: src/org/openbravo/erpCommon/utility/reporting/ReportManager.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diffs (23 lines): diff -r c67f0ce334d3 -r b8629f698c42 src/org/openbravo/erpCommon/utility/reporting/ReportManager.java --- a/src/org/openbravo/erpCommon/utility/reporting/ReportManager.java Thu Feb 15 16:42:01 2018 +0100 +++ b/src/org/openbravo/erpCommon/utility/reporting/ReportManager.java Thu Feb 15 16:36:55 2018 +0100 @@ -11,7 +11,7 @@ * under the License. * The Original Code is Openbravo ERP. * The Initial Developer of the Original Code is Business Momentum b.v. - * All portions are Copyright (C) 2007-2017 Openbravo SLU + * All portions are Copyright (C) 2007-2018 Openbravo SLU * All Rights Reserved. * Contributor(s): Business Momentum b.v. (http://www.businessmomentum.eu). ************************************************************************* @@ -57,8 +57,8 @@ public ReportManager(String ftpDirectory, String replaceWithFull, String baseDesignPath, String defaultDesignPath, String prefix, boolean multiReport) { - this(DalConnectionProvider.getReadOnlyConnectionProvider(), ftpDirectory, replaceWithFull, - baseDesignPath, defaultDesignPath, prefix, multiReport); + this(new DalConnectionProvider(false), ftpDirectory, replaceWithFull, baseDesignPath, + defaultDesignPath, prefix, multiReport); } public ReportManager(ConnectionProvider connectionProvider, String ftpDirectory, ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openbravo-commits mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-commits
