I have written a program to connect to database using
odbc.Can this Application run on any Platform????
Answers were Sorted based on User's Feedback
Answer / sejal
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 ? | 3 Yes | 0 No |
Answer / manikandan [ gtec,vellore ]
this can run on any platform which supports odbc .
| Is This Answer Correct ? | 0 Yes | 2 No |
What is the execute method in java?
How many types of resultset are there in jdbc?
What are JDBC Best Practices?
What does jdbc do?
What are the flow statements of jdbc?
Discuss the significances of jdbc.
Which database is used with java?
how can we get the metaData (columnNames) from a table which has no Records..
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
How to check jdbc connection in java?
If you are truncated using JDBC, how can you that how much data is truncated?
What is @entity in java?