Create the Collection job DBMS

Any of you have ever tried to create a collection in a job started from a session authenticated apex?

I know I have to configure the session information in the work:
apex_custom_auth.define_user_session
apex_application.g_flow_id
apex_custom_auth.post_login

But I can not fire the last of them outside the context of the APEX (in work). Someone at - he never accomplished this? The purpose is collection will be available for the session of the APEX for the user does not have to wait for the moment wherever they come to the page on which it is used.

Jeff

You need not use a dbms_job for this. An asynchronous ajax call allows you to do this and create a collection in an application on the application process.

Denes Kubicek
------------------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------------------

Tags: Database

Similar Questions

  • Create the Collection with shuttle

    It's using Apex 3.2

    I have a shuttle, and I need to create a collection based on the values of the shuttle.

    I try to use APEX_COLLECTION. CREATE_COLLECTION_FROM_QUERY_B, but keep a mistake.

    My code is

    BEGIN

    IF apex_collection.collection_exists ('VPE_STORE_GROUP_COL') = TRUE THEN

    apex_collection.delete_collection (p_collection_name = > 'VPE_STORE_GROUP_COL');

    END IF;

    APEX_COLLECTION. () CREATE_COLLECTION_FROM_QUERY_B

    p_collection_name = > 'VPE_STORE_GROUP_COL ',.

    p_query = > ' select CLOCKEY, GRPKEY, substr(GRPLONGDESCR,1,50), GRPTYPEKEY,.

    substr (GRPTYPELONGDESCR, 1, 50), CLOCID, CLOCGRPID, LDEID

    of v_vpe_bas_cloc2clocgrp

    where IN CLOCGRPID (: P32_SHUTTLE)

    GRPKEY, GRPTYPEKEY, CLOCKEY order ');

    END;

    I have this like we charge before procedure header, but I get the error

    ORA-20104: create_collection_from_query_b error: ORA-20104: create_collection_from_query ExecErr:ORA - 01008: not all variables

    Can someone tell me where I'm wrong

    Gus

    Hello

    Can you reproduce this on apex.oracle.com ?

    Kind regards
    Jari

  • Create the collection of photos used in a book

    I have a collection of close to 800 photos. Created a page of book layout using about 80 photos. I see the film in the book module, I see that some of them are marked with '1' to indicate that they are used in the book. So far so good. I would like to create a collection (or in some sort of filter) include only 80-or-so pictures used in the book. Is this possible in LR5?

    Found a way...

    -create a new collection and set it as the target

    -Open book

    -Click/Select each photo (one at a time)

    -Press b to add it to the target collection

    Must select each photo in the book, but it's pretty fast...

  • Create the collection of query with bind variable

    Apex 4.0.2

    By Joel Re: Collection with variable binding the apex_collection.create_collection_from_query_b supports queries containing references to the bind variables (: P1_X) but I don't know how to use this feature, the documentation is not an example, just the API signature for the overloaded version has changed.

    If the query contains 2 bind session state variable references (: P1_X and: P1_Y), can someone please show an example of what to spend for the parameters p_names and p_values to the API?

    Thank you
    procedure create_collection_from_query_b(
        --
        -- Create a named collection from the supplied query using bulk operations.  The query will
        -- be parsed as the application owner.  If a collection exists with the same name for the current
        -- user in the same session for the current Flow ID, an application error will be raised.
        --
        -- This procedure uses bulk dynamic SQL to perform the fetch and insert operations into the named
        -- collection.  Two limitations are imposed by this procedure:
        --
        --   1) The MD5 checksum for the member data will not be computed
        --   2) No column value in query p_query can exceed 2,000 bytes
        --
        --
        -- Arguments:
        --     p_collection_name   =  Name of collection.  Maximum length can be
        --                            255 bytes.  Note that collection_names are case-insensitive,
        --                            as the collection name will be converted to upper case
        --     p_query             =  Query to be executed which will populate the members of the
        --                            collection.  If p_query is numeric, it is assumed to be
        --                            a DBMS_SQL cursor.
        -- example(s):
        --     l_query := 'select make, model, caliber from firearms';
        --     apex_collection.create_collection_from_query_b( p_collection_name => 'Firearm', p_query => l_query );
        --
        p_collection_name in varchar2,
        p_query           in varchar2,
        p_names           in wwv_flow_global.vc_arr2,
        p_values          in wwv_flow_global.vc_arr2,
        p_max_row_count   in number default null)
        ;

    HELEN wrote:
    Apex 4.0.2

    By Joel Re: Collection with variable binding the apex_collection.create_collection_from_query_b supports queries containing references to the bind variables (: P1_X) but I don't know how to use this feature, the documentation is not an example, just the API signature for the overloaded version has changed.

    If the query contains 2 bind session state variable references (: P1_X and: P1_Y), can someone please show an example of what to spend for the parameters p_names and p_values to the API?

    Not tried, but guess something like

    apex_collection.create_collection_from_query_b(
        p_collection_name => 'foobar'
      , p_query => 'select f.foo_id, b.bar_id, b.baz from foo f, bar b where f.foo_id = b.foo_id and f.x = to_number(:p1_x) and b.y = :p1_y'
      , p_names => apex_util.string_to_table('p1_x:p1_y')
      , p_values => apex_util.string_to_table(v('p1_x') || ':' || v('p1_y')))
    
  • Ray create the Blu - job will not output a .img file

    iMac 27 inches Core i7 at 3.5 gHz, 16 GB ram, Nvidia GeForce GTX 780 M, 4 GB, 1 TB of storage with +-330 GB free

    MacOs 10.10.5 "Yosemite".

    Final Cut Pro - X 10.2.2

    4.2.2 compressor

    I am producing a Blu - ray .img file, which I already did some time with no problems.  This time, compressor will be released the .ac3 et.264 files, but not the .img file needed.  I have tried both a FCPX 'Send to compressor' and "part in Master file" in ProRes as an interim step, nothing helps.  The project is 2h07m in length and compressor is the calculation of the transmission speed to fit on a single layer BD - R (25 GB) as it should (around 21 Mbit/s on average bitrate).  I use encoding in two passes and maxed out settings.  The original file has chapters.  Code assets out to 21 Go to the fichier.264 and 190 MB for the ac3 file, so everything should be fine.

    The compressor process takes about 7 hours to do and I'm at the third attempt, it's getting old!  I can do a test with a smaller file (to save time) with the same parameters and process, and it will work.

    Any idea?  The last FCPX and MacOS solve this?  I was hoping can project before upgrading the computer.

    Oh dear.  I went to the pane 'Complete' to see if an error could be found but there not, labor was listed as successful.  I tried the 'Reuse' button and restarted the process.  As the coded assets were still on my computer, compressor used as-is without having to restart the whole encoding process.  He proceeded to finish the job of Blu - ray in a few minutes, then displayed the appropriate, .img file which works fine, menu, chapters, and all.

    Of course, I am happy that the work to be done, but I'm not happy with Apple for such bugs.  I do not use Windows for some reason!

  • Failed to create the collection.

    So, I bought this laptop about a week ago. Now, it says that I need to create a recovery disk. IM game, after all I must do that incase of questions.

    Now the problem is the following. I make records. Discs in DVD + R discs, that I bought at Walmart and whenever I've done, it seems to start the process of their manufacture and then just up and says he can't check the disk. So ive been through two drives because of this issue. I went and grabbed a record 32 GB and tried. It is not yet record when it comes to what actually, but sure as hell when he opens the folder. Overall, im wanting to know if there is not a way I can just have a recovery disc sent in my place like in the good old days. I know that we have advanced well and good, but sometimes the old way is awesome!

    I hope I get something from this other than to the lost text. The good folks LOL g ' Day and thank you advance.

    Right then. Should also add the details of the lappy... hard.

    HP Pavilion 17-e119wm Notebook PC (ENERGY STAR)

    How to order a set of recovery disks

    The problem you are having normally happens when people use less expensive DVD noname media, they can buy.

    Use only well known brands such as Verbatim. Unfortunately, TOLD the same thing with usb flash drives. Stick with well-known brands.  Only use the usb 2.0 ports, if necessary and make sure that the wireless is turned on.

    The usb 2.0 ports on the left side of your laptop are USB 3.0. Do not use those to create recovery media.

  • Error creating the collection DVD1 - Satellite P300-150

    Hello

    I am creating a recovery disk using the creator of disc of recovery for my new laptop Toshiba Satellite P300. However, at each time at halfway in the process (for dvd 1 only), it comes up with the following error:

    A power calibration error.

    Error code: 0E09B5-26-00037304

    Khusal.

    Which blank media are you using (DVD - R, DVD + R,...)?
    Have you tried a few to use blank media from different manufacturers?
    Have you installed like Nero burning software?

  • Creating a collection of a query at the Apex 4.2 is not complete the data in the collection.

    I have a process that creates a collection with data from several tables. The query returns multiple lines in the tab "Sql commands". The same query is used to create the collection 'Head before' and when I create a region with the source of the region as

    Select * from apex_collections where collection_name = "load_dashboard";

    At the time of the rendering of the page, shows me "no data found".

    What could be the problem? Are there requirements before creating the collection?

    Thanks in advance,

    Sriram

    Name of the collection must be uppercase. That's your problem.

    Denes Kubicek

    -------------------------------------------------------------------

    http://deneskubicek.blogspot.com/

    http://www.Apress.com/9781430235125

    https://Apex.Oracle.com/pls/Apex/f?p=31517:1

    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494

    -------------------------------------------------------------------

  • Error when trying to create a collection of Solr (java.io.IOException: the device is not ready)

    Hello, everyone.

    I am trying to create a .cfm document which delete and then re-create a specific collection of Solr, index and optimize it.

    The removal works perfectly.

    Unfortunately, creation it doesn't, at all.  I get the following message:

    Cannot create the collection publicsearch - an error occurred during the creation of the collection: java.io.IOException: the device is not ready.

    This is a server of Windows 7 under Apache and CFServer 9.0.1 (the version before Verity was cut).  I get no more detail than an error message.  Any idea what could be the cause?  I googled this and I see a lot of similar questions, but not quite what I have going on.

    Thank you

    ^_^

    So much worse... someone didn't bother to inform the proponent that the access to the collection AND the path to the directory that contains the collection for are different on this other server.

    Fixed.

  • Add the column in the collection

    Hi gurus

    I created 1 collection as below:

    Create the Collection with the type of table emp

    type c_emp is the table emp % rowtype;

    v_emp:=c_emp() c_emp;

    Now I want to add more than 2 columns in this collection, first name of the column is varchar2 (10) and and 2nd name column is varchar2 (10) s but unable to understand how will I achieve this?. Please guide. Thank you

    Concerning

    Shu

    I created 1 collection as below:

    Create the Collection with the type of table emp

    type c_emp is the table emp % rowtype;

    v_emp:=c_emp() c_emp;

    Now I want to add more than 2 columns in this collection, first name of the column is varchar2 (10) and and 2nd name column is varchar2 (10) s but unable to understand how will I achieve this?.

    You cannot change this collection. You must create a new. And you use no reserved words (for example, the "group") for the names.

    DECLARE

    CURSOR c1 IS (SELECT e.*, cast (null as varchar2 (10) GroupName, cast (null as name varchar2 (10))))

    FROM emp e);

    TYPE typ_tbl IS TABLE c1% rowtype;

    v typ_tbl;

    BEGIN

    . . .

  • About the collections

    Hello

    A created collection exists in all sessions, but the data are seen only in the session that created the collection?
    I want to use the collection, and I wonder if I need to give a unique name to a collection. If I create a collection in a session, can it be created with the same name by other sessions?

    Thank you.

    A collection is always associated session. There is no way to share it between sessions. To do this, you use a table.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • Synchronization of the Collections

    Can I synchronize a Collection or Collection set on 2 computers. For example, if I create Collections on my laptop while I'm traveling, can I transfer this work to my MacPro desktop when I go home, or do I have to re - create the Collections from scratch?

    Well, when do you an Export in the catalogue, the catalogue of clone and delete the other collection sets. But there is no way to isolate a collection.

    If you use smart Collections, you can right click on them and export their definitions individually. Save them on your desktop, send to your colleague and they would be right click in the area of Collections and import. This works best with them and two, but if you have a lot of dumb and smart collections, the export route is easier.

  • When I start the Director I get "the collection of files its not valid or its corrupted. A new empty collections file has been created ".

    I've been using Director windows 2.6 on my operating system from vista for several months.   I just did the upgrade to windows 7 and now I get this message.

    "The collection file is not valid or its corrupted." A new empty collections file has been created "."

    Then, it closes the program.

    I had to rename a file called FFDshow.ax to another program called Muvee AutoProducer 6.1 works but I do not see how would the file collections of this program.

    Help, please.

    Thank you...

    For any question on Windows 7:

    http://social.answers.Microsoft.com/forums/en-us/category/Windows7

    Link above is Windows 7 Forum for questions on Windows 7.

    Windows 7 questions should be directed to / stationed there.

    You are in the Vista Forums.

    See you soon.

    Mick Murphy - Microsoft partner

  • We have created a responsibility custom to access the Collection of quality RESP results, we get an error - you have enough privileges for the operation. Please contact your system administrator.

    Hi all

    We have created a responsibility custom to access the results of Collections only HTML page.

    Details of the liability and the Menu are also less

    Name of the RESP: XX QUALITY

    Application: Quality custom

    Menu: XXQA_QUALITY

    and there is no attached grp applications.

    Definition of menu:

    Menu name: XXQA_QUALITY

    Description of function for the submenu SEQ invites

    10 quality Workbench results results collection begins Page quality Workbench results Start Page

    quality of view finds quality results 20 results display quality results

    We show only this specific user responsibility and whenever it tries to access the page "Results from the Collection" he gives us an error.

    "You have enough privileges for the operation." Please contact your system administrator.


    If we attribute an RESP of super user of quality to this user, it allows to access the form.


    Can you kindly help us to find a solution to this problem.


    Thank you

    Maury

    Hi all

    I guess I found the answer,

    I need to join all the submenus that are part of the HTML Page.

    Results from the collection Results of quality Workbench Start Page
    Nonconformities Quality Workbench nonconformities homepage
    Corrective actions Quality Workbench action homepage
    Consultation of lots of Skip Lot of Skip quality Workbench Start Page

    Have they added those. and it worked.

    Thank you

    Maury

  • Create smart collections by using the import Smart Collection settings

    Anyone know if I can create smart collections by using Import Smart collection settings? Where can I find any information on this other than collections of photos? In particular, I am interested in what to do with the code.

    I think I got it. If you put the text below into a file extension .lrsmcol and call 01_Jan. You can do a right click any where on the Collection Panel, choose Import Smart Collection settings and it will create a collection called 201401 - Jan will all images published here this month. It is a simplified version of a smart collection for a workflow. If you have 12 files, one for each month, you can select in the dialog box, and it will create 12 collections.

    s = {

    ID = ""

    internalName = "201401 - Jan."

    title = "201401 - Jan."

    Type = "LibrarySmartCollection"

    value = {}

    {

    criteria = "touchTime."

    operation = "en"

    value = "2014-01-01,.

    value2 = "2014-01-31."

    },

    combine = "cross"

    },

    version = 0,

    }

    A minor warning, Text Edit on my Mac replaced the quotes with double quotes. LR would fail to import missing files of the quotes or double quotes (I guess malformed) with like this without raising any errors. I had to disable the quotes in Text Edit.

