Is JDBC a language or Application?
Answers were Sorted based on User's Feedback
JDBC is neither a language nor an application.
Than what is it?
It is a specification given by sun microsystem .You just
think about while you are working with JDBC concept you are
commonly using certain objects like Connection,Statement etc.
If it was not a specification than we would have to refer
each drivers information.
And about application see you are using JDBC concept to
create JDBC application but it is not itself an application
, and about language since it is part of java than you can
say it is sub-technology of java.
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / anupam kushwaha
JDBC is not a language or a software product. It is an API, which contains set of java classes and interfaces for developing database application using Java.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is connection pooling? What Method and class used for Connection pooling in Java?
dear friends I have made connection with SQLSERVER where the following code is compiling properly but giving error at the runtime . I think error in this line where i am sending the value through string Connection connection = DriverManager.getConnection ( "jdbc:microsoft:sqlserver://localhost:1433","sa",""); import java.sql.*; //import mssqlserver.*; public class TestSQLCON { public TestSQLCON() throws Exception { // Get connection DriverManager.registerDriver(new com.microsoft.jdbc.sqlserver.SQLServerDriver()); System.out.println(); System.out.println("Successfully connected one"); System.out.println(); Connection connection = DriverManager.getConnection ( "jdbc:microsoft:sqlserver://localhost:1433","sa",""); if (connection != null) { System.out.println(); System.out.println("Successfully connected"); System.out.println(); // Meta data DatabaseMetaData meta = connection.getMetaData(); System.out.println("\nDriver Information"); System.out.println("Driver Name: " + meta.getDriverName()); System.out.println("Driver Version: " + meta.getDriverVersion()); System.out.println("\nDatabase Information "); System.out.println("Database Name: " + meta.getDatabaseProductName()); System.out.println("Database Version: "+ meta.getDatabaseProductVersion()); } } public static void main (String args[]) throws Exception { TestSQLCON test = new TestSQLCON(); } } so please help me
What is the use of jdbc api?
In which ways is driver class is registered with drive manager?
What is odbc jdbc?
What is db client?
What is jdbc thin client in oracle?
What does setautocommit do?
what are the advantages of JDBC?
What are the basic exceptions in jdbc?
What are the different types of JDBC drivers?
What class.forname does, while loading the drivers?