SQL driver for java

Hi all,
where can I find an sql driver for java.
Thanks in advance for your help.
Best Regards.
Saadi MONLA

Go to msdn.microsoft.com

Similar Messages

  • MS SQL2000 Driver for JAVA

    Does anyone use MSSQL2000 Driver for JAVA?
    I wrote a store procedure which returns multiple resultset. And I wrote a program to retrive all resultsets from it. It works fine with JDBC/ODBC Bridge Driver. But i got problem with MSSQL2000 Driver by using the same program. It said no resultset was produced. I found that problem only existed with store procedure returning multiple resultset, otherwise it works fine as JDBC/ODBC Bridge Driver does.
    Anyone know what the problem i got? Or MSSQL2000 Driver cannot support Multiple Resultset? But i think it should be good enough to support it, as it is a type 4 Native Driver!
    Thank you very much

    hi
    i am working with SQL server 7.0...
    in it one connection can have only one resultset.More than one resultset gives error as connection in use.thats the reason when u call ur stored procedure in java...multiple resultset in one connection dont work.
    for eg
    connection1
    st1 = sonnection1.createStatement();
    Resultset rs =st1. .....
    rs.close();
    rs = ......
    works fine..
    but !!!!!!!!!!!!!!!!!1
    connection1
    Resultset rs = st.
    while(rs.next())
    st2 = sonnection1.createStatement();
    ResultSet rs1 = st2......
    rs2.close()..
    rs.close();
    does not work for java using sql server
    try using connection pooling....
    hope this helps
    regrds
    Praveena

  • Is XML-SQL Utility for Java run on Client Side?

    A question about the XML-SQL Utility for Java
    When a client program connect to a Oracle database (the clinet program and Oracle DB is run on two different machine. Oracle 8i is used) and use the oracle.xml.sql.query.OracleXMLQuery Class (form the XSU) to generate XML by given a SQL query. I want to know the transforation process is execute in the Clinet side or the database?
    Is there any method that i can retrieve the XML directly from the database rather then doing the transformation form the Client side?

    Set JDK_HOME to the directory where you install your JDK (Java Development Kit).
    So instance, I've install JDK1.1.8 on my
    C drive so
    set JDK_HOME=c:\jdk1.1.8;c:\jdk1.1.8\bin

  • Xml SQL Utility for java and Dr.Watson for WIN-NT

    hello everybody.
    when i am running the sample code in xml Sql utility for java documentation,
    Dr. watson for windows NT error occures.
    what may be the problem? please suggest a solution
    thanks
    dev

    Set JDK_HOME to the directory where you install your JDK (Java Development Kit).
    So instance, I've install JDK1.1.8 on my
    C drive so
    set JDK_HOME=c:\jdk1.1.8;c:\jdk1.1.8\bin

  • Oracle 9.2.0.1.0 JDBC driver for Java 1.5 & Java 1.6

    Hi,
    Is there any JDBC driver that I can download for running Java application of version 1.5 or 1.6 on Oracle 9.2.0.1.0 ?
    As I see in the official link of Oracle: http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    The JDBC drivers for this database are only for Java 1.4 and older.
    Can any one please help?
    Thanks
    Edited by: user11088169 on 05:21 09/06/2009

    The subject is about Oracle 9.2.0.1 JDBC drivers. "Oracle 9.2.0.1.0 JDBC driver for Java 1.5 & Java 1.6"
    Oracle database 9.2.0 drivers may only be used with JDK 1.4 or earlier.
    But, Oracle database 9.2.0 may be used with Oracle database 11 drivers with JDK 5.0, 6.0.

  • Problem in SQL Server 2000 Driver for Java Database Connectivity

    Hi,
    I have problem with MS SQL 2000 JDBC driver. I am using Type-4 driver for my application. I can able to connect through DSN. If I use Type-4 Driver to connect database means it gives the following exception.
    java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Error establishing socket.
         at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
         at com.microsoft.jdbc.sqlserver.tds.TDSConnection.<init>(Unknown Source)
         at com.microsoft.jdbc.sqlserver.SQLServerImplConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.getNewImplConnection(Unknown Source)
         at com.microsoft.jdbc.base.BaseConnection.open(Unknown Source)
         at com.microsoft.jdbc.base.BaseDriver.connect(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at java.sql.DriverManager.getConnection(Unknown Source)
         at test.TestDB.main(TestDB.java:17)
    My Java Code :
    String driver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
    Class.forName(driver);
    Connection con = DriverManager.getConnection("jdbc:microsoft:sqlserver://192.168.48.90:1433;User=sa;Password=sa;DatabaseName=GWCANADA");
    Statement st = con.createStatement();
    ResultSet rs = st.executeQuery("select * from emp");Do we have any other jdbc driver to connect MS SQL 2000 aprt from the Microsoft JDBC driver.
    Plese help me to resolve this problem
    Thanks
    ---Suresh

    Same problem is here: http://forum.java.sun.com/thread.jspa?threadID=419214&tstart=135
    Check that your server is running (telnet <hostname> 1433)
    --Xapp                                                                                                                                                                                                                                                                                                                   

  • Sql driver for sp14

    hi,
    i upgraded my portal to sp14. i added new jdbc driver at
    visual composer. i can connect to the db and select information from my table. when i use the method "last()" i get an error message :
    Sales naming exception [sap NWMSS] [sqlserver jdbc driver]
    unsupported method : resultset.last
    can u help?
    roni.

    Hard to say as I don't know what you want to do with the last() call. Maybe a 'select count(*)' with the same where clause that was used to create the result is an option. Just a side note: OpenSQL only supports read-only result sets, which is you can't call any of the update() methods on it.
    Maybe a vendor connection helps talking native sql to the database; it usually gives you access to all features that the specific jdbc driver for a given database backend supports. The real big downside is that you end up with database specific code that doesn't neccessarily work on all db platforms. Further, you can't design the tables with the dictionary explorer nor is their any support for deployment of native tables. Quite some drawbacks.
    helmut

  • Oracle RDB driver for java

    hello.
    i connect to my oracle driver using this
    Class.forName("oracle.jdbc.driver.OracleDriver");
    but now i have to use oracle RDB and i want to ask how that is done?
    do i have to download another jar for that?
    and how is the connection string done?
    thanks

    nope.
    you're getting me all wrong
    i already have ojdbc14.jar and i already connected to oracle 9iHow did you do that without knowing the connection string?
    the problem is with oracle RDB jdbc
    that's another different matter.What? I don't understand.
    oracle rdb runs under open vms and you have to
    install some other things before the rdb jar itself.I don't know about running Oracle on OpenVMS. Sorry.
    and i also need the connections tring for the class.How did you "connect" without it?
    I gave you a link to the docs, which should tell you what the connection string syntax is. It'll look something like this:
    jdbc:oracle:thin:@host:1521:database%

  • Does java.sql.Driver meets java.util.Locale ?

    Hello,
    I get some trouble using different JDBC drivers on machines with different languages.
    I receive numbers from database with different decimal separator running driver on machines with different languages.
    Is it possible to set the language explicit?
    Thanks for any help!!

    Hello,
    I now checked the problem more detailed:
    I created a view in Database like this:
    create VIEW VALUE_VIEW
    as select LTRIM(TO_CHAR(KENNWERT_FLOAT.WERT, '999999999999999999999999999999990D999'), ' ') WERT from WERT_TABELLE;
    there is now a decimal separator from ORACLE in
    if I do "select WERT from VALUE_VIEW"
    I receive 100.345 if I use ORACLE JDBC driver
    I receive 100,345 if I use SEQUELINK JDBC driver
    The same behaviour is on insert or update statements.
    Here is the sample code which I used to verify this behaviour:
              if( oracle )
              driver = new oracle.jdbc.driver.OracleDriver();
              DriverManager.registerDriver(driver);
              con = DriverManager.getConnection("jdbc:oracle:thin:@myHost:1521:idb", "myUser", "pwd");
              else
              driver = new intersolv.jdbc.sequelink.SequeLinkDriver();
              DriverManager.registerDriver(driver);
              con = DriverManager.getConnection("jdbc:sequelink://myHost:4003/[Oracle]", "myUser", "pwd");
              Statement stmt = con.createStatement();     
              ResultSet rs = stmt.executeQuery("select WERT from VALUE_VIEW");
              rs.next();
              textArea1.append( "getString: " + rs.getString(1) + "\n" );
              textArea1.append( "getObject: " + rs.getObject(1) + "\n" );
    So I am not able to switch my JDBC driver to oracle if oracle needs '.' as decimal separator on insert and I have ',' in frontend as decimal separator
    Thanks for your help in advance
    Salvador

  • SQL Driver for db2

    Hi
    We're running SAP Netweaver XI 7 on solaris 10,db2 9.We trying to set up some sort of communication between DB2 and SQL Server 2000,can somebody assist with a solution to this.
    Thanx.

    Hello, Terrence
    You can do it with two scenario :
    1. On SAP level with UD Connect (howto guide ia available on 
        www.sdn.sap.com/irj/sdn/howtoguides)
    2. On a DB2UNIX database level with additional pruducts (DataDirect Connect for 
        ODBC and IBM WebSphere Federation Server). But it is additional money.
    With best regards, Dmitry

  • Oracle XML SQL Utility for Java ..

    I installed the Oracle SQL utility. But when i give a command on client side like
    C:\>java OracleXML
    it gives an error OracleXML class not found.
    Can anybody help how to run this utility.
    Thanks
    Shrikant

    You have to make sure that the oraclexmlsql.jar is in your java CLASSPATH.
    Assume you have oraclexmlsql.jar in C:\temp
    On NT, you would do something like:
    C:\> set CLASSPATH=C:\temp\oraclexmlsql.jar;%CLASSPATH%
    C:\> java OracleXML
    and it will work.

  • How i connect to SQL server using java?

    hi every body
    i need to connect to a sql server database using java
    i do not know sql driver in java
    plz help me
    thanks

    This is certainly the wrong forum for that question. Search in the JDBC forum. This has been asked and answered many times.

  • JDBC thin driver for oracle 7.1.3

    Hi,
    we r using Oracle 7.1.3. i would like to know where i can get the
    thin driver for java compatible with the oracle version 7.1.3 so
    that i need not install an oracle client in the clients pc.
    thanks
    veera
    null

    Jay (guest) wrote:
    : BUBBA (guest) wrote:
    : : Veera Nagendran (guest) wrote:
    : : : Hi,
    : : : we r using Oracle 7.1.3. i would like to know where i can
    : get
    : : the
    : : : thin driver for java compatible with the oracle version
    : 7.1.3
    : : so
    : : : that i need not install an oracle client in the clients pc.
    : : : thanks
    : : : veera
    : : Thedatabase you're using went out of support over 2 years
    ago.
    : : oracle doesn't provide jdbc drivers for anything less than
    : : supported version 7.3.4.
    : So why does Oracle make this claim
    : "The Thin driver does not require Oracle software on the client
    : side. It connects to any Oracle database of version 7.2.x and
    : higher. The driver requires a TCP/IP listener on the server
    : side. " ???
    : Jay
    re-read my earlier reply -- the comment was :
    Thedatabase you're using went out of support over 2 years
    ago. oracle doesn't provide jdbc drivers for anything less
    than the minimum supported version ---> 7.3.4.At no time did i refer to the client s/w being required !!
    also it was not tested against unsupported version of the
    rdbms ...
    also rdbms 7.1.3 isn't y2k compliant.
    use it at your own risk..
    what "claim" are you saying oracle made ??
    null

  • MS SQL Server in Java/J2EE Environment

    Dear all,
    I wanted to understand pros and cons of choosing MS SQL Server in Java/J2EE environment.
    Could anybody share some thoughts or web resources?
    Personally I hate using MS SQL Server for Java/J2EE based applications. But one of my clients wanted to have following environment for his production environment and he insist on using this environment for application development. So I just wanted to understand pros and cons of J2EE (Application) + MS SQL Server ( rdbms )
    MS SQL Server
    J2EE/Flex
    Windows OS
    Thanks
    Sudhakar
    Edited by: Sudhakar.Chavali on Mar 20, 2008 10:27 AM

    Sudhakar.Chavali wrote:
    Dear all,
    I wanted to understand pros and cons of choosing MS SQL Server in Java/J2EE environment.
    Could anybody share some thoughts or web resources?
    Personally I hate using MS SQL Server for Java/J2EE based applications. why hate? it's a perfectly good db
    But one of my clients wanted to have following environment for his production environment and he insist on using this environment for application development. so don't take the job
    So I just wanted to understand pros and cons of J2EE (Application) + MS SQL Server ( rdbms )there's no con. java ee works fine w/ sql server
    >
    MS SQL Server
    J2EE/Flex
    Windows OS
    Thanks
    Sudhakar
    Edited by: Sudhakar.Chavali on Mar 20, 2008 10:27 AMdon't take the work if you can't do it.
    %

  • Do I need to set Microsoft Driver for Oracle in Windows XP?

    Hi,
    I need to insert data into Oracle Table from java Code.
    I need to use JDBC-ODBC Bridge.
    The code is:
    import java.sql.Driver;
    import java.sql.DriverManager;
    import java.sql.Connection;
    import java.sql.DatabaseMetaData;
    import java.sql.Connection;
    import java.sql.DriverPropertyInfo;
    import java.util.Enumeration;
    import java.util.Properties;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class DriverTest {
    String protocol ="jdbc:odbc://wbalud1b.npc.za:1572/ORA8D.NPC.ZA";
    String driverClass ="sun.jdbc.odbc.JdbcOdbcDriver";
    //Connection conn = DriverManager.getConnection(protocol,"TUTU_CONN","TUTU142");
    Connection connection;
    Statement statement;
    public void initialize() throws SQLException, ClassNotFoundException {
    Class.forName(driverClass);
    connection = DriverManager.getConnection(protocol);
    if(connection!=null)
    System.out.print("The Connection is not null now");
    public static void main(String args[]) {
    DriverTest driverTest = new DriverTest();
    try {
    driverTest.initialize();
    catch(SQLException sqlException) {
    while(sqlException !=null)
    sqlException.printStackTrace();
    sqlException = sqlException.getNextException();
    catch(Exception e)
    e.printStackTrace();
    }I am getting a runtime error.
    java.sql.SQLException: [Microsoft][ODBC Driver Manager] Data source name too lon
    g
            at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6958)
            at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:7115)
            at sun.jdbc.odbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3074)
            at sun.jdbc.odbc.JdbcOdbcConnection.initialize(JdbcOdbcConnection.java:3
    23)
            at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:174)
            at java.sql.DriverManager.getConnection(DriverManager.java:525)
            at java.sql.DriverManager.getConnection(DriverManager.java:193)
            at DriverTest.initialize(DriverTest.java:22)
            at DriverTest.main(DriverTest.java:35)Regards
    Taton

    Hi,
    I am getting runtime Exception:
    java.sql.SQLException: No suitable driver
            at java.sql.DriverManager.getConnection(DriverManager.java:545)
            at java.sql.DriverManager.getConnection(DriverManager.java:193)
            at DriverTest.initialize(DriverTest.java:24)
            at DriverTest.main(DriverTest.java:37)with the below code
    import java.util.Enumeration;
    import java.util.Properties;
    import java.sql.SQLException;
    import java.sql.Statement;
    public class DriverTest {
    String protocol ="jdbc:odbc:thin:@wcalqd0b.pwc.ca:1522:ORA9D.PWC.CA";
    String driverClass ="oracle.jdbc.driver.OracleDriver";
    //Connection conn = DriverManager.getConnection(protocol,"REG_CONN","REG123");
    Connection connection;
    Statement statement;
    public void initialize() throws SQLException, ClassNotFoundException {
    Class.forName(driverClass);
    connection = DriverManager.getConnection(protocol);
    if(connection!=null)
    System.out.print("The Connection is not null now");
    public static void main(String args[]) {
    DriverTest driverTest = new DriverTest();
    try {
    driverTest.initialize();
    catch(SQLException sqlException) {
    while(sqlException !=null)
    sqlException.printStackTrace();
    sqlException = sqlException.getNextException();
    catch(Exception e)
    e.printStackTrace();
    }I have configured the classpath variable as
    SET Classpath=.;E:\Oracle\product\10.1.0\Client_1\jdbc\lib\classes12.jar;E:\Oracle\product\10.1.0\Client_1\jdbc\lib\ojdbc14.jar;D:\Program Files\Java\jdk1.5.0_15\bin;E:\Oracle\product\10.1.0\Client_1\bin;E:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin\client;E:\Oracle\product\10.1.0\Client_1\jre\1.4.2\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Sun\studio_04Q4\Ent_04Q4\modules\bin;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;
    Regards
    Taton

Maybe you are looking for

  • Using Adobe Ideas with Illustrator CS3

    I am using Adobe Ideas in an iPhone.  I have Adobe Illustrator CS3 which won't open the idea file.  Do I need to update my version of Illustrator or is there some way to open the files with the version I have?  Also, are they vector or rastor files? 

  • Software Trigger from CC1 on PCIe-1433

    Dear Sir or Madam, Now I am getting into trouble about NI Measurement Automation explore with my PCIe-1433. I like to make software trigger from this software into my cameralink camera. However I am not so familiar with this software. Is it possible

  • Link BW System to EP 60 SP11

    Hello all, Does anyone know if there's any documentation in place that provides guidance on connecting a BW system to EP60 SP11 similar to the document that exists for SP2?: http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/lib

  • Error while converting Ship-to-party to Sold-to-party

    Hi, I need to covert a Ship-to-party to Sold-to-party using transaction XD07. While converting the above i m getting the following error The planned change is not allowed as the following field groups would be masked by the new account group Group   

  • HT1245 How do I delete my existing iPhone contacts then sinc just my google contacts?

    How do I delete my existing iPhone contacts then sinc just my google contacts?