ADF progress indicator to insert the data into the file table.

I have a requirement where the progress bar should indicate the percentage of completion to insert the data into the tables of database files in a given folder path. I found an article that explains how to get the progress indicator when downloading a file in
http://www.gebs.ro/blog/Oracle/Oracle-ADF-progress-indicator-in-Fusion-Middleware-11g/. I believe that I must first get the total number of files in the folder and then begin to compare with the number of files that are inserted into the table similar to what is done by downloading (getting the file size and download size), but I don't know how to do this. Can anyone help?

May be that this example allows you to

* 042.     Dynamically change the color of progress bar based on its current value *.

http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html

Tags: Java

Similar Questions

  • How to use several adf 12 shape and insert the form data in to table during the click on "submit" button

    How to use several adf 12 shape and insert the form data in to table during the click on "submit" button. Can we use several form from adf or not?

    Make sure that you dragged the VO based EO.

    Also make sure that the VO attributes based EO Updatable property.

    The query according to VO is used only to add LOV to the column of the original VO ModelId.

    See you soon

    AJ

  • How to insert multiple images into a file

    How to insert multiple images into a file

    Hi Mary,

    See this tutorial on adding images in Photoshop Mix and the grantor together: http://tv.adobe.com/watch/learn-photoshop-cc/combine-two-photos/

    Hope that helps,

    Concerning

  • BlackBerry Smartphones Runtime error "Cannot find system in the file table.

    I need help!

    I have a Blackberry Curve 8310 and have recently installed Version 4.5

    I'm trying to set my synchronization.  I followed the steps to set up my Outlook 2007 calendar.  He told me congratulations! You have configured the product. However, when I press Finish, I get a runtime error "cannot find system in the file table.

    I uninstalled the program and reinstalled - the same error.

    Any help would be appreciated!

    FIGURED IT OUT!

    The following steps, which are displayed on the RIM support will work; However, I had to do it another way.  In step 1, it says that ilxolkCompanion.fil is located in the path C:\Program Research In Motion\BlackBerry\Connectors\MS Outlook Connector... However, when I searched this file, it was actually located in C:\Program Files\Blackberry\Connectors\MS Outlook Connector.  (Maybe it's because I upgraded from 4.2.2 to 4.5 w/o filling a clean uninstall... not too sure why)

    Once I located the file via the command prompt, I have not recorded in accordance with the instructions of step 1.  I then followed step 2 exactly Word for Word... and VOILA!  I have now Version 4.5, working with MS Outlook 2007

    Resolution

    If the connectors folder is always present in C\Program Research In Motion\BlackBerry\Connectors\MS Outlook Connector, follow these steps:

    1. Unregister the old of the Microsoft Outlook ilxolkCompanion.filconnector.

      1. Open the command prompt.
      2. Navigate to C:\Program research in Motion\BlackBerry\Connectors\MS Outlook Connector.
      3. Type command regsvr32 u ilxolkCompanion.fil.
      4. In Desktop Manager, Microsoft Outlook is no longer appears as an available desktop application.
    2. Save the latest Microsoft Outlook Connector.
      1. Navigate to C:\Program research in Motion\BlackBerry\IS71 Connectors\MS Outlook Connector.
      2. Type the command regsvr32 msoutlookconnector.fil.
      3. Office Manager, Microsoft Outlook will be now stored as an available desktop application.

    Once these steps have been completed, configure synchronization again.

  • RMTTRAIL must be specified before the FILE/TABLE/SEQUENCE

    Hi Experts,

    Just trying to debug this issue. Please help me in the question of fixing.

    Currently this is my approx.

    OS - OEL 6.3

    DB - 12.1.0.1

    GRID - 12.1.0.1

    2 node RAC

    I have a Container 1 (c1) with PDB (p1, p2) 2 and trying to replicate of C1. P1. SH-> C1. P2. SH for a single table and below is my param file and I recorded extracted and added to GGSCI

    EXTRACT C1SH1_ED

    SETENV (ORACLE_SID = "c1")

    SETENV (ORACLE_HOME=/opt/oracle/rdbms/12.1.0.1)

    SETENV (NLS_LANG = 'AMERICAN_AMERICA. AL32UTF8")

    SETENV (NLS_DATE_FORMAT = DD-MON-YYYY HH: MI: SS AM)

    USERIDALIAS ggc1

    DISCARDFILE. / direrr/c1.dsc, APPEND.

    REPORTCOUNT EVERY 30 MINUTES, FARE

    STATOPTIONS REPORTFETCH

    WARNLONGTRANS 5 m, 3 m CHECKINTERVAL

    WILDCARDRESOLVE IMMEDIATE

    LOGALLSUPCOLS

    UPDATERECORDFORMAT COMPACT

    SOURCECATALOG P1

    Table SH. T_DELS;

    then I tried to run the EXTRACT and the weiredly I see this error (please let me know if I make a mistake)

    RMTTRAIL must be specified before the FILE/TABLE/SEQUENCE <-this is what I see in my ggserr.log

    2014-05-26 00:32:01 INFO OGG - 02695 Oracle GoldenGate Capture for Oracle, c1sh1_ed.prm: syntax of the ANSI SQL parameter is used for the analysis of the parameter.

    2014-05-26 00:32:01 INFO OGG - 02095 Oracle GoldenGate Capture for Oracle, c1sh1_ed.prm: successfully set ORACLE_SID = c1 environment variable.

    2014-05-26 00:32:01 INFO OGG - 02095 Oracle GoldenGate Capture for Oracle, c1sh1_ed.prm: set successfully ORACLE_HOME=/opt/oracle/rdbms/12.1.0.1 environment variable.

    2014-05-26 00:32:01 INFO OGG - 02095 Oracle GoldenGate Capture for Oracle, c1sh1_ed.prm: set NLS_LANG = AMERICAN_AMERICA successfully environment variable. AL32UTF8.

    2014-05-26 00:32:01 INFO OGG - 02095 Oracle GoldenGate Capture for Oracle, c1sh1_ed.prm: variable environment successfully set NLS_DATE_FORMAT = DD-MON-YYYY hh: mi: SS AM.

    2014-05-26 00:32:04 INFO OGG - 03522 Oracle GoldenGate Capture for Oracle, c1sh1_ed.prm: setting session time zone at the source of database timezone "GMT".

    2014-05-26 00:32:04 ERROR OGG - 00362 Oracle GoldenGate Capture for Oracle, c1sh1_ed.prm: RMTTRAIL must be specified before/SEQUENCE/TABLE FILE.

    2014-05-26 00:32:04 ERROR OGG - 01668 Oracle GoldenGate Capture for Oracle, c1sh1_ed.prm: PROCESS ABENDING.

    2014-05-26 00:32:04 INFO OGG - 00975 Oracle GoldenGate for Oracle, Manager mgr.prm: client_start_er_prog failed.

    2014-05-26 00:32:04 WARNING OGG - 01742 Oracle GoldenGate for Oracle shell: command sent to MGR MGR returned with an error response.

    2014-05-26 00:33:29 INFO OGG - 00979 Oracle GoldenGate for Oracle, Manager mgr.prm: EXTRACT of C1SH1_ED is down (free of charge).

    2014-05-26 00:38:30 INFO OGG - 00979 Oracle GoldenGate for Oracle, Manager mgr.prm: EXTRACT of C1SH1_ED is down (free of charge).

    -extract is registered and has successfully added.  Please help me

    I still wonder why we see RMTRAIL when we check out local config

    Add this parameter to your setting

    exttrail ./dirdat/ll

    and run the following statements:

    GGSCI > remove from C1SH1_ED

    GGSCI > add from C1SH1_ED, tranlog, begin now, NET 2

    GGSCI > add exttrail. / dirdat/ll, extracted from C1SH1_ED, 100 MB

  • The most effective way to insert form data into multiple tables and w/autonum

    Hi all, this is my first post here. I am new to APEX and PL/SQL. I have ColdFusion and SQL, and I'm used to perform CRUD operations in my CF Tags application files. From what I've read so far, so if this is accurate, it seems that it is more efficient to perform most of the CRUD operations on the database side, I hope that for advice on the best way to accomplish what I ask - even if I'm trying to do is better off in my new APEX application I am open to this information as well.

    I have a form whose data must reside in two tables. Table A is a one-to-one relationship table and stores General information for each request. Table B is a table of one-to-many observations and should store unique records for each type of comment entered on the form, of which there are 3 comment fields on the form, I'd end up with 3 disks in table B for 1 in table A. I am generating an AutoNumber for table A with a sequence and relaxation. I want to do is take the AutoNumber I just created and use it for insertion in the Table B each insertion I have to do. This is where I am stuck.

    I would like to comment on 1) where I should put all these operations and 2) how best to go about what I want to do coding. In ColdFusion, it is as simple as inserting the record in Table A, immediately asking to table A more recent recording and storing (auto) ID in a variable and then using this var for any other table insertions, I had to do. I know it must be at least a little easier in the Oracle world, I just need a nudge in the right direction. Thank you!

    OraclePledge,

    You're pretty close to not having worked with oracle a lot.

    This section is backwards:

    insert into sch.tbl_main(cust_lname,cust_fname,acct_num)
    values(:P3_CUST_LNAME,:P3_CUST_FNAME,:P3_ACCT_NUM);
    
    select "SCH"."TBL_MAIN_SEQ".currval
          into
          v_ID
          from dual;
    

    Even if it will work if you only have a single user, it's a potential bug with two or more users. First select the key (if it's first use nextval rather than currval) can use it in the insert statement.

    See you soon,.
    Janet Tyson

    Published by: Tyson Janet on June 23, 2011 10:48

  • How to use the progress indicator that block the user for editing?

    Hi all

    I have a requirement where I need to display a round progress bar while processing the database. For example:-I have a stubborn taskflow and in it, I have a two jspx page called 'First.jspx' and 'Second.jspx '. And I have two text boxes and a button 'Save' on the first.jspx page.
    Now, when the user puts the values in the text boxes and click the 'Save', my ticker or the progress indicator should say "Please wait while running" and as soon as the transaction is complete, I need to show another page which is the page of "Second.jspx". The 'Save' button action has method within a managed bean that has some features and then it executes the VO (View object) and validates the data.


    How can I implement the indicator?

    I read this article:- http://www.oracle.com/technetwork/developer-tools/adf/learnmore/42-progressbarcolor-169184.pdf , but it does not match my needs. I need indicator that holds the user to change anything on the page. Like what we get when we do any operation on the banks when navigating to the payment gateway.

    Please suggest!
    Thank you and best regards,
    Shah

    Hi Shah,

    The answer was around the same are looking in. http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/27-long-running-queries-169166.PDF, but the sample was 27.

    -Juan Camilo

  • inserting data into a temporary table

    I want to do something like session and I decided to use the temporary table. But when I try to insert data that has no past. This is my trigger when-pressed key code:


    declare

    total_col number (18.0);
    varchar (100) of the author.
    title varchar (200);
    price number (18.0);


    Start
    Select BOOK_AUTHOR, BOOK_TITLE, BOOK_PRICE by author, title, price from BOOKS where BOOK_ID =: BOOKS. BOOK_ID;
    insert into orders_tmp (author, title, price) values (author, title, price);
    commit;

    Select total in total_col total_amount where t_id = (select max (t_id) total_amount);
    : SUB_CATEGORY. AMOUNT: = total_col;
    end;

    the first line of the selected data of the block, 2nd insert into the temporary table. 4th line selected the last column in a temporary table and dispalying in etiquette. When the trigger is activated, I have an ORA-01403 error.
    Help, please.

    Edited by: 863470 2011-09-06 06:50

    I decided to use the temporary table

    Can you show how you created your temporary table (ie., show us your DML Table statement)? Without knowing how you have set your temporary table, we can really offer you suggestions. ;)

    declare
    

    total_col number (18.0);
    varchar (100) of the author.
    title varchar (200);
    price number (18.0);
    Start
    Select BOOK_AUTHOR, BOOK_TITLE, BOOK_PRICE by author, title, price from BOOKS where BOOK_ID =: BOOKS. BOOK_ID;
    insert into orders_tmp (author, title, price) values (author, title, price);
    commit;

    Select total in total_col total_amount where t_id = (select max (t_id) total_amount);
    : SUB_CATEGORY. AMOUNT: = total_col;
    end;

    This is more work than it should be. A much simpler and more elegant method is:

    /* Sample When-Button-Pressed trigger */
    BEGIN
       INSERT INTO orders_tmp (author, title, price)
       SELECT BOOK_AUTHOR, BOOK_TITLE, BOOK_PRICE
         FROM BOOKS
        WHERE BOOK_ID = :BOOKS.BOOK_ID;
    
       ... Rest of your code here...
    END;
    

    Hope this helps,
    Craig B-)

    If someone useful or appropriate, please mark accordingly.

  • BlackBerry Smartphones no progress indicator bar in the music player.

    I have searched the forums and guides the user for an answer but have not found one.

    I listen to a podcast of security which can get quite technical, I want to go back and listen to some parts still to make sure that I understand. When I listen to on my computer and need to go back I click just the status indicator back a little and slide. BB Storm manuals say to do the same thing for rewind or fast forward, BUT it is there no progress indicator bar anywhere on the screen when I listen to a song/podcast. It should appear above the previous buttons, Play, Stop and next on the screen. Anyone knows how to appear?

    I was kinda going nuts trying to understand this point so any help is greatly appreciated.

    Figured this out myself and I feel a little stupid. For the progress indicator music or video player just press the screen without clicking. Duh!

  • You can put the date into a file path?

    My program written spreadsheets. I want there to be a new file daily, entitled the days date, then the data added to the end of the day. Is any way to get the date issued by a ' get Date / Time String "and put in the path to the function"write the spreadsheet"?

    As is - anyone can confirm that a file path in a file writing worksheet is to open the file and one to come is saving and closing?

    See you soon

    Sam

    This better?

    As red Rooster have already said, use vi "string of Format Date/time" to not prevent elements of DateTime stamps that you need and also to choose appropriate delimiters.

    Keep in mind that ' / '&': ' are not allowed in Windows file names!

    Also to keep track of all your files in a folder, it is best to name your files 'Year-month-day"instead of the standard ' Monyh/day/year' (for Europeans at least ). This way you can easily find any file in a folder larger.

    You have really two different folders? One of the files before noon and the other for files after noon?

    If so keep this code.

    If not, modify this code!

  • How to display a progress bar on download the file?

    Hello

    Is it possible to display a progress on the blackberry.io.filetransfer.download function bar? I don't know how to get a file size before downloading from the server? I noticed bbui.js has also a progress indicator that works ok if I knew how to calculate the total size of the file before you download and change the size of the file in bytes on the device.

    Thank you

    Finally, I found a solution for this proglem. You must use html5 XMLHttpRequest to which you can link the onprogress event and calculate procent of the loaded data. https://github.com/BlackBerry/BB10-WebWorks-samples/tree/master/fileTransfer is an example for this, but unfortunately a pure html5 file transfer does not work here because blobbuilder has been deprecated. Thr disadvantage of this approach is that all of the loaded data is kept in memory before writing to a file system and it is not suitable for large files. The device is out of memory and the operating system closes all windows/applications open in the end, it will close even the running application

  • Load xml data into an Oracle table

    Hello

    I went through some threads in the forums itself, but for my requirement that nothing comes closer, I write my request. I have a XML like this
    <? XML version = "1.0"? >
    < ACCOUNT_HEADER_ACK >
    < HEADER >
    < STATUS_CODE > 100 < / STATUS_CODE >
    Check < STATUS_REMARKS > < / STATUS_REMARKS >
    < / Header >
    < DETAILS >
    < DETAIL >
    < SEGMENT_NUMBER > 2 < / SEGMENT_NUMBER >
    PR Polytechnic < REMARKS > < / COMMENTS >
    < / DETAILS >
    < DETAIL >
    < SEGMENT_NUMBER > 3 < / SEGMENT_NUMBER >
    < REMARKS > PR Polytechnic administration < / COMMENTS >
    < / DETAILS >
    < DETAIL >
    < SEGMENT_NUMBER > 4 < / SEGMENT_NUMBER >
    < REMARKS > rp Polytechnique finance < / COMMENTS >
    < / DETAILS >
    < DETAIL >
    < SEGMENT_NUMBER > 5 < / SEGMENT_NUMBER >
    < REMARKS > logistics Polytechnique rp < / COMMENTS >
    < / DETAILS >
    < / DETAILS >
    < HEADER >
    < STATUS_CODE > 500 < / STATUS_CODE >
    < STATUS_REMARKS > process exception < / STATUS_REMARKS >
    < / Header >
    < DETAILS >
    < DETAIL >
    < SEGMENT_NUMBER > 20 < / SEGMENT_NUMBER >
    Basic Polytechnique < REMARKS > < / COMMENTS >
    < / DETAILS >
    < DETAIL >
    < SEGMENT_NUMBER > 30 < / SEGMENT_NUMBER >
    < / DETAILS >
    < DETAIL >
    < SEGMENT_NUMBER > 40 < / SEGMENT_NUMBER >
    Finance basic Polytechnique < REMARKS > < / COMMENTS >
    < / DETAILS >
    < DETAIL >
    < SEGMENT_NUMBER > 50 < / SEGMENT_NUMBER >
    Logistics base Polytechnique < REMARKS > < / COMMENTS >
    < / DETAILS >
    < / DETAILS >
    < / ACCOUNT_HEADER_ACK >

    Here is the xml structure of the master structure and child I want to insert data in Oracle tables using the sql * loader initially tried to create a control file, but I don't know how to terminate in the control file, so I created two control files

    load data
    INFILE 'acct.xml' ' str ' < / DETAIL >»»
    TRUNCATE
    in the xxrp_acct_detail table
    TRAILING NULLCOLS
    (
    dummy fill finished by "< DETAIL >."
    SEGMENT_NUMBER surrounded by '< SEGMENT_NUMBER >' and ' < / SEGMENT_NUMBER >, "
    REMARKS framed by 'Of REMARKS <>' and ' < / COMMENTS >.
    )


    load data
    ACCT.XML INFILE' "str" < / header > ' "»
    TRUNCATE
    in the xxrp_acct_header table
    fields terminated by '< HEADER >.
    TRAILING NULLCOLS
    (
    dummy fill finished by "< HEADER >."
    STATUS_CODE framed by '< STATUS_CODE >' and ' < / STATUS_CODE >. "
    STATUS_REMARKS surrounded by '< STATUS_REMARKS >' and ' < / STATUS_REMARKS >.
    )

    I refer to the same xml file in two control files, where with regard to the first control file, I was able to load the files but the second which I suppose as table header not able to load the records of rest. I get the below error.

    Sheet 2: Rejected - error on the XXRP_ACCT_HEADER, column DUMMY table.
    Field in the data file exceeds the maximum length
    Sheet 3: Rejected - error on the XXRP_ACCT_HEADER, column DUMMY table.
    Field in the data file exceeds the maximum length

    In fact if its possible to seggrate a control file so it will be very useful for me. I'm also open for the external table as option. Please help me in this regard.

    Thanks in advance.

    Concerning
    Mr. Nagendra

    Here are two possible solutions:

    (1) reading the headers and separate details using two XMLTables:

    DECLARE
    
     acct_doc xmltype := xmltype( bfilename('TEST_DIR','acct.xml'), nls_charset_id('AL32UTF8') );
    
    BEGIN
    
     insert into xxrp_acct_details (status_code, status_remarks, segment_number, remarks)
     select x1.status_code,
            x1.status_remarks,
            x2.segment_number,
            x2.remarks
     from xmltable(
      '/ACCOUNT_HEADER_ACK/HEADER'
      passing acct_doc
      columns header_no      for ordinality,
              status_code    number        path 'STATUS_CODE',
              status_remarks varchar2(100) path 'STATUS_REMARKS'
     ) x1,
     xmltable(
      '$d/ACCOUNT_HEADER_ACK/DETAILS[$hn]/DETAIL'
      passing acct_doc as "d",
              x1.header_no as "hn"
      columns segment_number number        path 'SEGMENT_NUMBER',
              remarks        varchar2(100) path 'REMARKS'
     ) x2
     ;
    
    END;
    

    All first (alias X 1) retrieves all headers in separate lines. The HEADER_NO generated column is used to keep track of the position of the header into the document.
    Then, we join a second XMLTable (X 2), passing HEADER_NO, so that we can access the corresponding items in DETAIL.

    (2) reading with one XMLTable, but somewhat more complex XQuery:

    DECLARE
    
     acct_doc xmltype := xmltype( bfilename('TEST_DIR','acct.xml'), nls_charset_id('AL32UTF8') );
    
    BEGIN
    
     insert into xxrp_acct_details (status_code, status_remarks, segment_number, remarks)
     select x.*
     from xmltable(
      'for $i in /ACCOUNT_HEADER_ACK/HEADER
       return
        for $j in $i/following-sibling::DETAILS[1]/DETAIL
        return element r {$i, $j}'
      passing acct_doc
      columns status_code    number        path 'HEADER/STATUS_CODE',
              status_remarks varchar2(100) path 'HEADER/STATUS_REMARKS',
              segment_number number        path 'DETAIL/SEGMENT_NUMBER',
              remarks        varchar2(100) path 'DETAIL/REMARKS'
     ) x
     ;
    
    END;
    

    Here, we use an XQuery query to extract the information that we need.
    Basically it's the same logic as above, but with two nested loops which access each header, then each RETAIL location immediately after in the order of the documents.

    Here is the link to the documentation XMLTable and XQuery in Oracle:
    http://download.Oracle.com/docs/CD/B28359_01/AppDev.111/b28369/xdb_xquery.htm#CBAGCBGJ

  • Insert the file numbers

    How can I insert a file of numbers in my document pages? I tried to copy and paste, but the numbers file exceeds a single document page and document only adds a new page.

    Pages V5.6.2 only will allow you to insert PDF and image files supported.

    Select the cells of v3.6.2 of numbers that you want to appear in v5.6.2 Pages and then copy the selection to the Clipboard. Open Preview, then choose in the menu file: new from the Clipboard. You now have a PDF file that is not registered in the preview. You can then save the PDF file, and then drag and drop it into Pages, or copy the content of the PDF preview to the Clipboard and then paste them into Pages (in PDF).

    Once you have a PDF of your selection of worksheet Numbers in Pages v5.6.2, representation you can select the tab reorder and click the original size, scale and then rotate 90 degrees to fit the provision in the Portrait.

    If numbers v3.6.2 selection can be inserted in the layout of the portrait of Pages, and then select the cells in numbers, copy and paste in the Pages are possible. When you do so, Pages presents a menu of additional editing: entry of paste formula which is preferred over other results paste options when you want to keep the formulas. Pages won't allow rotation of the selected tables.

  • How to insert the file between the records in the database file

    Hi, I'm working on the project in which I need reading / writing of .mdb file. I am able to write data to the file, but I am not able to write data between two records. It's that I have to insert a few lines of data between the records in the file.

    Can someone tell me how to do? I really stuck with this problem.

    vaibhav

    Thank you
    In fact it was the problem with version 8.5.
    When I installed 8.5.1 it solved.

  • How to consume a web service in ODI and put data into an oracle table

    Hello

    Is someone can please help me with this or just give me some advice.

    Thanks in advance

    You must now read this XML file using XML ODI driver and load the data into tables using interfaces.

Maybe you are looking for