What is jdbc and jdbc drivers?
No Answer is Posted For this Question
Be the First to Post Answer
What are the three basic components of the odbc architecture?
What is an SQL Locator?
What is a java driver?
If you are truncated using JDBC, how can you that how much data is truncated?
java.lang.ClassNotFoundException:oracle.jdbc.driver.OracleDr iver? I get this error at run time.I used oracle10G. I set CLASS PATH:C:\oraclexe\app\oracle\product\10.2.0 \server\jdbc\lib\ojdbc14.jar; I write JDBC PROGRAM like import java.sql.*; class Example { public static void main(String args[]) { try { Class.forName ("oracle.jdbc.driver.OracleDriver"); System.out.println("Driver Loaded"); Connection con=DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:xe","system","salmas"); System.out.println("Driver Connected"); Statement st=con.createStatement(); ResultSet rs=st.executeQuery("select * from emp"); while(rs.next()) { System.out.println(rs.getInt(1)); System.out.println(rs.getString(2)); System.out.println(rs.getString(3)); } st.close(); con.close(); } catch(Exception e) { System.out.println(e); } finally { System.out.println("it's finally block executed"); } } }
What is meant by connection string?
Explain creation of statement object with connection method create method with help of an example.
Explain in detail about JDBC and its general features?
Once I have the Java 2 SDK, Standard Edition, from Sun, what else do I need to connect to a database?
What are jdbc and its components?
How can I get or redirect the log used by DriverManager and JDBC drivers?
Explain the locking system in jdbc?