employer cover photo
employer logo
employer logo

Tata Consultancy Services

Part of Tata Group

Engaged Employer

Tata Consultancy Services Interview Question

*Write the logic for performing a JDBC Connection

Interview Answer

Anonymous

Jan 17, 2020

*Loading the Driver. To begin with, you first need load the driver or register it before using it in the program . ... *Create the connections. After loading the driver, establish connections using : Connection con = DriverManager.getConnection(url,user,password) ... *Create a statement. ... *Execute the query. ... *Close the connections