details: https://code.openbravo.com/erp/devel/pi/rev/10639f3fc934
changeset: 16540:10639f3fc934
user: Asier Lostalé <asier.lostale <at> openbravo.com>
date: Tue May 15 15:22:24 2012 +0200
summary: fixed bug 20511: Unnecessary flush on CallProcess
diffstat:
src/org/openbravo/service/db/CallProcess.java | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 9d97cd717801 -r 10639f3fc934
src/org/openbravo/service/db/CallProcess.java
--- a/src/org/openbravo/service/db/CallProcess.java Tue May 15 12:01:27
2012 +0200
+++ b/src/org/openbravo/service/db/CallProcess.java Tue May 15 15:22:24
2012 +0200
@@ -11,7 +11,7 @@
* under the License.
* The Original Code is Openbravo ERP.
* The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2009-2011 Openbravo SLU
+ * All portions are Copyright (C) 2009-2012 Openbravo SLU
* All Rights Reserved.
* Contributor(s): ______________________________________.
* Modification july 2010 (c) openbravo SLU, based on contribution made by
iferca
@@ -178,8 +178,7 @@
// call the SP
try {
// first get a connection
- final Connection connection = OBDal.getInstance().getConnection();
- // connection.createStatement().execute("CALL M_InOut_Create0(?)");
+ final Connection connection = OBDal.getInstance().getConnection(false);
final Properties obProps =
OBPropertiesProvider.getInstance().getOpenbravoProperties();
final PreparedStatement ps;
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits