Complete knowledge on jdbc adaptor in PI7.1

Hi all,
I would like to have the complete knowledge on JDBC adaptor.
Please provide me with links (of previous forumns if any) or blogs...
what are the capabilities of using JDBC adaptor and also limitations....
Cheers,
karthick

Hi,
The only way to become expert in JDBC adapter is first reading help documentation clearly,try to understand the usage and how to deploy the drivers and how execute the queries.do some diferent scenarios and execute some stored procedure scenarios too.
refer below link for sap pi7.1 jdbc adapter doc
http://help.sap.com/saphelp_nwpi71/helpdata/EN/22/b4d13b633f7748b4d34f3191529946/frameset.htm
there is no specific limitations as per my experiece,some times when we updating huge amount of data in to data base,i faces some problems,we resolved following some best development standards like using good sql queries.
Regards,
raj

Similar Messages

  • SELECT,UPDATE, DELETE With JDBC Adaptor

    Dear All,
    I need to execute few Select, update and Delete statement by using JDBC Adaptor.
    Suppose While select statement no records selected.
    During Update no records exsist with specified key so no update possible.
    During delete if no record found with specified key so no deletion possible.
    In above cases do I get any error, any where in XI . Either in SXMB_MONI or in RWB.
    Regards,
    Raghvendra

    Hi
    You will be getting SQL error in RWB and not processed flag in SXMB_MONI
    Along with this you can use OS level command STDOUT and STDERR to write out the trace.
    using JDBC you can even use following Isolated setting.
    ·        Default (default setting of the respective database)
    ·        None
    ·        read_uncommitted (weakest setting)
    ·        read_committed
    ·        repeatable_read
    ·        serializable (strongest setting)
    You must only lower the isolation level where necessary and as far as necessary. To avoid data inconsistencies in the database when the isolation level is lowered, ensure that multiple database transactions cannot access the database simultaneously.
    With this Do not set Auto Commit enabled indicator if the JDBC driver supports transactions.
    Thanks
    Gaurav Bhargava

  • Pre requisites in JDBC adaptor

    hi gurus,
    what are the pre requisites in JDBC Adaptor,
    Regards,
    priya

    hi
    we need to install and configure the drivers
    check this document
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f04ce027-934d-2a10-5a8f-fa0b1ed4d88f                                   
    JDBC connection set up for different DATABASE                                   
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/jdbcConnectionSetup                                   
    regards
    kummari

  • JDBC adaptor error

    Hi,
    I got some error in JDBC adaptor CC "no Adaptor registered for this channel "
    in adaptor monitoring it shows JDBC in all adaptor list, but after selecting
    only installed and started it is disappearing.
    we installed ojdbc14,downloded from database provider site, and it's deployment shows successfully deployed.
    regards,

    Hi, Senthil:
    I suggest that you search SAP notes based on your database vendor. When deloy driver on Java stack, deploy successfully does not guarentee that it works. I came cross the situation and found the notes solve the problem.
    Good luck
    Liang

  • JDBC Adaptor problem

    Hi
    I am doing JDBC-RFC-JDBC Scenario without BPM with quality of service  BE.
    In this, JDBC sender adaptor is updating the table1 with sent flag = 'X'. Now the prob is the receiver adaptor is also upadting  table1 with some data and  here it is hanging . Is JDBC  sender adaptor locks the table1 till the whole cycle is completed or there is another reason?????? If it likes that how to solve this
    Thanks in advance
    Regards
    Vijay

    What is the error that you are getting.?
    Just for test purposes, in the Sender JDBC adapter, select Advanced Mode --> Database Transaction Level and select option --> None.
    Regards
    Bhavesh
    PS : The setting described above should never be tried on a production environment.

  • How to call sender JDBC Adaptor, if there is a indication file

    Hi All,
    I have a requirement need to  pull data from Oracle and send it to BI.
    Here what i need is like Oracle will give me Indication flat file with 0 records and it will be there in FTP floder, once XI finds that file in the FTP folder then only my JDBC sender adaptor needs to pull data from Oracel and send it BI
    Could you pls suggest me how i can achive this hope we can do it with BPM, or any suggestions to do this.
    Thanks in advance,
    Venkat.

    Hi,
    True that i am new to XI.
    Here the problem is i will get 0 bites flat file i will not get any data in that file, so how i can handle that flat file, and once the flat file is there after that i need to start the JDBC sender adaptor to pull the data
    1. Receive step for the Flat File
    2. Synchronous Send step for Calling JDBC (so you will get some JDBC response back to IP).
    3. Asynchronous Send step to send step2 JDBC response to BI system.
    as you said the BPM will be like this am i correct
    Receive step for File-->Receive step for JDBC-Send step for BI am i correct this process.
    could you pls explain me bit more so its like
    Thanks inadvance
    Venkat

  • JDBC Adaptor

    Hi,
    we are using JDBC-RFC-JDBC Scenario.Now because of lots of Communication Channel DBA is complaining that more than 25 sessions are open for the XI user and that's causing performance prob in Oracle
    Any ideas how to improve the performance and reduce the no of sessions
    Regards
    Vijay

    In every JDBC adapter select option, <b>Disconnect from Database after Each Messge Proessing</b>.
    This will ensure that there is no active connection until there is a message to be processsed or a polling interval is complete and so number of active connections in parallel will come down.
    Regards
    Bhavesh

  • Two select query in sender JDBC adaptor

    Hi
    We are doing JDFC-RFC scenario, in which i need to fetch the data from two tables (header  and item table) whch correspondes to the 2 table parameter of RFC .
    Any clues how to configure sender jdbc CC having  2 select query ??????
    Regards
    Vijay

    Swatantra,
    You can have a look at the below URL for more info on JOIN.
    http://www.w3schools.com/sql/sql_join.asp
    Best regards,
    raj.

  • Error Handling in JDBC Adaptor - Without BPM

    Hi friends,
    My problem is like this. Scenario is File -> Xi -> JDBC.
    here i didn't used BPM at all.
    My interface is working fine.
    right now i am not doing any error handling for 'Primary key violation, refrential intigrity etc.. '.
    if this type errors encountered i going to adapter monitoring and looking out the issue.
    Now the client requirment is
    whenever this type of errors occured Client should be notified Via email along with error description.
    Is there anyway to do this ?

    Hi Suresh,
    You can setup the Alerting framework of XI to trigger alerts. Alert rules can be set to raise alerts in case of JDBC Adapter Errors.
    Check these links....
    http://help.sap.com/saphelp_nw04/helpdata/en/3f/81023cfa699508e10000000a11402f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Thanks & Regards,
    Renjith
    An addition to what i just said...You have to be on SP14 for this...
    Message was edited by: Renjith Andrews

  • JMS and JDBC Adapter in PI7.1

    Hi All,
    Kindly tell me about the blogs for JMS and JDBC adapter.
    Please tell me about the Message Types in JMS adapter.
    Thanks in advance.

    Hi Shwetambari,
    Thanks for the reply.
    We need to mention the Adapter Modules while configuring the communiucation channels in JMS
    e.g. Adapter/ConvertJMSMessageToBinary,Adapter/ConvertBinaryToXMBMessage etc.
    So please tell me whether we need to write the cide for the same in JAVA or it is already there ?If it is there then whre can we get it?Do we need to decompile the archeve ?If so, then how to do it?
    Can you give me the Adaqpter Modules for which the code is already there?
    The JMS adapter (Java Message Service) enables you to connect messaging systems to the Integration Engine or the PCK.
    What are the different types of Messaging Systems?Or what is meant by the Messaging System in JMS?
    What are the different types of Messages used?
    Thanks in advance.
    Edited by: Shweta Kullkarni on Sep 4, 2009 5:22 AM

  • Jdbc adaptor picking the messages at same time.

    hi,
    there are  5 messages blocked in status Delivering are blocking the 5 JDBC Threads allowed at the Adapter Engine itself. Even if I allow a bigger number of concurrency messages it will not change the real number of simultaneous threads. You need to unblock those 5 messages to allow others to process.
    thanks,
    krushi

    Hi,
    This may help you
    How to deal with stuck EOIO messages in the XI 3.0 Adapter Framework
    Regards
    Seshagiri

  • JDBC-- PI7.0-- SAPBI with Proxy

    Hi Experts,
    I have a requirement like this : JDBC(Sql Server)>PI7.0>SAPBI. 
    I need a suggestions from the above requirement. For this requirement I am planning to use sender as a JDBC Adapter and Reciver as Proxy. I have some questions on this requirement.
    1) I need to extract data with more than 15 tables of Sql server data base. Is it possible to extract all data at a time, If yes plase give me some tips.
    2) How to combined all 10 extracted tables data into as a Proxy. Please provide some inputs. or it better each table as a one XML file like this....
    Lastly one more question is, what is best process for the above requirement either Proxy or IDOc's.
    Thanks in advance.
    Regards,
    Chandra.

    Hi Chandra,
    In addition to the above responses you can follow the approach as:
    1. Discuss with your DB team and find out what is the average number of records to be selected from each table on each run of the interface.
    2a. If the number of records are large then its better to go for separate interface for separate tables.
    2b. If the number of records are limited say 15-20 then you can work either with a single staging table or a stored procecdure after discussing with the DB team what they can agree to.
    3a. In case of a single staging table:
    i. Create a data type similar to the staging table fields.
    ii. Generate a proxy accordingly.
    [http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/frameset.htm]
    3b. In case of stored procedure
    i. Ask the DB team to include a single Select querry with in the Stored Procedure, and also to include a update querry to update the read records once called by Stored Procedure/ DELETE the read records.
    ii. In the JDBC sender adapter in the field Query SQL Statement write the querry as as: EXEC "Stored Procedure Name" ("Parameters if any").
    iii. In this case your Sender Data type structure should be same as the structure being called by the Select query with in the stored proc. or in other words the sequence followed in the Select query should be same in the sender DT.
    iv. Generate a proxy accordingly.
    [http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/frameset.htm]
    Note: Proxy is always better in this case upon IDOC. If asked by business or BI team you can as well go with RFC keeping in consideration the load/no. of records. In case of bigger messages Proxy is always better being a adapter less communication.
    Hope this helps you.
    Regards,
    Rahul Grover

  • Deploying JDBC drivers in PI 7.0

    Dear All,
    My PI consultant facing following error,
    Error during database connection to the database URL 'jdbc:sqlserver://10.0.96.2;databaseName=GSPCGASAsset;user=**;password=**;' using the JDBC driver 'com.microsoft.sqlserver.jdbc.SQLServerDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Cannot establish connection :: SAPClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver'
    asking for installing JDBC Driver?
    which driver i need to install? and  how to install that? how to check that?
    I checked in visual admin there is already some JDBC Driver Install?
    From,
    Ketan Kapadi

    Please check the version of sqldatabase whether its 2005 , 2008 , go to microsoft site and then search for drivers
    please follow the links and how to  guide giving you some idea
    take help of BASIS  wherever required
    http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    PI - JDBC Adapter - JDBC Driver Install
    INSTALLATION OF  JDBC Driver for PI7.1 ehp1 for ORACLE and SQL Server 2008
    thanks
    Ninad

  • Orai18n-mapping.jar in Instant Client, but not in JDBC Driver

    Hello,
    i searched about my question, but no answer. :(
    I downloaded the complete JDBC Driver packages (*ojdbc5.jar* + ojdbc6.jar + orai18n.jar) for Oracle 11g at:
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_111060.html
    I downloaded the Basic + JDBC supplement packages of Instant Client of Oracle 11g at:
    http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html
    There is a mismatch of files between 2 ways of getting the jdbc drivers. In the Instant Client version via JDBC-Supplement, the orai18n-mapping.jar is present, but not in the JDBC way.
    Why is the orai18n-mapping.jar present in one way, and not the other? Is it an error? It's all about 11g version of oracle....
    Thanks
    Bruno Lavoie
    Edited by: brlav35 on Mar 4, 2009 3:57 PM

    Well, in my understanding, Instant client and JDBC drivers are completely different products: JDBC driver is a full-featured set of packages required to run JDBC-compatible program, i.e. it's enough to run a program in any supported Oracle environment. On the other hand, Instant client is a lightweight version, which does not include several JARs and some of them are present in different form, but it's enough for most JDBC-programs. See: orai18n.jar is a required package for correct Oracle object's VARCHARs attributes handling. It contains locale files for different languages. In orai18n-mapping.jar, there's no many of them, but I suppose it would be enough for the same task (probably they do not store locales in that JAR version, but rather build them on the fly if needed with help of DB - but I don't know for sure).

  • Error in http-jdbc

    with reference to blog
    /people/bhavesh.kantilal/blog/2006/07/03/jdbc-receiver-adapter--synchronous-select-150-step-by-step
    i completed http to jdbc scenerio
    but in moni i got this error
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'pra' (structure 'recordset'): java.sql.SQLException: FATAL ERROR document format: structure 'recordset', no key element found</SAP:AdditionalText>
    can any body post suggestions,
    thanks & regards
    sandeep

    hai bhavesh, with reference to u r mesage , i uncheck the key mandatory in jdbc receiver adapter.
    now i got some different error i.e
    com.sap.aii.af.ra.ms.api.DeliveryException: Error processing request in sax parser: Error when executing statement for table/stored proc. 'pra' (structure 'recordset'): java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1
    my jdbc request data type is as follows.
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn://http2db" targetNamespace="urn://http2db">
         <xsd:element name="jdbc_req_mt" type="jdbc_req_dt" />
         <xsd:complexType name="jdbc_req_dt">
              <xsd:annotation>
                   <xsd:appinfo source="http://sap.com/xi/TextID">
                   40e3cd4020b611dcb6da0014221c4454
                   </xsd:appinfo>
              </xsd:annotation>
              <xsd:sequence>
                   <xsd:element name="recordset" maxOccurs="unbounded">
                        <xsd:annotation>
                             <xsd:appinfo source="http://sap.com/xi/TextID">
                             726c80600b4311dcc762fe4aac121c42
                             </xsd:appinfo>
                        </xsd:annotation>
                        <xsd:complexType>
                             <xsd:sequence>
                                  <xsd:element name="pra">
                                       <xsd:annotation>
                                            <xsd:appinfo source="http://sap.com/xi/TextID">
                                            726c80610b4311dca1c0fe4aac121c42
                                            </xsd:appinfo>
                                       </xsd:annotation>
                                       <xsd:complexType>
                                            <xsd:sequence>
                                                 <xsd:element name="access">
                                                      <xsd:annotation>
                                                           <xsd:appinfo source="http://sap.com/xi/TextID">
                                                           726c80630b4311dc8cccfe4aac121c42
                                                           </xsd:appinfo>
                                                      </xsd:annotation>
                                                      <xsd:complexType>
                                                           <xsd:sequence>
                                                                <xsd:element name="lifnr" type="xsd:string" minOccurs="0">
                                                                     <xsd:annotation>
                                                                          <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                          726c80640b4311dc9f7bfe4aac121c42
                                                                          </xsd:appinfo>
                                                                     </xsd:annotation>
                                                                </xsd:element>
                                                                <xsd:element name="name1" type="xsd:string" minOccurs="0">
                                                                     <xsd:annotation>
                                                                          <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                          726c80650b4311dcb353fe4aac121c42
                                                                          </xsd:appinfo>
                                                                     </xsd:annotation>
                                                                </xsd:element>
                                                                <xsd:element name="ort01" type="xsd:string" minOccurs="0">
                                                                     <xsd:annotation>
                                                                          <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                          726c80660b4311dcb603fe4aac121c42
                                                                          </xsd:appinfo>
                                                                     </xsd:annotation>
                                                                </xsd:element>
                                                                <xsd:element name="key">
                                                                     <xsd:annotation>
                                                                          <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                          09a635201e4011dcb3cafa21ac121c48
                                                                          </xsd:appinfo>
                                                                     </xsd:annotation>
                                                                     <xsd:complexType>
                                                                          <xsd:sequence>
                                                                               <xsd:element name="lifnr" type="xsd:string" minOccurs="0">
                                                                                    <xsd:annotation>
                                                                                         <xsd:appinfo source="http://sap.com/xi/TextID">
                                                                                         09a635211e4011dccfa0fa21ac121c48
                                                                                         </xsd:appinfo>
                                                                                    </xsd:annotation>
                                                                               </xsd:element>
                                                                          </xsd:sequence>
                                                                     </xsd:complexType>
                                                                </xsd:element>
                                                           </xsd:sequence>
                                                      </xsd:complexType>
                                                 </xsd:element>
                                            </xsd:sequence>
                                            <xsd:attribute name="action" type="xsd:string">
                                                 <xsd:annotation>
                                                      <xsd:appinfo source="http://sap.com/xi/TextID">
                                                      83dac9b01f2f11dcc0f7ee74ac121b94
                                                      </xsd:appinfo>
                                                 </xsd:annotation>
                                            </xsd:attribute>
                                       </xsd:complexType>
                                  </xsd:element>
                             </xsd:sequence>
                        </xsd:complexType>
                   </xsd:element>
              </xsd:sequence>
         </xsd:complexType>
    </xsd:schema>
    plz help me regarding this.

Maybe you are looking for

  • Problem Displaying Images in a JFrame

    I am writing a program that displays images on a JFrame window. I have been reading the other postings about this topic however I have not been able to make my code work. I am hoping there is some obvious solution that I am not noticing. Please help,

  • Weird OSX display issues after going to webpage, only thing that fixes is  Perm repair

    I have a bizarre issue that i'd love some input on. Late 2009 iMac, Mountain Lion (then Mavericks). I use Firefox to utilize a real estate website (Fusion MLS) for several months now. A couple of days ago, after i would log into the website and use i

  • Video preview box not working

    The video preview box is blank and does not work with downloaded videos.  Tried deleting com.apple.iMovie8.plist and running disk Utility to repair disk permissions, but did not work. Thanks for any suggested fixes.

  • WSDL to Chart/Graph

    I'm trying to convince my company to start using Flex for BI projects because of it's ability to produce impressive dashboards and scorecards. It's a .NET shop and probably very little chance of using Flex Data Services (at least, at first). I'm look

  • ORA-29261: bad argument using UTL_HTTP.REQUEST_PIECES

    I am running Oracle 10gR2. I keep getting ORA-29261: bad argument when setting the proxy either by the UTL_HTTP.SET_PROXY or UTL_HTTP.REQUEST_PIECES code. I have searched this forum and found no resolutions. I have set this proxy in the browser and i