Quantcast
Channel: pastebin.com – LeakedIn
Viewing all articles
Browse latest Browse all 2834

Potential leak of data: Oracle URI

$
0
0
Detected 2 occurrence(s) of ‘dbc:oracle:thin:’: atch (ClassNotFoundException | SQLException e) { e.printStackTrace(); } } private void exUpdate(String query){ try { Class.forName("oracle.jdbc.driver.OracleDriver"); Connection conn = DriverManager.getConnection( "jdbc:oracle:thin:@dbserver2:1521:ora10", "bbm3h11abs", "6qtkvA"); Statement stmt = conn.createStatement(); int res = stmt.executeUpdate(query); stmt.close(); conn.close(); JOptionPane.showMessageDialog(null, res); Source: http://pastebin.com/raw.php?i=u0RwA9T8

Viewing all articles
Browse latest Browse all 2834

Trending Articles