This discussion is archived
2 Replies Latest reply: Feb 1, 2012 9:13 PM by Christian.Shay - Oracle RSS

how to close a oracle connection immediately in .net

910675 Newbie
Currently Being Moderated
Hello,
ich write a client(c# program) that connect to oracle db via oracle client and ado.net.
i open a connection at the start of my programm and close it at the end and exit of my program.
i want to reconnect when the connection lost. when the connection lost i close the connection and reopen it with open. my problem is that close and reopen d'ont cause a exception !!!!!!
can anyone explain me why???
i have deaktivite the pooling but the same probleme. i have remarked that the connection will be closed later by the second retry to reconnect.
any idea?

thanks in advance
youssef

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points