Needs suggestion the best way database insertion using OSB

Hi all, again and again I need your suggestion. Which is the best way for writing data to database using OSB in few tables as fastest as possible (speed consideration)?, should I make lots DB schema for supporting JCA adapter and transform each message and writing to database? OR should I call java callout then using EJB for writing to database?.

Hi,
We had the similar scenario in our project and this is my take on this.
Its better to use a JCA DBAdapter to execute/invoke a stored procedure and then have the PL/SQL script for insertion into the Stored Procedure.
As the OSB DBAdapter configuration is very tightly coupled to the DB structure any changes to the column types of the table will mean a regeneration of the adapter WSDL.
In general even for other DB operations like select, delete, update... its is a good idea to use the stored procedure in conjunction with the DBAdapter to decouple the link to DB to some extent.
Thanks,
Patrick

Similar Messages

  • What is the best way of insertion using structured or binary type in oracle

    what is the best way of insertion using structured or binary type in oracle xml db 11g database

    SQL*Loader.

  • In Acrobat Professional 8, what is the best way to insert/combine multiple pdf's together in a large

    In Acrobat Professional 8, what is the best way to insert/combine multiple pdf's together in a large volume?
    We have 300 pdf reports and need to insert a 2 page cover page infront of each report. Not sure if Batch processing is best???
    Thanks for any tips.

    Probably each cover page is different too. I would probably just bite the bullet and do each individually. I would create the 2 cover pages in WORD or other word processor and print to cover.pdf. Then open a PDF and Pages>Insert Pages or the cover.pdf to the front of the open PDF and save as to the current PDF. Then repeat 299 times. Each time you would make the appropriate change to the DOC file and print a new cover.pdf file (you might want to turn off open in Acrobat for this processing in the printer properties to save time). Probably a good idea to keep a list of the files to check off what has been done (you can generate a list in DOS by Start>cmd, change the directory to your location [cd path], and do "dir >>list.txt". That will give you a list to use.). There may be an easier way, but by the time you get it figured out you might be done this way.

  • What is the best way to insert massive data into an existing excel file?

    dear gurus,
    i am wondering that what is the best way to insert massive data into an existing excel file, more performance perspective.
    the file is read from BDS , and we want to insert data into it .
    the way i can think of is
    1. OLE AUTOMATION
       i think performance will be a big problem
    2. Office integration
        i am not sure it's facing the same performance issue ?
    3 . XXL_SIMPLE_API/FULL_API
        I am not sure whether they can insert data into an existing excel file?
    could you please give me some advices?
    br.
    jun

    Hi,
    If you want to APPEND data( add data to an existing excel file) from SAP, then use GUI_DOWNLOAD fm with APPEND = 'X' paramter.
    Best regards,
    Prashant

  • I stream Internet radio from my iPad air to Bluetooth speaker.  Can anyone suggest the best EQ app to use to enhance the sound.  Thanks

    I stream Internet raidiot from iPad air to Bluetooth speakers.  Can anyone suggest the best EQ app to use to enhance the sound.
    THanks

    Yeah, I know I can restore it, but I might as well go ahead and try. I just finished a backup for icloud and itunes to make sure, I'll go ahead and restore it and set it up as new and see how that works. Seems like I have no other options at this point, I'd still like to know what they did with the Download tab in itunes store, if they removed it or if I'm just overlooking it.

  • The best way to insert values in a Nested Table

    Hi!
    I want to insert values from a SQL-query in a Nested Table.What's the best way to do it?
    In addition,the only way that I've found is doing a query and when I've got the query result I insert it into the Nested Table.For instance:
    FOR cur_row IN (SELECT id,nstreet from example Where id=3) LOOP
    --here I'm inserting the values of the query in the nested table.
    -- VarNestedTable is a Nested Table of Row_Type.
    --Row_Type is an object with two fields:Id,Nstreet
    VarNestedTable.extend;
    VarNestedTable(Coincidents.Last):= Row_type(cur_row.id,cur_row.nstreet);
    END LOOP;

    How to Use Tables: Creating a Table Model.
    very bad example:
    class DataObject {
    String name, age, numberOfMonkeys;
    class DOTableModel extends AbstractTableModel {
      final String[] COLUMN_HEADER = { "Name", "Age", Monkeys" };
      List dataObjects;
      public String getColumnName(int column)  {
         return COLUMN_HEADER[ column ];
      public int getRowCount() {
        return dataObjects.size();
      public int getColumnCount() {
         return COLUMN_HEADER.size();
      public Object getValueAt(int row, int column) {
         DataObject do = dataObject.get( row );
         switch( column ) {
           case 0: return do.name;
           case 1: return do.age;
           case 2: return do.numberOfMonkeys;
    }

  • What is the best way to sharpen using both Lightroom_4 and Photoshop CS6?

    I want to learn the best way to sharpen various subjects.  I have Martin Evening's latest Lightroom 4 and Photoshop CS6 books, but no mention of which methods are better,  or better for which subjects/conditions.  It seems that Camera Raw and Lightroom are the same, so I'm tempted to just do it all in Lightroom with the Develop module Detail panel, and the adjustment brush for local sharpening. But can I be doing more with Photoshop CS6, or Lightroom and Photoshop together?

    Lightroom and Photoshop have different capabilities.  Photoshop power lies in layers so sharpening in Photoshop is best done using a sharpening layer which can be blended and masked into layers below.  Lightroom is more a image developer then and editor and does not have layer support.  Both Lightroom and Photoshop use Adobe RAW conversion engine to develop images.  Adobe RAW Conversion Engine has very good sharpening and noise reduction capabilities. Sharpening and Noise reduction is more or less a balancing act to much sharpening enhances noise to much noise reducing loose details and add softness.  Though both Photoshop and Lightroom use the same Adobe RAW conversion engine they use different user interfaces when they use Adobe RAW conversion engine.  Lightroom also lacks Layer support.

  • Is this the best way to redirect using servlet?

    I making a servlet application where the user sends some FORM value to a servlet. I want the servlet to redirect to the answer page after processing the page. Do you think the following code is the correct way of doing?
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
        throws ServletException, IOException {
            response.setContentType("text/html;charset=UTF-8");
            PrintWriter out = response.getWriter();
            String dnaText = request.getParameter("dnaText");
            /*Getting the tranlated output from dnaToRna method*/
            String finalVal = null;
            String link="http://www.mail.yahoo.com";
            try{
                 finalVal = String.valueOf(dnaToRna(dnaText));
                 response.sendRedirect(link);
                }catch(Exception ex){}
        }

    Many thanks for replying.
    My output file have lots of html code and I dont want to make my servlet heavy with unnecessary code. So I have decided to use another page result.jsp as output file. In result.jsp I intend to call these objects which is storing the value here to display the result.
    As I am new to jsp. I am still in the processing of thinking the best way to handle errors. I have created a method which takes in int values and returns corresponding String values. Like this
    public class DnaToRna extends HttpServlet {
       String error=" * NULL *";
    private String printError(int i) {
            if(i==1){
                error = "There is an error in String to char array";
            }else if (i==2){
                error = "There is an error in your DNA sequence";
            return error;
        }Since error is declared as a class object, if there is no error then I think it should rerun the String NULL. Which can be used to tell people if there is no error. On the contrary if there is really an error, I can use this to tell what is exactly causing the error.
    Although I am new to web programing. I think this would be nice.
    Here is the other method
    public String dnaToRna (String dnaText) throws Exception{
                /*Trim()*/
                dnaText = dnaText.trim();
                /*Codes for Dna to Rna translation*/
                if(Pattern.matches(".*[^atgc]+.*",dnaText))
                return printError(2);
                return dnaText.replaceAll("t","u");
                }

  • Reformating - suggest the best way

    Hello,
    About 4 months ago I bought a MBP. Before that I had a G4 Powerbook for two years. It was my first mac, and I can say that I really dint know how to use it at first, and so it developed some problems - nothing major, just some slowdowns, and the occasional application failure. I was too lazy to set up the MBP and manually transfer everything so I used the transfer wizard to essencially make my MBP my old powerbook.
    My MBP has some simular problems as my powerbook. Some applications freeze up, some quit, and I am tired of waiting till Leopard for the clean reinstall.
    Should I reinstall or just clean it up somehow- and if so what is the best way? Also the MBP came with a bunch of software that my powerbook did not have (iLife plus front row). Will I still have those after the reformat?
    Thank you,

    Best case, given you used the Migration Assistant I would clone your hard drive to an external drive (so yu have a source to copy from and a working bakcup if all goes wrong) and then start from scratch, erasing the drive and manually installing everything.
    Yes it'll take you a day to do but a day well worth spending. It'll also be a nice practice run for when Mac OS X 10.5 comes out.
    As for the software, everyting that came with your MBP is installable from the DVDs in the box.

  • What is the best way to Insert BLOB in DB?

    Hi,
    We are having a Table containing BLOB datatype & trying to populate it using JDBC. But simple insert is not allowing us to insert the data into table. As the alternative we used to firstly insert a empty_blob & later on update it using FOR UPDATE query resultset. This update operation is quite costly for our application & thus resulting in the drop of performance. Kindly suggest a better way to do the operation in a less costly & standard way.
    Thanks in advance.

    Ciao Giovanni,
    I thank you for your reply. We are already using JDBC driver version 10.2. Please refer to the extract from the driver jar file (OJDBC14.jar):
    Created-By: 1.4.2_08 (Sun Microsystems Inc.)
    Implementation-Title: ojdbc14.jar
    Specification-Vendor: Oracle Corporation
    Specification-Version: Oracle JDBC Driver version - "10.2.0.1.0"
    Implementation-Version: Oracle JDBC Driver version - "10.2.0.1.0"
    Implementation-Vendor: Oracle Corporation
    Implementation-Time: Wed Jun 22 11:19:45 2005
    The insertion is done in two steps:
    1.     First , enter an empty blob (Refer to the following prepared statements in Java):
    sFirst.setString(1, id);
    sFirst.setInt(2, 0);
    sFirst.setString(3, pid);
    sFirst.setBlob(4, BLOB.getEmptyBLOB());
    sFirst.execute();
    2.     Second, do a select for update
    Please help.
    Regards.

  • What's the best way to insert a long raw using OracleXSU12?

    I am currently reading a string from a document file and dump the content in a field in a row in a rowset in the xml file. I am just wondering if there is a better way to do this using the name of the text file instead. Thanks.
    null

    (1) you can't insert a sheet in Pages. Only tables !
    (2) before pasting your table in Pages, you may resize it so that it may fit in a page.
    (3) the users which took time to look in Pages User Guide are aware of a feature described as : Linking Text Boxes.
    It's a good answer to your problem.
    In a Word Processor document, create a text box and paste your table in the new tex box.
    At the bottom of the box you will see a small square with a symbol plus. It's a flag warning you  that the box contents is too large for the box.
    No problem, insert a page break to force the opening of a new page then read carefully the user guide :
    Applying what I highlighted, you will create a new box linked to the first one so that your table will flow in it.
    If it's not sufficient, you may link a third box …
    More, we are allowed to rotate the text boxes so you may edit them a way allowing them to host your landscape table.
    From my user's point of view, it's absolutely intuitive.
    Yvan KOENIG (VALLAURIS, France) dimanche 26 juin 2011 21:29:56
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Just wondering how the best way to work using 2 computers and 2 people.

    If you have 2 computers, a main one doing creative changes and the other person on a second computer doing metadata and keywords, is it possible to keep them synced, so the keyword info etc is kept up to date on the main computer? Would it just be to export the new keywords for that catalogue each time?
    It is a big Library of 300,000 images that needs to be keyworded to find images easily. I am new to this but trying to help someone sort out their Library.
    Many thanks for your help.

    I don't know the answer. But here's what I do know:
    Brainstorming, not well-organized thoughts...:
    In general, you need to make sure the image developer is not working on the same images at the same time as the keyworder. Lightroom considers keywords and develop settings on a par (and will overwrite both or neither when syncing, importing, ...), so however you do it, unless you discover some clever workaround, the 2 people will need to coordinate which images are off-limits while the other is working on them. That said, here are some ideas:
    * Figure out a way to strip settings/metadata of one type before doing the sync (e.g. from the xmp).
    * Save develop settings (as snapshot), sync with keyworder's versions, restore develop settings (by re-selecting the snapshot). Unfortunately, this would need to be done on a per-image basis, since there is no way to apply a snapshot in any automated or bulk fashion.
    Note: this would be an easy plugin, but would have some (probably deal-breaking) limitations:
    1. Save develop settings in ram.
    2. Read xmp from keyworder (which will update keywords, but also overwrite develop settings).
    3. Restore develop settings from ram.
    The problem is that the SDK is missing a few develop settings, e.g. crop is missing, as is tone-curve enable/disable, and orientation. So, if developer had changed any of these things, they would not be restored after syncing keywords from xmp - not good, and one of the reasons I lobby with Adobe to make develop settings (available to plugins) complete.
    If plugins had access to snapshots for applying, that would also make a plugin solution a piece of cake.
    Another idea:
    - Export jpegs for keywording, with a special token in the filename, like "for-keywording" (I recommend PreviewExporter for fastest exporting).
    - Use John Beardy's Syncomatic to synchronize keywords from jpeg to original.
    Optional, instead of exporting, just make a physical copy using OS, and have keyworder import those and apply keywords. All else would be the same (syncomatic).
    (consider deleting exports/copies created just for keywording purpose, after syncing keywords...).
    This would also be a piece of cake for SQLiteroom, if you were willing to do some SQL+Lua programming:
    - Use SQL to query 2ndary catalog with keywords.
    - Use Lua to assign keywords to photos in master catalog.
    R

  • What is the best way to scan using an HP All-in-One? (HP Office Jet 6210)

    I have a HP 6210 that I would like to use to scan into my Mac. When I needed to print to HP printers, I realized that I did not need additional drivers and could use CUPS (as I understand Linux printing stuff).
    Is there any way to scan without installing HP software? I am concerned about ending up with bloated software that consumes my CPU even when I do not need it. I know I am being suspicious even before installing the software linked to below, but then with HP I have had bad bloated software experiences.
    I hope some Mac experts know the answer
    (http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=mp-57691-1 &lc=en&dlc=en&cc=us&lang=en&os=219&product=421991)

    This doesn't answer your question exactly, but still. I just got a HP J6480 all-in-one, and installed the HP software. I have to say that I'm impressed with the software. Previously, I have been very unhappy with HP software (for Windows) to the point of not wanting to buy HP again, but this software just works, and it does not use CPU when not in use. So, my recommendation would be to just install the HP software (probably similar to that of the J6480).

  • What are the best ways to recycle used Apple products?

    I currently have a iPhone 4 (32 GB, Black) and a Macbook Pro (Mid-2009, 2.53 GHz, 250 GB storage, 4 GB memory) that I don't use anymore. I'm looking into recycling them or selling them but I'm not sure about:
    a) What the products are worth - the iPhone looks brand new and the Macbook Pro is in fair condition but needs a battery replacement
    b) Which recycling programs to go with - Apple's PowerON program has shady reviews and I'm not sure whether to trust sites like 'gazelle'
    If anyone has any advice on recycling or selling their Apple products, let me know. Thanks!

    jess_ek,
    To get an idea of what the products are worth, take a look at recent winning bids on online auction sites for identical items to yours in similar condition.
    If you prefer to recycle rather than to sell, you could donate them to iFixit, which will make maximum use of their parts to help keep other iPhones and MacBook Pros running. If you’d prefer to sell them, you could offer them as individual lots on online auction sites, or advertise them for sale on online classified ad sites.

  • What's the best way to insert a numbers sheet into pages?

    I have some spreadsheets in numbers that I want to insert in pages...somehow it's not so intuitive.
    First of all when I paste them in a pages text box...a part of the sheets fall off the botom of the page
    Even a bigger problem...The should be in landscape...while all my text is in portrait...
    Anybody?
    Thx.

    (1) you can't insert a sheet in Pages. Only tables !
    (2) before pasting your table in Pages, you may resize it so that it may fit in a page.
    (3) the users which took time to look in Pages User Guide are aware of a feature described as : Linking Text Boxes.
    It's a good answer to your problem.
    In a Word Processor document, create a text box and paste your table in the new tex box.
    At the bottom of the box you will see a small square with a symbol plus. It's a flag warning you  that the box contents is too large for the box.
    No problem, insert a page break to force the opening of a new page then read carefully the user guide :
    Applying what I highlighted, you will create a new box linked to the first one so that your table will flow in it.
    If it's not sufficient, you may link a third box …
    More, we are allowed to rotate the text boxes so you may edit them a way allowing them to host your landscape table.
    From my user's point of view, it's absolutely intuitive.
    Yvan KOENIG (VALLAURIS, France) dimanche 26 juin 2011 21:29:56
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

Maybe you are looking for

  • Using an external hard drive with iTunes r

    Hi there. I just bought a new mac book pro and would like to link my itunes to an external hard drive that I have consolidated all my mp3's onto so that I don't use all the memory space on my computer. I tried holding down the alt key when starting i

  • Acrobat 9 Password Protect/Email

    I recently ordered/received Acrobat 9 Pro after being assured by an employee of Adobe that what I need could be done by the program, but I can't find it in the help guide for the program.  I am trying to export Access reports into PDF format then pas

  • Help....Simple Applets Not Working..

    I have been trying to get this simple HelloWorld applet to execute with no luck. I have confirmed that my Java Plug-In is setup with the IE Browser and JRE C:\Java\j2sdk1.4.1_1. I also enabled the Java console and JIT compiler for virtual machine ena

  • Budget Amounts With Segemented Chart  of Accounts

    Hi, Is it possible to allocate amounts to a segment as opposed to individual accounts? A brief background of my situation is that I have a segmented chart where one segment denotes activities which can have several expenses. In the budget I would lik

  • ICal won't open at all.

    I quit iCal and shut down on Oct. 2 @ 7:20 am. Powered up and iCal failed to open on boot as usual. Clicked on iCal in dock, icon bounced once then dead. In Finder/apps, iCal has a red negative sign on the folder. Wha's up?