Maybe you are looking for

  • YouTube makes Firefox crashes

    When I run a youtube video after a while, firefox crashes.Sometimes, it's when I change position video on youtube.Sometimes, it's after I close the youtube tab.This happens even in safe mode.

  • Cannot Hibernate Qosmio G30 on Win MCE - API error

    Cannot Hibernate Qosmio G30 on Win MCEmessage: not enough system resources... The API error!HOW CAN I SOLVE THIS PROBLEM?Thanks in advance.

  • 10.11.2 monitor insignia HDMI problem

    My insignia TV/monitor HDMI that I use for my secondary screen worked perfectly until I upgraded to El Capitan (Betas and now 10.11.2). Setup: TV/monitor has two HDMI connections. Input HDMI1 is the VCR to the TV. HDMI2 comes the MacPro on television

  • Can not find an example for synchronization series S-6120 devices...

    Hello I recently updated my system to MSstudio and NiDAQmx 8.8 8.6. I have two cards PCI 6120 on my computer. I'm looking for a sample VB .NET program for synchronization of the two cards. But I can't find examples for S material of the series. The e

  • cannot transfer emails in windows live mail

    I can not send an email in windows live mail as sson as I start to write to windows live mail closes & told me that something caused stop execution He seeks the cause but just continues to always without result