Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Hana db not responding my query result from php

$
0
0

Hi Salman,

 

If it is related to your XS Project ...

 

I have has this a few times where the account defined as executing the query is the problem (in the case below "strDashboardUser").

 

 

function executeQuery(strSQL){

     try{

          var conn = $.db.getConnection(strDashboardUser);

          var pstmt = conn.prepareStatement(strSQL);

          var updateCount = pstmt.executeQuery(); conn.commit();

          return updateCount;

     } catch (err) {

          return err.message;

     }

}

 

I have also seen the case where breakpoints are "persisted" and I actually have to restart my instance to clear them properly. It may be possible this is the case as well?

 

The best option would be to be add a error handler (as above) and add a breakpoint to line 08 and 1.) see if it gets hit, or 2.) what the err is.

 

HTH,

P


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>