Updating a CLOB using the JDBC 8.1.6 driver

I have two issues on which comments are welcome. ( I am using the thin driver )
1. Using the JDBC 2.0 way of updating a CLOB
is not possible as the manuals state that
this can cause "serious corruption".
2. Using the Oracle specific way ( using
Oracle specific classes ), it looks like
I cant update a CLOB column without
retrieving it first.
It looks like I need a handle to the CLOB
in a CLOB object before I can update it.
This is very frustrating because in my application, we retrieve objects from a database, may keep the object in memory for
a long time and then update the object from
the in-memory copy. If I had to use the Oracle specific way of updating clobs, every
time I need to update a clob, I need to
retrieve the clob first and then update it
which runs contrary to handling of other types of columns.
null

Ah. I think you're referring to:
In the implementation of the Oracle JDBC drivers, this functionality is supported only for a configuration using an 8.1.6 database and 8.1.6 JDBC OCI driver. Do not use this functionality for any other configuration, as data corruption can result.
yeah, that's about what I'm seeing. Anything over 4k blows up. Hopefully the 8.1.6 driver + DBMS will fix these problems.
Has anyone out there tried it? Can we use the GetClob/GetBlob, or even the getXXXStream() methods in 8.1.6 against CLOB/BLOB columns
? I sure hope so. SQL Server and mySQL :-)drivers can both handle it.

