details:   https://code.openbravo.com/erp/devel/pi/rev/20ad0998273f
changeset: 21128:20ad0998273f
user:      Stefan Hühner <stefan.huehner <at> openbravo.com>
date:      Sat Sep 14 08:55:54 2013 +0200
summary:   Fixed 24769: Fix deprecation warning on temp table creation.
Remove deprecated global flag from temporary table creation on
postgresql.

diffstat:

 src-core/src/org/openbravo/database/SessionInfo.java |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r d03d06d3cd71 -r 20ad0998273f 
src-core/src/org/openbravo/database/SessionInfo.java
--- a/src-core/src/org/openbravo/database/SessionInfo.java      Mon Sep 16 
09:16:09 2013 +0530
+++ b/src-core/src/org/openbravo/database/SessionInfo.java      Sat Sep 14 
08:55:54 2013 +0200
@@ -116,7 +116,7 @@
 
         if (rs.next() && rs.getString(1).equals("0")) {
           StringBuffer sql = new StringBuffer();
-          sql.append("CREATE GLOBAL TEMPORARY TABLE AD_CONTEXT_INFO");
+          sql.append("CREATE TEMPORARY TABLE AD_CONTEXT_INFO");
           sql.append("(AD_USER_ID VARCHAR(32), ");
           sql.append("  AD_SESSION_ID VARCHAR(32),");
           sql.append("  PROCESSTYPE VARCHAR(60), ");

------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to