ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Java J2EE  >>  Java Related  >>  JDBC
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
I have written a program to connect to database using 
odbc.Can this Application run on any Platform????
 Question Submitted By :: Satya
I also faced this Question!!     Rank Answer Posted By  
 
  Re: I have written a program to connect to database using odbc.Can this Application run on any Platform????
Answer
# 1
The most important thing in these products is that JaySQL 
can run on other platforms besides Windows, including 
Linux, Sun Solaris and Apple Mac. 

JaySQL is a 100% pure Java solution and therefore, can run 
on any Java compatible platforms.

where as WinSQL is there in ODBC which can run only on 
microsoft platform like (Win9x, NT, Win2000, XP or 2003)
basically ODBC is a microsoft product so its platform 
dependent so we can not run that code on all environment.
 
Is This Answer Correct ?    1 Yes 0 No
Sejal
 

 
 
 
Other JDBC Interview Questions
 
  Question Asked @ Answers
 
what are the Different types of exceptions in JDBC?  1
how to prevent finally block from execution Bosch3
What is Type-1 Driver and when this driver is used?  3
What is Type-2 Driver and when this driver is used?  2
r u used any design patterns in your project? Wipro3
Can we make a database connection from HTML ? BOB-Technologies2
What are the sailent features of JDBC 2.0?  6
which scenarios we go for jdbc,and which scenario we go for connection polling and wat r advantages and disadvantages using connection pooling. TCS2
What is Statement and PreparedStatement? whatz the difference?  2
What is the difference between triggers and procedures?  1
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. Huawei2
what does batchUpdate does? HCL5
What is Type-4 Driver and when this driver is used?  3
What does Class.forName return? IBM6
write down exceptions those appear in java programs when u write JDBC Programs?  2
What is JDBC?  2
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  1
Can we use the one instance of Statment to execute more than one query ? TCS2
What are the Isolation level in JDBC transaction?  1
Difference between Dirty, commited ,phantom,repeatable reads?  2
 
For more JDBC Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com