Simple.data and Connection closing -


i using simple.data oracle managed data access .

https://github.com/simonh/simple.data.oracle

currently there many connections open , not closed in server. how close same .

sure.

string constr = "user id=scott;password=tiger;data source=oracle";  oracleconnection con = new oracleconnection(constr);  con.open();  // stuff  con.dispose(); 

this basic example of how close connection. dispose object.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -