StoredProcedure are the group of the sql statements and perform as a logical unit . using the StroedProcedure encapsulated the set of queries or operations to call the StroedProcedure using the CallableStatement CallableStatement cs=con.Preparecall{"sotredProcedure"}: CallableStatements to take the inputparameters as well as the OutputParameters. CallableStatement is the subclass of the PreparedStatement. using the PreparedStatement you can submit the select statement repatitvely . PreparedStatement ps=con.preparedStatement("select*form emplyoee(???)"); using the Statement object you can submit the any kind of the sql statements like DML statements. Statement st=con.createStatement();
If 4 different drivers are loaded, & created 4 different statements calling diffener tables from same database, how driver is recognized for each statement?