Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

JDBC Interview Questions
Questions Answers Views Company eMail

r u used any design patterns in your project?

Wipro,

3 7827

What is the use of prepared statement?Ans:used to execute pre compiled statement...so the question is when that precompiled statement will be execute or comiple?................

TCS,

6 12371

After creating conntinpool in weblogic how to write the code in programe where i can use that pool object in the programe connecting to the database and how to debug programe withou eclipse

Wipro,

2 5632

Hi to all.. well i want to make a standalone application which can use the concept of connection pooling, constraint is that i have not to use any application server like weblogic etc. Please help me out. Thaks in advance.

Huawei,

3 6885

How to find the column count in resultset?

Wipro,

1 5404

How to find total column from a resultset?

TSYS,

6 13397

preparedstatement p= new preparedstatement is it possible ?

Fidelity, IBM, Infrasys,

10 19234

callable is interface or class ?

Fidelity,

9 17646

which scenarios we go for jdbc,and which scenario we go for connection polling and wat r advantages and disadvantages using connection pooling.

TCS,

2 6530

what is rowset?

Marlabs,

3 9456

how to retrieve sql exceptions

Bosch,

2 7267

Explain how data flows from view to db and reverse

Bosch,

2050

How to handle when the database crashes while reading the data from the database?

IBM,

2 6831

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

2 5357

i have 1000 records in resultset, how to get first 100 records from resultset, because resultset fetch all 1000 records at a time?

HSBC,

8 21345


Post New JDBC Questions

Un-Answered Questions { JDBC }

How many ways can you update a result set?

1020


What is hbm xml?

876


What is the different between ResultSet and RowSet?

1032


Describe odbc?

978


How to achieve JDBC Connection Pooling using JDBC DataSource and JNDI in Apache Tomcat Server?

1024


What is drivermanager in java?

947


Differentiate between type_scroll_insensitive and type_scroll_sensitive.

925


How to insert and delete a row programmatically? (new feature in JDBC 2.0)

997


What are the common tasks of JDBC?

999


How can I use the JDBC API to access a desktop database like Microsoft Access over the network?

1021


What is the meaning of batch updates?

1096


Is there another way of dealing with the result set that could execute faster?

1007


Can I enable requests to a jdbc connection pool for a database connection to wait until a connection is available?

900


How can we disable a constraint ?

1026


What is isolation level? How to set it?

2214