Diff jdbc and odbc

without odbc
there is a possible to connect
any database
-sun_jothi

odbc is an older standard that doesn't have anything to do with Java.
JDBC is the Java-equivalent to ODBC, it's a Java-based standard. There are JDBC drivers that are based on ODBC (so called JDBC-ODBC-bridges), but they are usually of bad quality and only usefull for testing/experimentation). Most Databases provide JDBC drivers that don't depend on ODBC in any way.

Similar Messages

  • Does TT support OCI API except JDBC and ODBC?

    Hi
    Does TT support OCI API except JDBC and ODBC? or Do we have any plan to support OCI in the future

    Oracle policy does not permit us to give any commitment to when or if any specific functionality will be delivered. My understanding is that we plan to deliver this in the next major release of TimesTen (which may or may not be called 8.0) that is released after Oracle 11g (since a lot of the changes needed to enable OCI support for TimesTen are in the 11g client). We currently hope that this release will be available sometime in CY2008.
    You should not rely on any of the above information as it is, as always, subject to change without notice.
    Chris

  • Crystal Reports 2008, mySQL, JDBC, and ODBC

    Hello everyone.
    I have just spent a very challenging few days getting Crystal Reports 2008 Developer (advanced version) working with a mySQL data source.  I fell into several pits and narrowly escaped being eaten by monsters. I thought I'd share my experience to spare others the same trouble.  All the stuff I'm writing about here applies to the runtime as well as the Developer UI.
    I'm working on Windows Server 2008 R2, 64 bit, standard edition.  The mySQL server is 5.1.42. The mySQL ODBC connector is version 5.1.6.  You need the 32-bit version of this connector, even if you're on a 64-bit machine.
    Lessons learned:
    1. JDBC connectivity in Crystal Reports doesn't work correctly.  It consumes excessive memory when a report  requires lots of rows from a data base.  Don't even think about using it.
    2. Crystal Reports has a problem with ODBC for mySQL in which it sometimes gives a dialog box with these words in it.
    The alias requested 'SOME_TABLE_NAME', contains a combination
       of characters which is not considered to be valid.
    This error message come up when using items on Crystal's "Database" menu like "Set Datasource Location..."
    To fix this you need to make a registry change.  As far as I know this has to be done for each account on each machine running the Crystal Developer. (insert usual warning about registry editor). Find the key named:
    [HKEY_CURRENT_USER\Software\Business Objects\Suite 12.0\Crystal Reports\Database
    Create a new string value named InvalidAliasCharList Give it this value:
    .:{}()@&$#^!*~|%\\\"
    Notice that the last two characters are backslash double-quote.
    Good luck.  It actually works pretty well now that it's working.
    If any other community member can offer corrections or better ways of coping with this stuff, please do!

    Good morning,
    I was wondering if I may ask some additional help...
    We're on version 14.0.4.738 RTM and we are having the same issue.... need to enter the alias as table name with a backslash, ie serparate_work_orders\ for login credential reasons, but all the regedits listed seem to refer to locations in the registry that dont exist.
    Version 14 have two "database locations" from what i can see called...
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseOptions
    and
    HKEY_CURRENT_USER\Software\SAP BusinessObjects\Suite XI 4.0\Crystal Reports\DatabaseServer
    I've applied the patch to both these locations and still no joy, same error message!
    Any ideas?

  • IDoc to JDBC  and JDBC to IDoc Scenario

    Dear All,
    I am working on IDoc to JDBC and JDBC to IDoc Scenario.
    I have to send Idoc from SAP to Non SAP system(.NET application) i almost configured in XI but still i don't know when my INTEGRATION will INVOKE how my data will proceed from IDOC to Oracle database(Through JDBC) and in case of revese how and when Data flow will start.
    Does anyone have completed STEP by STEP scenario document for this?
    How my Idoc will sent to XI?
    How XI will pick up data from IDoc?
    How XI will Convert data to JDBC and UPDATE in Oracle Database?
    And i reverse case(JDBC to IDoc) when my INTEGRATION will INVOKE?
    Where and When i can watch my process and data?
    How can i test the whole integration?
    I AM GETTING ERROR WHILE TESTING CONFIGURATION IN Integration Directory "Error while refreshing the XI runtime cache" and when i check this in SXI_CACHE  it gives me error
    "Unable to refresh cache "NO_BUSINESS_SYSTEM"
    "Error during last refresh to cache"LCR_GET_OWN_BUSINESS_SYSTEM - NO_BUSINESS_SYSTEM"
    Please solve all the above problems i will reward u points
    thanks,
    RP

    Hi,
    While we working on IDOC to JDBC interface..
    We have to deploy JDBC Drivers?
    Go through this links,
    /people/varadharajan.krishnasamy/blog/2007/02/27/configuring-jdbc-connector-service-to-perform-database-lookups
    http://searchsap.techtarget.com/tip/0,289483,sid21_gci1246926,00.html
    To install JDBC driver follow the how to guide.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-how-to-guides/how%20to%20install%20and%20configure%20external%20drivers%20for%20jdbc%20and%20jms%20adapters.pdf
    Configuration of JDBC Adapter for SQL Server
    JDBC Driver = com.microsoft.jdbc.sqlserver.SQLServerDriver
    Connection = jdbc:microsoft:sqlserver://hostname:<port>;DatabaseName=<DBName>
    UserID and Password.
    If the connection is not working find the correct port number.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/40b92770-db81-2a10-8e91-f747188d8033
    JDBC- X I -  R/3 Scenario
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    Please check the driver path as mentioned below.
    JDBC Driver : sun.jdbc.odbc.JdbcOdbcDriver
    Connection:jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//location of DB table.mdb;
    No JDBC driver required.
    Receiver JDBC scenario MS access - /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn
    follow this thread
    Re: Problem when connecting to MS Access through JDBC Adapter.
    SAP Note 850116 has details
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Configuring the Sender JDBC Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/1d/756b3c0d592c7fe10000000a11405a/content.htm
    Configuring the Receiver JDBC Adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b0/676b3c255b1475e10000000a114084/content.htm
    Idoc Reveiver adapter..
    http://help.sap.com/saphelp_erp2004/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/content.htm
    Thanks,
    Satya Kumar
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Edited by: SATYA KUMAR AKKARABOYANA on May 8, 2008 5:51 PM

  • IBM U2 Universe JDBC or ODBC, Can't connect

    Hi, I can't find a definite answer on the forums, so I will
    post this here. I'm trying to set up a JDBC or ODBC connection to a
    Universe 10.0 database.
    I've been able to setup both the ODBC and JDBC drivers in
    other programs, but coldfusion still isn't working properly.
    The ODBC connection will verify, but when you try to do
    anything, you get the error "invalid argument value" everytime,
    making it useless.
    The JDBC connection has offered more success, but is still
    useless. SELECT statements work 100% and don't give a problem.
    UPDATE, INSERT, or DELETE statements will work and update the
    database, but the .cfm page loads constantly until it hits the
    timeout period and throws an error. It's like the server is not
    responding back from anything but SELECT statements.
    If there is any updates on the status of these problems,
    please let me know, because I can't find any solid solutions on the
    net.

    No, the JdbcOdbc bridge appears to be calling it.
    I'll look for an option; where on earth do I find
    documentation on it?Notice the part where I said noted that it might be obscure or not documented at all?
    The most likely place is to find the source code for the ODBC driver and hope it has documentation. It might also be documented in the source code itself.
    >
    Is it allowed to hack the JdbcOdbc code? I was under
    the impression that accepting the Sun licence limited
    that option. The driver comes with Jdk 1.4. :-$
    Yes, as long as you do not distribute it.

  • JDBC and XSU

    Recently we have set up a JDBC connection to a SQL Server 2000 DB. Using java at the command line I can pull out information from our database but if you use OracleXMLSave and try to push to the databse it gives an OracleXMLSQLException. Any ideas of why you can pull info out but not push info in from the XSU API. Thanks,
    Matthew

    I think you've specified a JDBC-ODBC-Bridge as Database-URL. You
    should use the following information to establish a connection
    with JDBC and Oracles ;thin driver+ :
    driver = "oracle.jdbc.driver.OracleDriver"
    dburl = "jdbc:oracle:thin:@yourhost:1521:yourSID"
    (change the according parts)
    You can take the authentication information user/pass also
    inside the dburl:
    dburl = "jdbc:oracle:thin:user/pass@yourhost:1521:yourSID"
    Alex

  • Popularity of JDBC to ODBC or OLEDB

    Does anyone know of any statistics about the market share of database applications that use JDBC VS ODBC VS OLEDB (VS native I guess too). I don't mean for this to be a C VS Java question... but more along the lines of what is the breakdown of what percentages of database applications use to connect to the database.
    - Mark

    Well... I am sure Google could find you plenty of statistics but how helpful they will actually be is another matter altogether.
    I think there are two problems with most statistics you will find. First of all you have to question the source. Like a study sponsored by Sun will say radically different things from a site sponsored by Microsoft. Will either one be the truth. No. It will be "somewhere" in the middle probably.
    Then you have to compare apples to apples as best you can. Your question is way to broad to let that be accomplished. As a guess if I had to guess a the #1 database usage scenario ranked by total number of applications that use it I would guess that the answer is neither JDBC, nor ODBC but the PHP MySQL library.
    Now does that mean PHP is better? Well in most cases no. Except in one case it may be... that case being rapid development of relatively simple websites. Occaisonally I read nonsense about how PHP is better than Java but you just can't make that kind of claim. It's like comparing a compact car to a 747 jet. If you want to visit a town 15 miles down the road yes the compact is better. But if you want to go overseas... not so good.
    Being able to compare apples to apples is not always easy but the less bias the source has the easier it gets. I am reminded of the netcraft site. They collect information on the usage of different web technologies (and I think sell it) so I would say they are pretty unbiased. At any rate I remember seeing some web server stats that basically showed Linux is far and away the champ when it comes to OS's for hosting the most websites. Windows was second and various Unixy flavours after that. Well down the list was Solaris.
    What was interesting though was taking the list of the top 20 or so sites by total traffic. As I recall about 75% of those were on Solaris which was a far different picture than the overall share of less than 5% Okay to be honest I can't remember these numbers for sure but the difference was striking and I would be surprised if I was off by very much and anyway I am just trying to make a point here. The point being that if you asked what is the "best" you get very different answers even from the same set of data depending on how you define best. I think it also makes a strong case that to use volume as an indicator of "bestness" is poor idea.
    At any rate I suppose one could find some statistics on JSP vs ASP usage but what that actually tells you I don't know. Let's not forget that they are many, many, many applications running in enterprises around the globe that are not web based so an accounting for these is even harder.
    Here is what I would suggest. Try and define better parameters for your question. I would try and look segment by segment of what the application is. Even a breakdown just by web vs non-web would be a good start. Then I would also look to examine the usage by the scale of the application. You need to seperate the little foxpro based VB apps that might sit on someones desk from an enterprise inventory and tracking system. I mean they both use databases but the usage cases are so different... well anyway I'm sure you see the point.
    So get some better parameters for your question... otherwise it will be difficult to find data I think (especially that which is both web and non -web together) plus any data you do find will be relatively meaningless.
    Hope this helps.

  • JDBC to ODBC - JdbcOdbcDriver

    Hi;
    What am I doing wrong and how should I correct it?
    I understand that class "Class" is in package java.lang and J2SDK comes with the JDBC-to-ODBC-bridge database driver to allow any Java program to access any ODBC data source. When I code the following
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver")
    I get SQLException runtime error:
    [Microsoft][ODBC Driver Manager]Data source name not found and no default driver specified.

    check your datasource name... i think you probably
    defined it yet....
    Yes,
    In other words, go to control panel, ODBC data sources (or Administrative Tools), and make sure you have an ODBC connection pointed at your database. Make sure you've spelled the ODBC name correctly in your code.
    The code you provide is not where the problem is.

  • I am trying to insert rows for alert_id 22 with diff abc_id and xyz_id

    I am trying to insert rows for alert_id 22 with diff abc_id and xyz_id
    these inserts will store in two tables that I have to join in the cursor.
    I have written cursor without passing cursor parameters. but here i need to pass acb_id and xyz_id along with alert_id.
    then if these are saticified with alert_id 22 then I want to stop the loop run, else i need to continue the loop. bcause the abc_id and xyz_id are diff for alert_id 22
    This is the issue I am facing!
    Please let me know if you have any idea. Let me know how to use cursor parameters here and in loop.
    Sample proc like this::
    Declare
    main_cursor
    another_cur
    alert_cur
    begin
    need to check first abc_id,xyz_id is already exist with alert_id 22
    if this set of records already exists then
    exit from the loop
    else
    continue with
    loop
    here coming the insert statements with different condition getting from first two cursors.(this part is ok for me)
    end loop
    end if
    Please write the logic if any idea on this.
    -LRK

    I want to stop if already alert_id is exist!

  • Help on RFC to JDBC and JDBC to RFC

    Help on RFC to JDBC and JDBC to RFC
    Hi Gurus
    I have the scenario where an RFC will be triggered in SAP , to write to a DB2 database and insert new records in a table
    and vice versa the JDBC has to read som data from a table based on a primary key, mark them as read for not be read next time and send the data to an RFC where a table in SAP will be updated.
    I have never worked with JDBC before , pls advice.
    is there any new issue to consider in PI 7.0 regarding JDBC
    Thanks.

    The requirement looks standard,
    SEARCH IN SDN FOR JDBC scenarios,you will find many docs for sender as well as Receiver.
    >
    > is there any new issue to consider in PI 7.0 regarding JDBC
    >
    no issue with PI7.0.
    Regards,
    Raj

  • Content Conversion - JDBC and JMS

    Can we use File Content Conversion with JDBC and JMS ?

    Hi,
    How To Use the Content Conversion Module in JMS Adapter - https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&
    check this for JMS content conversion:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    Check the how to guide provided by prabhu and also this link on the XMl To TeXtCoversion Module,
    http://help.sap.com/saphelp_nw04/helpdata/en/44/748d595dab6fb5e10000000a155369/content.htm
    Ref How To Use the Content Conversion Module in JMS Adapter -
    https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000582377&
    See this weblogs which was shown with examples:
    How to use SAP's WebAS J2EE's JMS Queue in Exchange Infrastructure
    Sync/Async communication in JMS adapter without BPM (SP19)
    Async/Sync Communication using JMS adapter without BPM (SP 19)
    Exploring JMS and SAP-XI JMS Adaper
    Configuring the sender JMS adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f4/2d6189f0e27a4894ad517961762db7/content.htm
    Configuring the receiver JMS adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/10/b1b4c8575a6e47954ad63438d303e4/content.htm
    Check JMS Adapter section of this blog by Sravya:
    Aspirant to learn SAP XI...You won the Jackpot if you read this!-Part III
    Also information related to Provider-specific settings are available
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/frameset.htm
    Plz do refer the following threads:
    JMS Content Conversion - no CR/LF
    Message (Data) getting lost after JMS Content Conversion(Sender)
    Message (Data) getting lost after JMS Content Conversion(Sender)
    Message (Data) getting lost after JMS Content Conversion(Sender)
    Regards,
    Vinod.

  • JDBC and FTP sender channels stop polling

    Hi,
    We have a great volume of sender JDBC and FTP sender channels.
    For this reason there is nothing unusual to have temporary error connections.
    Several months ago, with an XI 3.0 system, sender channels recover its functionality  automatically when temporary error connection is solved.
    But now, he have migrate to a  PI 7.1 sytem, and in the same scenario and configuration,  sender channel stop polling after a temporary error . In cc monitor this channels remains in  green status and there were no signs of stopped interfaces.
    Timeouts are correctly defined and there is no difference between channel configuration in our Xi and PI system.
    How to solve this problem?
    Thanks, in advance.
    Carme.

    Thanks for your fast response, Stefan.
    After writing this post, i ask the same question to our basis team and  we are in the latest sp.
    ¿do you know if there is any note or can you provide me some additional information?
    I'm not able to find any note about this issue...
    Regards,
    Carme.

  • Adapter Limitations Of Sender  JDBC and Mail Adapter

    hi All,
    could you tell me the limitations of JDBC and Mail Adapter .i need to document these details .
    Regards
    Vidya Sagar

    HI Vidya,
    If i was you, i would do a list of things that i would need about these adapters, o i would search the SAP.help documentation for a first view and later ask about this possibility. Another way is to read the SCN doubts about these adapters and you can find some problems. You should think about the PI version as well.
    Regards.

  • JDBC and Linguistic Sorting

    The problem: oracle jdbc thin driver doesn't see environment variable NLS_SORT
    Description:
    We have a lot of code written in coldfusion and now we would like to switch form CF5 to CFMX. We use oracle thin driver to connect CFMX to oracle DB.
    The problem is that "order by" doesn't work as earlier. It seems that it jdbc driver couldn't make linguistic sorting, only binary. I tried with different versions, classes12.jar and ojdbc14.jar (the newest from otn).
    I know that i could solve problem if use sql function nlssort but it is not acceptable for us. We couldn't change all our source code. We would like to use env variable NLS_SORT to control this behaviour.
    I also wrote small standalone java program to test this directly but it doesn't see NLS_SORT. sqlplus from same shell works well.
    Is it possible to set oracle jdbc thin driver to use NLS env settings (NLS_SORT)?
    If yes, how? If not, what is the way to do linguistic sorting using jdbc?
    Thank you,
    Zeljko

    Zeljko,
    I don't have an answer for you (sorry), but I can suggest some resources where you may find the answer (hopefully -- assuming you haven't already tried them).
    The section entitled JDBC and Globalization Support in chapter 18 ("Advanced Topics") of the "Oracle9i JDBC Developer's Guide and Reference, Release 2 (9.2)".
    [Note: Since I couldn't see any details in your post about which Oracle version you are using, I assumed it was 9.2. However, you can access Oracle documentation for all the latest versions from the [url=http://tahiti.oracle.com]Tahiti Web site.]
    The Globalization Development Kit may be helpful.
    The Java Developer Center
    The Oracle JDBC FAQ
    Good Luck,
    Avi.

  • How to make JDBC and SAP connectivity with VC 6.0

    can anyone help me.....how to make JDBC system and SAP system visible in the System drop-down list in Data Task Panel of Visual Composer 6......i mean how to make connectivity with JDBC and SAP system......so that i can use any table in the back-end database as well as any BAPI in the R/3 system.........
    Thank you very much.....

    Hi Deep,
    There is a how-to posted on SDN regarding how to connect and configure the BI JDBC Connector.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
    This document describes the jdbc driver to use etc.
    Hope this helps,
    Cheers,
    Scott

Maybe you are looking for

  • Voice Memos (new recordings) - transfer to computer

    I have synced voice memos recorded in the past to computer. Recently, I have made some NEW RECORDINGS but do not know how to copy them to the same computer. In iTunes, under "On This iPhone", the NEW RECORDINGS are not shown. Waht is the problem if t

  • Why is this happening? calls not coming through properly.

    I have done a few searches on google. but i have found nothing that really answers my problem. everything is from the 2.0/2.1/2.2 era. Ok, My problem: 1. When someone calls me, sometimes my phone plays ball and rings as it should do. Other times, lik

  • Implements and Extends?

    I had a question about interfaces. I know how they work but I dont see the point in having them...? If I put methods into an Interface, then each method in the interface must appear in that class. abstract interface Drive { public void start(); publi

  • Sorting Contact's List

    The sorting order that my contact's list defaults to is first names.  Is there a way to set it to last names permanently?

  • Opening IE printPreview window with a bean

    Hi. everyone! I was wondering if anyone has had luck in utilizing the features of IE's browser controls. I can get the print preview window to open with JavaScript but I have the need to have the backer bean to do this. Do I have access to the browse