From 89bea68cc735d7cff4dcc13ec670df4c9ab70dba Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Mon, 3 Mar 2014 18:55:52 +0000 Subject: [PATCH] Minor Updated git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-widgetx@92581 82a268e6-3cf1-43bd-a215-b396298e98cf --- .../portlets/user/tdwx/server/TabularDataXServiceImpl.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/org/gcube/portlets/user/tdwx/server/TabularDataXServiceImpl.java b/src/main/java/org/gcube/portlets/user/tdwx/server/TabularDataXServiceImpl.java index 90f2a11..384626e 100644 --- a/src/main/java/org/gcube/portlets/user/tdwx/server/TabularDataXServiceImpl.java +++ b/src/main/java/org/gcube/portlets/user/tdwx/server/TabularDataXServiceImpl.java @@ -48,6 +48,7 @@ public class TabularDataXServiceImpl extends RemoteServiceServlet implements Tab HttpSession httpSession = this.getThreadLocalRequest().getSession(); DataSourceX dataSource = SessionUtil.openDataSource(httpSession, tableId); SessionUtil.setDataSource(httpSession, tdSessionId, dataSource); + logger.debug("Open table get table definition"); return dataSource.getTableDefinition(); }catch (Exception e) { logger.error("An error occurred opening the specified table "+tableId+" in session "+tdSessionId, e); @@ -63,6 +64,7 @@ public class TabularDataXServiceImpl extends RemoteServiceServlet implements Tab try{ DataSourceX dataSource = getDataSource(tdSessionId); + logger.debug("Service get current table definition"); return dataSource.getTableDefinition(); }catch (Exception e) { logger.error("An error occurred retrieving the table definition", e); @@ -79,6 +81,7 @@ public class TabularDataXServiceImpl extends RemoteServiceServlet implements Tab try{ HttpSession httpSession = this.getThreadLocalRequest().getSession(); DataSourceX dataSource = SessionUtil.openDataSource(httpSession,id); + logger.debug("Service get table definition"); return dataSource.getTableDefinition(); }catch (Exception e) { logger.error("An error occurred getting the table definition", e);