IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
Expand all | Collapse all

Inserting Lots of Data into an Oracle Database with webMethods

  • 1.  Inserting Lots of Data into an Oracle Database with webMethods

    Posted Tue January 21, 2003 03:50 PM

    Hi all

    I have a problem that I hope someone can help me with. I need to insert a large quantity of data into an Oracle database using webMethods on Win2000. The database has several LONG VARCHAR2 fields. In the Oracle database, these fields should hold up to 2 gigabytes each, but when I try to insert the data using the webMethods $dbalias (URL is jdbc:oracle:thin:@bbe:1521:orcl) I get the following error:
    Data size bigger than max size for this type: 7568

    I’m wondering if the jdbc driver has some kind of data limit, and if so, how does one get around it?

    Any help would be appreciated.

    Nancy


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Inserting Lots of Data into an Oracle Database with webMethods

    Posted Tue January 21, 2003 05:21 PM

    Hi, Nancy.

    You may want to read over these threads. They cover similar problems and present workarounds.

      [*]BLOBs --[url="http://www.wmusers.com/wmusers/messages/117/488.shtml"]http://www.wmusers.com/wmusers/messages/117/488.shtml[/url] [*]More on BLOBs -- [url="http://www.wmusers.com/wmusers/messages/117/941.shtml"]http://www.wmusers.com/wmusers/messages/117/941.shtml[/url] [*]Large Database Fields -- [url="http://www.wmusers.com/wmusers/messages/117/784.shtml"]http://www.wmusers.com/wmusers/messages/117/784.shtml[/url] [*]Oracle and Binary data -- [url="http://www.wmusers.com/wmusers/messages/117/1014.shtml"]http://www.wmusers.com/wmusers/messages/117/1014.shtml[/url] [/list]

      Thanks.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Inserting Lots of Data into an Oracle Database with webMethods

    Posted Tue January 21, 2003 06:11 PM

    Thanks, Dan.

    I did look over those postings. I don’t need to store a BLOB or CLOB of binary data, I’m just inserting text.

    After some experimentation, I discovered that the thin client (jdbc:oracle:thin) is the problem. I switched to a Type 2 driver, (jdbc:oracle:oci8) and everything worked!

    I didn’t need to write any java code, just set up the data record and used the pub.db:insert in the WmDB package.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB