core java




Asked on June 22, 2013
How  to connect the JDBC in database and clearly explain to full of steps


Replied on June 22, 2013
How  to connect the JDBC in database and clearly explain to full of steps


Replied on March 11, 2015
static Connection connection = null;
static {
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
   connection=DriverManager.getConnection("jdbc:oracle:thin:@localhost:1521:oracle12c","user_name","password");
} catch (Exception e) {
e.printStackTrace();
}
}


Write Answer










©2024 concretepage.com | Privacy Policy | Contact Us