diff -r 075bbec1e396 src/org/openbravo/erpCommon/security/SessionLogin_data.xsql
--- a/src/org/openbravo/erpCommon/security/SessionLogin_data.xsql	Thu May 10 09:17:40 2012 +0200
+++ b/src/org/openbravo/erpCommon/security/SessionLogin_data.xsql	Thu May 10 11:40:58 2012 +0200
@@ -20,14 +20,16 @@
 
 <SqlClass name="SessionLoginData" package="org.openbravo.erpCommon.security">
    <SqlClassComment></SqlClassComment>
-   <SqlMethod name="select" type="preparedStatement" return="multiple">
-      <SqlMethodComment></SqlMethodComment>
-      <Sql>
-        select * from ad_session
-      </Sql>
+   
+  <SqlMethod name="activeSessions" type="preparedStatement" return="multiple">
+    <Sql><![CDATA[
+        SELECT AD_SESSION_ID, SERVER_URL
+          FROM AD_SESSION
+         WHERE SESSION_ACTIVE = 'Y'
+    ]]></Sql>
       <Field name="supportContact" value=""/>
-   </SqlMethod>
-   
+  </SqlMethod>
+
     <SqlMethod name="deactivate" type="preparedStatement" return="rowCount">
     <Sql><![CDATA[
         UPDATE AD_Session
@@ -46,15 +48,7 @@
     ]]></Sql>
     <Parameter name="adSessionId"/>
   </SqlMethod>
-  
-  <SqlMethod name="activeSessions" type="preparedStatement" return="multiple">
-    <Sql><![CDATA[
-        SELECT AD_SESSION_ID, SERVER_URL
-          FROM AD_SESSION
-         WHERE SESSION_ACTIVE = 'Y'
-    ]]></Sql>
-  </SqlMethod>
-  
+
   <SqlMethod name="selectSupportContact" type="preparedStatement" return="string">
     <Sql><![CDATA[
         SELECT SUPPORT_CONTACT
