title: DBHandle function always fails in PB12.net
body: <p>I have migrated a project from PowerBuilder 12 classic to Powerbuilder 12.net using PFC. Even though in PB12 the connection to the database is successful that is not true for PB12.net.</p>
  
  <p>I have been debugging for the problem and the <code>DBHandle</code> function in <code>of_IsConnected</code> of <code>pfc_n_tr</code> returns false. In PB12 classic this returns true. I have made a database profile which connects successfully though.</p>
  
  <p>This is the code which checks for a successful connection:</p>
  
  <pre><code>if this.DBHandle() = 0 then
      return false
  else
      return true
  end if
  </code></pre>
  
  <p>I added <code>connect using sqlca;</code> to see the problem before the check but I got:
  <code>Transaction already connected</code> in <code>SQLErrText</code>.</p>
  
  <p>What might be the problem?</p>