mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
15 lines
429 B
HTML
15 lines
429 B
HTML
<html>
|
|
<body>
|
|
Reports any uses of <code>java.sql.DriverManager</code>
|
|
to acquire a JDBC connection.
|
|
<p>
|
|
<code>java.sql.DriverManager</code>
|
|
has been superseded by <code>javax.sql.Datasource</code>, which
|
|
allows for connection pooling and other optimizations.
|
|
</p>
|
|
<p><b>Example:</b></p>
|
|
<pre><code> Connection conn = DriverManager.getConnection(url, username, password);
|
|
</code></pre>
|
|
<!-- tooltip end -->
|
|
</body>
|
|
</html> |