Similar Messages

  • Update SQL Statement in the JDBC sender

    Hello!
    I have a AS400/DB2 table which I am polling for my XI scenario using the JDBC sender adapter.
    I would like to know if it is possible to use system variables (data/time) in the UPDATE statement field? This because we would like to timestamp the exact date/time we read a table. (We can use stored procedures, I know, but would preferr not if at all possible.) Or is there another way?
    Thanks,
    Nam

    Hello!
    a little more detail:
    We have a fairly simple scenario. We are polling the AS400/DB2 table for information using the JDBC sender with a SELECT statement in the SQL query. We take the data, map it and push it into SRM.
    Bhavesh: What I meant is that for error handlig purposes we would like to update the polled record with date and time at the same time as we poll. Using the system date/time of the db system would be ideal, but XI time would be just fine to. So wondering if there is any way to pick up the system data/time (of either system) and pass it in the UPDATE statement as system variables or some such.
    Nimrod: one question.... how do we do the mapping in the poll? Meaning the polling is the trigger of the whole scenario, so there is no mapping preceding it. I am fairly new to XI, especially the mapping bit, any help or advice appreciated!
    Thanks!
    Nam

  • When I go to update my software using the app store download, it always asks for the previous user's ID, not mine.  Please help!

    When I go to update my software using the app store download, it always asks for the previous user's ID, not mine (my IT guy at school's-I am a faculty with admin priviledges).  I have signed in as me, have set the main preferences login user as me,and everywhere on the laptop I can use my apple ID except here.  It always shows me a greyed out ID of my IT.  How can I reset this to my ID? It doesn't give me an option to change the user ID, only a link to reset password.  I reset it, but it did not change the problem.  Can someone help me?

    It's not an ID problem, it's an ownership problem.
    When someone uses their personal Apple ID to buy and download content, the content is licensed to them and has their Apple ID engrained in it's DNA. It is an anti-piracy program. And when that personal Apple ID is used to setup a new Mac, it involves the Mac itself, the shipping OS and any pre-installed apps as well.
    It's not the correct way to handle Macs that belong to a business or an institution. And had it been handled correctly they would not now be in this predictument needing a drastic remedy.

  • I'm trying to update my apps using the creative cloud desktop app. I can't see any apps in the app tab, the wheel just spins round and round and nothing happens. Has anyone got any ideas? I've tried uninstalling the desktop app and reinstalling but it sti

    Hi
    I'm trying to update my apps using the creative cloud desktop app. I can't see any apps in the app tab, the wheel just spins round and round and nothing happens. Has anyone got any ideas? I've tried uninstalling the desktop app and reinstalling but it still has the same problem.
    Cheers
    Rachel

    Hi Rachel,
    You can follow the article: App doesn't open | Progress wheel spins continually to get your issue fixed.
    Let us know if the issue still persists or not.
    Regards,
    Ratandeep Arora

  • I want single update query without use the function.

    I want to update sells_table selling_code field with max date product_code from product table.
    In product table there is multiple product_code date wise.
    I have been done it with below quey with the use of function but can we do it in only one update query
    without use the function.
    UPDATE sells_table
    SET selling_code = MAXDATEPRODUCT(ctd_vpk_product_code)
    WHERE NVL(update_product_flag,0) = 0 ;
    CREATE OR REPLACE FUNCTION HVL.maxdateproduct (p_product IN VARCHAR2) RETURN NUMBER
    IS
    max_date_product VARCHAR2 (100);
    BEGIN
    BEGIN
    SELECT NVL (TRIM (product_code), 0)
    INTO max_date_product
    FROM (SELECT product_code, xref_end_dt
    FROM product
    WHERE TO_NUMBER (p_product) = pr.item_id
    ORDER BY xref_end_dt DESC)
    WHERE ROWNUM = 1; -- It will return only one row - max date product code
    EXCEPTION
    WHEN OTHERS
    THEN
    RETURN 0;
    END;
    RETURN max_date_product;
    END maxdateproduct;
    Thanks in Advance.

    Hi,
    Something like this.
    update setlls_table st
            set selling_code =(select nvl(trim(product_code)) from 
                                  (select product_code
                                          , rank() over (partition by item_id order by xref_end_dt DESC) rn
                                       from product
                                   ) pr
                                   where rn =1
                                         and pr.item_id = st.ctd_vpk_product_code
                               ) where NVL(update_product_flag,0) = 0 ;As such not tested due to lack of input sample.
    Regards
    Anurag Tibrewal.

  • HT1351 How do I manually update my iPod using the new iTunes?

    I used to be able to drag a playlist from the left side to my iPod icon on the left side of iTunes.
    But the iPod icon isn't there anymore. How do I manually update my iPod using the new iTunes?
    Thanks.
    Michael

    I am glad it helped

  • I am trying to update CS 6Illustrator using the updater tool but I continually get an error saying,

    I am trying to update CS 6Illustrator using the updater tool but I continually get an error saying, "Updates could not be applied." How can this be?
    Here is my log file:
    Adobe Illustrator CS6 Update (version 16.2.1)
    Installation failed. Error Code: U44M1P7

    if you're using a mac: http://helpx.adobe.com/creative-suite/kb/unable-apply-extension-manager-update.html

  • I am attempting to update students' iPads using the Apple Configurator software. However, information for 3rd party apps, like Notability and Explain Everything, is being lost.

    I am attempting to update students' iPads using the Apple Configurator software. However, information for 3rd party apps, like Notability and Explain Everything, is being lost.

    Mike,
    If by "still nothing" you mean they are not showing up in the AU manager after reinstalling them....
    Im guessing the AU Cache itself is now corrupted so.....
    Quit LPX
    Open Finder
    Press the option key and click "Go" in Finder's menu and select "Library". (This is the User Library and not the System Library and is normally hidden which is why you have to hold down the option key when clicking on Go.... to reveal it in the drop down menu that will appear)
    Go to "Caches" dir and remove "AudioUnitCache" dir.
    Now Restart your Mac.....
    and then Launch LPX and let it rescan your plugins and see if that fixes things....
    Fingers crossed...
    Nigel

  • Advanced Queue - using the JDBC connection

    Advanced Queue using the JDBC connection gives us AN ERROR WHEN SENDING 32K QUEUES
    Is it true that RAW datatypes using the Java AQ API do indeed have a limit of 32K in 8.1.6.
    The workaround is to use the Java AQ API with Object payloads (BLOBs) to get around the problem.
    Has anyone used any other solution ?
    Thanks
    null

    There's a JDBC forum that's probably more germane to this question-- I'd suggest reposting it there.
    Justin Cave
    ODBC Development

  • HT4623 I have tried to update my iPhone using the iTunes method but it will not work. The message "The iTunes update server could not be contacted. Please check your internet connection or try again later," appears. What do I do? The Internet is working f

    I have tried to update my iPhone using the iTunes method but it will not work. The message "The iTunes update server could not be contacted. Please check your internet connection or try again later," appears. What do I do? The Internet is working fine.

    Have you tried the following troubleshooting document?
    iTunes for Windows: iTunes cannot contact the iPhone, iPad, or iPod software update server
    If you end up using the If the iTunes Store opens successfully section of the document, and the "Automatically detect settings" checkbox is already checked, try unchecking and rechecking it and clicking OK.

  • HT5012 I recently updated my IOS using the beta found on an iTunes account link... Ever since then I've been unable to log into my iMessages and FaceTime account through my iTunes.  The only explanation it gives me is that my connection was lost.... What

    I recently updated my IOS using the beta found on an iTunes account link... Ever since then I've been unable to log into my iMessages and FaceTime account through my iTunes.  The only explanation it gives me is that my connection was lost.... What to do?

    It was downloaded through my iTunes account... So im sure it wasn't pirated. It's nothing more than a beta test to work out the bugs.  But do u have any suggestions as to how i can about redownloading the same iOS but now the 'bugs' should be all worked out....

  • Applet which uses the JDBC Thin driver

    My applet is running from Internet Explorer(Windows NT 4.0) and uses the JDBC
    Thin Driver to connect to database. The code complies with J2SDK1.4.0-beta3 and
    JDBC 2.0. I am getting following error:java.lang.NoClassDefFoundError:
    oracle/jdbc/driver/oracleDriver at applet.button_actionPerformed...
    Can anybody help?
    help urgently needed...
    Best regards and thanks in advance

    AFAIK the Oracle drivers still don't work with JDK 1.4, switch to 1.31 and they should be fine.

  • Is it possible to execute a stored procedure using the JDBC adapter?

    Hi all,
    Can anybody confirm whether we can execute a stored procedure created in a database using the processing parameters of a JDBC adapter of a communication channel?
    If yes, then please let me know how (may be with an example)
    Thanks.

    Yes, that is possible. You have to chose EXECUTE in the action field to execute the stored procedure. Here's a little piece on the JDBC receiver:
    JDBC Receiver
    For writing data to an SQL database you also need to define a strict data type. The general format is like this:
        <ns:MT_RECORDSET>
              <STATEMENT>
                   <TABLE_NAME ACTION="">
                        <TABLE/>
                        <ACCESS>
                             <FIELD1/>
                             <FIELD2/>
                             <FIELDn/>
                        </ACCESS>
                        <KEY>
                             <ID compareOperation=""/>
                             <FIELDx compareOperation=""/>
                        </KEY>
                   </TABLE_NAME>
              </STATEMENT>
    </ns:MT_RECORDSET>
    This recordset represents an SQL statement like "update TABLE1 set FIELD1=123, FIELD2=456, FIELDn='xyz' where ID=12345 and FIELDx is NULL"
    MT_RECORDSET is the name of the Message Type used.
      For the value of the attribute ACTION you can choose from the following values:
         UPDATE : updates the given fields in the table with their new values
         INSERT : insert the given fields as a new row in the table
         UPDATE_INSERT : insert rows in the table when update is not possible
         DELETE : deletes given fields from the table
         SELECT : selects given fields from the table. Note that this option returns a response in the JDBC Sender form!
         EXECUTE : execution of a stored SQL procedure
         SQL_QUERY | SQL_DML : option to transfer more complex SQL statements to the database
      The attribute compareOperation can have the following values:
         EQ : equal
         NEQ : not equal
         LT : less than
         LTEQ : less than or equal to
         GT : greater than
         GTEQ : greater than or equal to
         LIKE : used to compare strings

  • After updating to iTunes 12  the Apple Mobile Device USB Driver is not listed, I use Windows 8.1, how can i solve this?

    After I updates ITunes to the latest version (12), ITunes wont find my iphone and Ipad anymore, after searching I found that the Apple Mobile Device USB Driver is not listed anymore, on the support website of Apple it doesnt explain how to solve this,.
    I use Windows 8.1 and so now also ITunes 12, both my Iphone 4S and Ipad Air have the latest IOS version.
    I hope anybody can tell me how to solve this that the Apple Mobile Device USB Driver is back, thank you

    Found a possible solution for me.
    While the phone was plugged into my computer and iTunes is CLOSED.
    1. I went to Services in Windows.
    2. I selected Apple Mobile Device and right clicked and selected "Stop".
    3. Then I right-clicked again and selected "Start".
    4. Then I went to Device Manager and right clicked my iPhone with the yellow alert icon and selected "Uninstall".  You will get a warning about uninstalling the device.  Click OK.
    5.  At the top of Device Manager I clicked the Action menu and selected "Scan for Hardware Changes".
    This re-installed the iPhone and everything started working again.

  • If I don't have a previous version of an adobe product, but the only ones available of older editions are updates, can I use the update version to install the software?

    Dear Adobe,
    I've got older systems, ones that can't handle CS6, and a budget too low to purchase a new system and your software even with a student discount. Is there any way to use an update version? I wish that all of the "Creative Suite[s] products [would] continue to be available for sale via ESD on Adobe.com"(Adobe)*, or at least most of them. I understand the need to update, and that the industry is difficult with competitors, but I wish that all of your software versions were aimed towards 32 bit systems too. There are plenty that can keep up with the operating System updates, and I only wish that you would have kept at least CS5 on support instead of shutting it down. So, if you won't accept support of older products, can you help me with this? Or is this beyond any of the software contracts that is in the company's power? I appreciate any assistance in this matter.
    *CS6 FAQ

    You can only buy CS6 and CC. Otherwise you will have to find someone willing to part with his license and run a license transfer. Though, quite frankly this doesn't really make sense. You can buy cheap laptops withe a suitable 64bit version of Windows 7/ 8 for 300 Euros. The money saved could easily be invested in a CC student plan rather than possibly trying to find an overpriced older version with the risk of getting scammed... Otherwise you can use the trials of course, but that's about it.
    Mylenium

Maybe you are looking for