ADF LOV-> UI: main table showing the fields ID and not the search values

Hello
I am very new to the development of the ADF and will have a simple question that I can't solve.

Using Oracle JDeveloper 11.1.2.0.0 I create my views and objects of entity without incident. I have an entity object that has several "search values" (these are all optional references to foreign keys to tables 'children'). Objects and relations are perfectly mapped the ADF.

In the views of child object I created the list UI tips
-Type: Combo box with list values
-the "selected" column is the "description" of the research

in the editable display object, I traced the fields 'id' to use the predefined LOVs.

This works as expected in the user interface, I created with an ADF table can be updated.

However (here's the noob question), the "id" is displayed in the search on the table column. When I click the menu drop-down I can see the description, etc, but for a professional user when they look at the table, they see an unfriendly identification number.

How can I get the part of the LOV display to show the description, while remaining linked to the ID of the parent entity.

for example, it shows
Country             LOV1        LOV2     LOV3
United States     15           18           2
while I want to display:
Country             LOV1            LOV2       LOV3
United States     Washington  Seattle     Rain
If this has been answered several times or walk through there, sorry for the redundant question, I simply can't find a solution!

Hello

There are several ways to do this, you simply need an additional outputText next to the lov component field to display the value of the description.

If you search the forum or adf blocks, you'll find several implementations.

And here's one: http://andrejusb.blogspot.com/2010/06/lov-description-text-with-groovy.html

Gabriel.

Tags: Java

Similar Questions

  • Popup LOVs... where's the search value?

    Someone had a bit of luck to dig into the background of the popup LOVs?  Here's a question I'll try to find the answer to.  I have half of the answer, but not all.

    We have an external system that provides real-time data via webservices.  Our goal (and we did that day no problem) is to consume the XML response from webservice with PL/SQL and then turn us these data into pipeline of what looks/walks/talks like a table or view using functions.  The point here is to make these data available to Apex for various things, including the popup LOVs built on the pipeline functions.

    The challenge is that some Web services provide a large amount of data (for example, a list of parties, who at this moment in our dev environment is only about 16 K records, but as we move forward, we know that these data grow to be a good lines 118K or more).  Already at just 16K records, it takes a good 30 seconds for questioning.

    Popup LOVs of apex seem to be based on the model that they perform an implicit request by all reviews and then apply the filter on the value of research (if there is a value entered).  It is very good for LOVs against standard tables and views, but on larger volumes of data to a function in the pipeline against a data source that is out of our control... not very good.

    We made a functional decision on some LOVs (such as a list of 118 K coins) that any user in their right mind really never would come into such LOV and simply browse through the records.  They would already have an idea of a reference number or description of the part they would search by.  Our strategy was so to the LOV follow these steps:

    1 return at any line if the user did enter no search criteria.

    2 manipulate the LOV dynamically if the user did enter search criteria such as the result is * pre set * filtered first through the webservice (it accepts input parameters).  This greatly improves performance and so far we have work * for Apex regular page elements * but not for tabular forms (which is where my question arises.

    Here is an example of such a definition LOV:

    RETURN ext_parts_util.get_parts_lov_sql (p_search_val = > apex_application.g_x02);

    By trial and error, we have found that when the user is in the popup LOV and enters data in the search field and click the "Search for", the value they use to search land behind the scenes on the server in apex_application.g_x02.

    Thus, within this service, we return a SQL string that looks like one of two things:

    1. If apex_application.g_x02 is null, we return to this (a dummy SQL statement that returns no rows):

    Select "," Ruy where double 1 = 2.

    2. else (there is a search value), we call our webservice in pipeline function and pass it apex_application.g_x02:

    Select part_number d, part_number table r (my_package.my_function (p_part = > '%' | apex_application.g_x02 |)) '%'))

    The pipeline works calls the Web service and passes the value of searching with wildcard characters of apex_application.g_x02 and the Web service itself filters the data down, ahead.  This improves performance greatly for us.

    Now, here's the problem and the real question... above fantastic work for Apex points page.  But for a popup LOV in tabular form, it's a no-go.  In a tabular presentation, the popup LOV apparently differs significantly.  The search does not value land in apex_application.g_x02 in this case, and we not were able to know where it ends.  Popup LOVs in tabular forms also lack other declarative features (Don't they always with tabular forms, which appear to be three releases behind the common page elements?)  GRRRR...) popup LOVs such as what makes them not get the first set of rows, etc then we can even use it to help discourage a wide open query.

    Has anyone found where the search for value in a popup LOV in a sub form of table for the back-end that happens? Bottom line, this is what we are looking for so we can define these SQL LOV to refer to everything that is instead of apex_application.g_x02.

    He got after all.  I got to work with a DBA who could clear the SQL area and then watch as I performed a search in the LOV.  Example:

    SQLT AND EXECUTIONS

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

    Select 1 37.371843 / * generated * / D, R) (select

    PART_NUMBER | ' -- ' || part_description d,

    PART_NUMBER fofes_ext_parts_v r)

    wwvlovinlineviewname where upper (D) as

    '%'|| Upper(:WWV_LOV_RETURN_KEY_UTIL_1111) | » %'

    It seems that the value in the search LOV popup on a tabular presentation of the land into a link called "WWV_LOV_RETURN_KEY_UTIL_1111" variable

  • My requirement is, if we click on the POP UP LOV element so I want the dependent value of this item in column of the text element in a table.

    My requirement is

    If we click on the POP UP dot LOV button then I want the dependent value of this item in column of the text element in a table.

    How do I get this as a table?

    Hi Dan,.

    I have a table, in the first column is popup LOV.and second column key is text element.

    So my question is if we click contextual key lov and select employee name, then I want to show the email address of this employee in the second column of tabular presentation.

    This can be done with AJAX. Write a JavaScript function on the onchange event of popup LOV item (Employee) key and pass the number of the employee selected to your AJAX call, go get the employee email and assign it to your entry corresponding to the key LOV popup text has changed.

    As your dealing with Form (Wizard Based/APEX_ITEM Based-not specified) in a table, you take insofar as each column is the table of elements mapped to APEX_APPLICATION input. G_FXX tables and therefore to write JavaScript to locate the item to update.

    I hope this helps!

    Kind regards

    Kiran

  • AF:table with the search query present bindvariable name in the filter text field

    I created a simple display with a criterion of the view object. The criteriy defines a group with 4 criteria. Each element of the criteria has a STARTSWITH operator and compare a column to a binding parameter. The binding variable is marked as optional.
    Then I move the data control named on my page and selected criteria "Read - Only ADF filtered table"

    When the page is displayed to the user, I had the table containing the search field in the header.
    Unfortunately, the entry to the filter of the table fields are not empty, but containing the name of the connection variable.

    text in a filter for GebeCode: VarGebeCode *.
    text in a filter for NiedCode: VarNiedCode *.
    ...

    When the user just wants to filter on a property, for example GebeCode, the user must
    (1) type in the GebeCode
    (2) delete the input for other filter box filter: NiedCode,...
    Step 2 is heavy, but if the user does not specify an empty text in the filter, no lines are selected in the query.

    1 question
    How can I get the boxes of entry filter empty the first time the page is loaded?

    2 question
    As see you in the criteria listed below, I put the box "Ignoe box" (-> UpperColumns = '1') to make my case insensitive search.
    How ever, it does not work: it is always case sensitive.

    How can I get the framework to do things?


    It is the resuling query where clause:
     ( ( ( UPPER(MITA_NAME_VORNAME_CODE) LIKE UPPER( :VarMitaNameVornameCode || '%')  )  OR  ( :VarMitaNameVornameCode IS NULL ) ) 
    AND ( ( UPPER(MITA_CODE) LIKE UPPER( :VarMitaCode || '%')  )  OR  ( :VarMitaCode IS NULL ) ) 
    AND ( ( UPPER(GEBE_CODE) LIKE UPPER( :VarGebeCode || '%')  )  OR  ( :VarGebeCode IS NULL ) ) 
    AND ( ( UPPER(NIED_CODE) LIKE UPPER( :VarNiedCode || '%')  )  OR  ( :VarNiedCode IS NULL ) ) ) 
    Code MitarbeiterViewRVOCriteria
      <ViewCriteria
        Name="MitarbeiterViewRVOCriteria"
        ViewObjectName="model.mitarbeiterDetails.view.MitarbeiterViewRVO"
        Conjunction="AND">
        <Properties>
          <CustomProperties>
            <Property
              Name="displayOperators"
              Value="InAdvancedMode"/>
            <Property
              Name="autoExecute"
              Value="false"/>
            <Property
              Name="allowConjunctionOverride"
              Value="true"/>
            <Property
              Name="showInList"
              Value="true"/>
            <Property
              Name="mode"
              Value="Basic"/>
          </CustomProperties>
        </Properties>
        <ViewCriteriaRow
          Name="vcrow12"
          UpperColumns="1">
          <ViewCriteriaItem
            Name="MitaNameVornameCode"
            ViewAttribute="MitaNameVornameCode"
            Operator="STARTSWITH"
            Conjunction="AND"
            Value=":VarMitaNameVornameCode"
            IsBindVarValue="true"
            Required="Optional"
            UpperColumns="1"/>
          <ViewCriteriaItem
            Name="MitarbeiterViewRVOCriteria_vcrow12_MitaCode"
            ViewAttribute="MitaCode"
            Operator="STARTSWITH"
            Conjunction="AND"
            Value=":VarMitaCode"
            IsBindVarValue="true"
            Required="Optional"
            UpperColumns="1"/>
          <ViewCriteriaItem
            Name="MitarbeiterViewRVOCriteria_vcrow12_GebeCode"
            ViewAttribute="GebeCode"
            Operator="STARTSWITH"
            Conjunction="AND"
            Value=":VarGebeCode"
            IsBindVarValue="true"
            Required="Optional"
            UpperColumns="1"/>
          <ViewCriteriaItem
            Name="NiedCode"
            ViewAttribute="NiedCode"
            Operator="STARTSWITH"
            Conjunction="AND"
            Value=":VarNiedCode"
            IsBindVarValue="true"
            Required="Optional"
            UpperColumns="1"/>
        </ViewCriteriaRow>
      </ViewCriteria>
    Edited by: Stefan1979 the 06.11.2009 20:45

    Hello

    the case sensitive search is controlled by the 'filterFeatures' on the af: column. Due to a bug that is fixed in the next Patch set 1 of JDeveloper 11 g R1, that the search is always case-sensitive.

    Frank

  • How the identity if one table used only by synonyms and not by any other subprogrammes in a schema?

    Hi people

    How the identity if one table used only by synonyms and not by any other subprogrammes within a schema. I see in the TOAD describe objects tab used by, but I would like to identify hundreds of table so I would like to know if there would be any SQL or Meta Data Tables?

    How the identity if one table used only by synonyms and not by any other subprogrammes within a schema. I see in the TOAD describe objects tab used by, but I would like to identify hundreds of table so I would like to know if there would be any SQL or Meta Data Tables?

    The ALL_DEPENDENCIES view has hierarchical information based on object_id

    The view object has the object_type.

    Create a hierarchical query on the first view and attach it to the second view.

    Or you can use the utldtree.sql file in the installation of the DB admin folder. Comments initially show you how a hierarchical query based on the object type.

  • Field 'blogCategoryid' is not a default value

    Add new category names displayed the following error message.  Also, it is not allow me to edit the names at all.  Please help solve this problem.  Thank you.

    Field 'blogCategoryid' is not a default value

    Root cause: java.sql.SQLException: field 'blogCategoryid' is not a default value

    The error occurred in egory.cfm C:/ColdFusion11/cfusion/wwwroot/learncfinaweek/chapter1solution/admin/content/blog/editcat: line 33

    <cfset ormFlush() />

    editCategories.cfm:

    "< cfimport taglib ="... /... "/ customTags" prefix = "ct" / >

    < ct:securityCheck redirectPage = "#cgi.script_name #" / >

    < name = "cfparam url.id" default = "0" / > "

    < name = "cfparam form.submitted" default = "0" / > "

    < name = "form.id cfparam" default = "0" / > "

    "< name =" form.name cfparam"default =" "/ >

    "< name =" cfparam form.categories"default =" "/ >

    < cfset errorBean = createObject('learncfinaweek.chapter1solution.admin.cfc.errorBean').init () / >

    < cfif form.submitted >

    <!-check if the data is valid-->

    < cfif! errorBean.hasErrors () >

    < val (form.id) cfif >

    <! - edit entity - >

    < cfset blogCategory = EntityLoad ('BlogCategory', form.id, true) / >

    < cfset blogCategory.name = form.name / >

    < cfelse >

    <!--create the entity - >

    < cfset blogCategory = EntityNew ('BlogCategory') / >

    < cfset blogCategory.name = form.name / >

    < / cfif >

    < cfset entitySave (BlogCategory) / >

    < cfset ormFlush() / >

    < cflocation url = "listcategory.cfm? message = #urlencodedformat ('Blog Category Saved')" # "addtoken ="false"/ >"

    < / cfif >

    < / cfif >

    < val (url.id) cfif >

    <! – get entity data - >

    < cfset blogCategory = EntityLoad ('BlogCategory', url.id, true) / >

    < cfset form.name = blogCategory.name / >

    < / cfif >

    < cfoutput >

    < ct:layout section = 'blog' >

    < section = 'blog' active 'post' = ct:navigation / >

    < div class = "span10" >

    < val (url.id) cfif >

    Category change < h2 > < / h2 >

    < cfelse >

    Add a category < h2 > < / h2 >

    < / cfif >

    < errorBean.hasErrors (cfif) >

    < div class = "alert error alert" >

    Error < strong > < / strong > < br / >

    The following errors occurred:

    < ul >

    < cfloop array = "#errorBean.getErrors () ' # ' index 'error' = >"

    #error.message # < /li > < li >

    < / cfloop >

    < /ul >

    < / div >

    < / cfif >

    < form class = "form-horizontal" action = "" #cgi.script_name # "method ="post">"

    < div class = "control group" >

    < class label = "label control" for = "title" > name < / label >

    < div class = "orders" >

    < input type = "text" id = 'name', name = 'name' value = "#form.name #" >

    < / div >

    < / div >

    < div class = "control group" >

    < div class = "orders" >

    < button type = 'submit' class = 'btn, btn-primary' > save < / button >

    < / div >

    < / div >

    < input type = "hidden" name = "subject" value = "1" / >

    < input type = "hidden" name = "id" value = "" #url.id # "/ >"

    < / make >

    < / div >

    < / ct:layout >

    < / cfoutput >

    blogPost.cfc page:

    persistent component = {'true'

    The property name = the column 'id' = 'blogpostid"fieldtype = generator of 'id' ="increment ";

    Name of the property = "title" ormtype = "text";

    Name of the property = "Summary" ormtype = "text";

    Name of the property = 'body' ormtype = 'text ';

    Name of the property = "dateposted" ormtype = "timestamp";

    Name of the property = "createdDateTime" ormtype = "timestamp";

    Name of the property = "modifiedDateTime" ormtype = "timestamp";

    Name of the property = "deleted" ormtype = "boolean";

    Property = "comments" singularname = "comment" fieldtype = name "one-to-many" cfc = "how" fkcolumn = "blogpostid" cascade = "all";

    Fieldtype 'categories' = property name = "one-to-many" cfc = "blogPostCategory" fkcolumn = "blogPostid;

    public string function getCategoryIDs() {}

    var categoryList = ";

    If {(hasCategories())

    for (var categoryPost in getCategories()) {}

    categoryList = listAppend (categoryList, categoryPost.blogCategory.id);

    }

    }

    CategoryList return;

    }

    public string function getCategoryNames() {}

    var categoryList = ";

    {if (hasCategories ())}

    for (var categoryPost in {getCategories())}

    categoryList = listAppend (categoryList, categoryPost.blogCategory.name, ',');

    }

    }

    CategoryList return;

    }

    }

    editBlogPost.cfm page:

    "< cfimport taglib ="... /... "/ customTags" prefix = "ct" / >

    < ct:securityCheck redirectPage = "#cgi.script_name #" / >

    < name = "cfparam url.id" default = "0" / > "

    < name = "cfparam form.submitted" default = "0" / > "

    < name = "form.id cfparam" default = "0" / > "

    "< name =" form.title cfparam"default =" "/ >

    "< name =" cfparam form.summary"default =" "/ >

    "< name =" cfparam form.body"default =" "/ >

    "< name =" cfparam form.datePosted"default =" "/ >

    "< name =" cfparam form.categories"default =" "/ >

    < cfset errorBean = createObject('learncfinaweek.chapter1solution.admin.cfc.errorBean').init () / >

    < cfif form.submitted >

    <!-check if the data is valid-->

    < cfif! Len (trim (form.title)) >

    < errorBean.addError cfset ("title is required", "title") / >

    < / cfif >

    < cfif! Len (trim (form.summary)) >

    < errorBean.addError cfset ("a summary is required", 'startDate') / >

    < / cfif >

    < cfif! Len (trim (form.body)) >

    < cfset errorBean.addError ("You must provide a body", "details") / >

    < / cfif >

    < cfif! Len (trim (form.datePosted)) >

    < cfset errorBean.addError ("You must provide a release date", "details") / >

    < / cfif >

    <! - only treat if there is not error - >

    < cfif! errorBean.hasErrors () >

    < val (form.id) cfif >

    <! - edit entity - >

    < cfset blogPost = EntityLoad ('BlogPost', form.id, true) / >

    < cfset blogPost.title = form.title / >

    < cfset blogPost.summary = form.summary / >

    < cfset blogPost.body = form.body / >

    < cfset blogPost.dateposted = form.dateposted / >

    < cfset blogPost.modifiedDateTime = now() / >

    < cfloop array = "#blogPost.getCategories () ' # ' index 'category' = >"

    < cfset entityDelete (category) / >

    < / cfloop >

    < cfelse >

    <!--create the entity - >

    < cfset blogPost = EntityNew ('BlogPost') / >

    < cfset blogPost.title = form.title / >

    < cfset blogPost.summary = form.summary / >

    < cfset blogPost.body = form.body / >

    < cfset blogPost.dateposted = form.dateposted / >

    < cfset blogPost.createdDateTime = now() / >

    < / cfif >

    < cfset entitySave (BlogPost) / >

    < cfloop list = "" #form.categories # "index ="categoryID">"

    <! - add entity category - >

    < cfset blogPostCategory = EntityNew ('blogPostCategory') / >

    < cfset blogCategory = EntityLoad ('blogCategory', categoryID, true) / >

    < cfset blogPostCategory.blogCategory = blogCategory / >

    < cfset blogPostcategory.blogpost = blogpost / >

    < cfset entitySave (blogPostCategory) / >

    < / cfloop >

    < cfset ormFlush() / >

    < cflocation url = "listblogpost.cfm? message = #urlencodedformat ('Blog Post Saved')" # "addtoken ="false"/ >"

    < / cfif >

    < / cfif >

    < val (url.id) cfif >

    <! – get entity data - >

    < cfset blogPost = EntityLoad ('BlogPost', url.id, true) / >

    < cfset form.id = blogPost.id / >

    < cfset form.title = blogPost.title / >

    < cfset form.summary = blogPost.summary / >

    < cfset form.body = blogPost.body / >

    < cfset form.dateposted = blogPost.dateposted / >

    < cfset form.categories = blogPost.categoryids / >

    <!-< cfset form.categories = blogPost.categoryNames / >->

    < / cfif >

    < cfset categories = entityLoad ('BlogCategory') / >

    < cfoutput >

    < ct:layout section = 'blog' >

    < section = 'blog' active 'post' = ct:navigation / >

    < div class = "span10" >

    < val (url.id) cfif >

    Blog post to change < h2 > < / h2 >

    < cfelse >

    Blog post add < h2 > < / h2 >

    < / cfif >

    < errorBean.hasErrors (cfif) >

    < div class = "alert error alert" >

    Error < strong > < / strong > < br / >

    The following errors occurred:

    < ul >

    < cfloop array = "#errorBean.getErrors () ' # ' index 'error' = >"

    #error.message # < /li > < li >

    < / cfloop >

    < /ul >

    < / div >

    < / cfif >

    < form class = "form-horizontal" action = "" #cgi.script_name # "method ="post">"

    < div class = "control group" >

    < class label = 'label control' for 'title' = > title < / label >

    < div class = "orders" >

    < input type = "text" id = "title" name = "title" value = "#form.title #" >

    < / div >

    < / div >

    < div class = "control group" >

    < class label = "label control" for = "title" > summary < / label >

    < div class = "orders" >

    < textarea rows = "6" id = "Summary" name = "Summary" class = 'entry-xlarge' > #form.summary # < / textarea >

    < / div >

    < / div >

    < div class = "control group" >

    < class label = "label control" for = "title" > body < / label >

    < div class = "orders" >

    < textarea rows = "3" id = "body" name = 'body' class = "wysiwyg" > #form.body # < / textarea >

    < / div >

    < / div >

    < div class = "control group" >

    < class label = 'label control' for 'details' = > publish Date < / label >

    < div class = "orders" >

    (< input type = "text" id = "datePosted" name = "datePosted" class = 'datepicker' value="#dateFormat(form.datePosted,'mm/dd/yyyy') #" > "

    < / div >

    < / div >

    < div class = "control group" >

    < class label = 'label control' for 'details' = > categories < / label >

    < div class = "orders" >

    < class label = "checkbox" >

    < cfloop array index = "" # categories # "'category' = >"

    < input type = "checkbox" name = "Catégories" value = "" #category.id # "checked < cfif listfind (form.categories, category.id) > < / cfif > > #category.name # < br / >"

    < / cfloop >

    < / label >

    < / div >

    < / div >

    < div class = "control group" >

    < div class = "orders" >

    < button type = 'submit' class = 'btn, btn-primary' > save < / button >

    < / div >

    < / div >

    < input type = "hidden" name = "subject" value = "1" / >

    < input type = "hidden" name = "id" value = "" #url.id # "/ >"

    < / make >

    < / div >

    < / ct:layout >

    < / cfoutput >

    I got it to work.  This is the DB.  MySQL Workbench open and highlight and right click on all the tables.  The choice of DROP.  Then to repopulate the tables to learncfinaweek, run the import_mysql script, which is available online.  The site works fine now.  Thank you Jesus.

  • ADF: Useless refresh of the main table in the master page layout / detail

    Hello

    I have a master page layout / detail (main table, long form). Whenever I change the focus of one main line to another (for example from the first to the second row), updating of the main table together. The 'new' line has already been read before it gets focus, in order to make a refresh seems completely unnecessary. Is it possible to change this behavior?

    Kind regards

    Andreas

    Hello

    Check in pageDef for entry ChangeEventPolicy = 'ppr' for your iterator entries... If so just remove it...

    Kind regards
    Suganth.G

  • The doc for the function of the subset of the table shows the extensible function

    In LabView 2010 the doc for the function of the subset of the table shows that the function is expandable with indexes and multiple lengths. I can't expand the function for multiple indexes. How can I do this?

    Is the documentation for the function by mistake, or is there another function of a subset of the table somewhere that can do this?

    Subset of table details

    When wire you an array to the function, the function is automatically resized to display entries index for each dimension of the array. If wire you a table 1 d to the function, the function displays the index for an item entries. If wire you a 2D to function, the function table displays the entries index for a line and column, respectively. If wire you a 3D through the nD to the function, the function displays the index for a page entries.

  • in LOV query to get the Responsibility_id using profile... but when I switch to another responsibility always the LOV shows the previous values of RESP.

    Hello

    I have the choice of Message box, in which I'll show the inventory list organizations are assigned to responsibility. I just the following query in the query of LOV...

    Select hou.NAME separate organization_name, mp.organization_id

    of mtl_parameters mp

    , hr_organization_units hou

    oa org_access

    where mp.organization_id = hou .organization_id

    and hou.organization_id = oa.organization_id

    and oa.responsibility_id = fnd_profile.value ('RESP_ID')

    organization_id asc order

    But first let's say after the OA Core bounce if I open a responsibility which is to have access to 5 associations of the inventory, and then in the message of choice is showing correctly... But when I go to another responsibility that is to have access to a single inventory, always the choice of Message body shows the previous inventory 5 Orgs who is to have access to the prior responsibility.

    Pointers on this?

    Thank you
    Clarriiza

    Use choiceBean.setPickListCacheEnabled (false) to PR.

    See you soon

    AJ

  • performance of the queries on the main tables of the materialized view vs

    Hello

    I'm afraid of strange behavior in db, on my paintings of master UDBMOVEMENT_ORIG (26mil.rows) and UDBIDENTDATA_ORIG (18mil.rows) is created the materialized view TMP_MS_UDB_MV (UDBMOVEMENT stands for this object) that meets certain default conditions and the join on these paintings of master condition. MV got on the lines of 12milions. I created MV for poll not so huge objects, MV got 3GB, paintings of master toghether 12 GB. But I don't understand that physical reads and becomes compatible is less on MV that on the main tables, the final execution time is shorter on the master tables. See my journal below.

    Why?

    Thanks for the replies.


    SQL > set echo on
    SQL > @flush
    SQL > alter system flush buffer_cache;

    Modified system.

    Elapsed time: 00:00:00.20
    SQL > alter system flush shared_pool;

    Modified system.

    Elapsed time: 00:00:00.65
    SQL > SELECT
    UDBMovement.zIdDevice 2, UDBMovement.sDevice, UDBMovement.zIdLocal, UDBMovement.sComputer, UDBMovement.tActionTime, UDBIdentData.sCardSubType, UDBIdentData.sCardType, UDBMovement.cEpan, UDBMovement.cText, UDBMovement.lArtRef, UDBMovement.sArtClassRef, UDBMovement.lSequenz, UDBMovement.sTransMark, UDBMovement.lBlock, UDBMovement.sTransType, UDBMovement.lGlobalID, UDBMovement.sFacility, UDBIdentData.sCardClass, UDBMovement.lSingleAmount, UDBMovement.sVAT, UDBMovement.lVATTot, UDBIdentData.tTarifTimeStart, UDBIdentData.tTarifTimeEnd, UDBIdentData.cLicensePlate, UDBIdentData.lMoneyValue, UDBIdentData.lPointValue, UDBIdentData.lTimeValue, UDBIdentData.tProdTime, UDBIdentData.tExpireDate
    UDBMOVEMENT_orig UDBMovement 3, Udbidentdata_orig UDBIdentData
    4. WHERE
    5 UDBMovement.lGlobalId = UDBIdentData.lGlobalRef (+) AND UDBMovement.sComputer = UDBIdentData.sComputer (+)
    6 AND UDBMovement.sTransType > 0 AND UDBMovement.sDevice < 1000 AND UDBMovement.sDevice > = 0 AND UDBIdentData.sCardType IN (2) AND (bitand(UDBMovement.sSaleFlag,1) = 0 AND bitand(UDBMovement.sSaleFlag,4) = 0) AND UDBMovement.sArtClassRef < 100
    7 AND UDBMovement.tActionTime > = TO_DATE (May 5, 2011 00:00:00 ',' dd/mm/yyyy hh24:mi:ss') + 0.25 AND UDBMovement.tActionTime < TO_DATE (May 5, 2011 00:00:00 ',' dd/mm/yyyy hh24:mi:ss') + 0.5
    8 ORDER BY tActionTime, lBlock, lSequenz;

    4947 selected lines.

    Elapsed time: 00:00:15.84

    Execution plan
    ----------------------------------------------------------
    Hash value of plan: 1768406139

    ------------------------------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | TempSpc | Cost (% CPU). Time |
    ------------------------------------------------------------------------------------------------------------
    | 0 | SELECT STATEMENT | 7166 | 1238K | 20670 (1) | 00:04:09 |
    | 1. SORT ORDER BY | 7166 | 1238K | 1480K | 20670 (1) | 00:04:09 |
    | 2. NESTED LOOPS |
    | 3. NESTED LOOPS | 7166 | 1238K | 20388 (1) | 00:04:05 |
    |* 4 | TABLE ACCESS BY INDEX ROWID | UDBMOVEMENT_ORIG | 7142 | 809K | 7056 (1) | 00:01:25 |
    |* 5 | INDEX RANGE SCAN | IDX_UDBMOVARTICLE | 10709. 61 (0) | 00:00:01 |
    |* 6 | INDEX UNIQUE SCAN | UDBIDENTDATA_PRIM | 1 | | | 1 (0) | 00:00:01 |
    |* 7 | TABLE ACCESS BY INDEX ROWID | UDBIDENTDATA_ORIG | 1. 61. 2 (0) | 00:00:01 |
    ------------------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    4 - filter("UDBMOVEMENT".") STRANSTYPE"> 0 AND 'UDBMOVEMENT '. "" SDEVICE ' < 1000 AND
    BITAND ("SSALEFLAG", 1) = 0 AND "UDBMOVEMENT". "" SDEVICE ' > = 0 AND BITAND ("UDBMOVEMENT". "SSALEFLAG «(, 4) = 0)" "
    5 - access("UDBMOVEMENT".") TACTIONTIME' > = TO_DATE (' 2011-05-05 06:00 ',' syyyy-mm-jj)
    ('HH24:mi:SS) AND "UDBMOVEMENT". "' TACTIONTIME ', TO_DATE (' 2011-05-05 12:00 ',' syyyy-mm-jj)
    ('HH24:mi:SS) AND "UDBMOVEMENT". ("' SARTCLASSREF" < 100)
    filter ("UDBMOVEMENT". "SARTCLASSREF" < 100)
    6 - access("UDBMOVEMENT".") LGLOBALID "=" UDBIDENTDATA. " "" LGLOBALREF "AND
    'UDBMOVEMENT '. "' SCOMPUTER"="UDBIDENTDATA." ("' SCOMPUTER")
    7 - filter("UDBIDENTDATA".") SCARDTYPE "= 2)


    Statistics
    ----------------------------------------------------------
    543 recursive calls
    0 db block Gets
    84383 compatible Gets
    4485 physical reads
    0 redo size
    533990 bytes sent via SQL * Net to client
    3953 bytes received via SQL * Net from client
    331 SQL * Net back and forth to and from the client
    kinds of 86 (memory)
    0 sorts (disk)
    4947 lines processed

    SQL > @flush
    SQL > alter system flush buffer_cache;

    Modified system.

    Elapsed time: 00:00:00.12
    SQL > alter system flush shared_pool;

    Modified system.

    Elapsed time: 00:00:00.74
    SQL > SELECT UDBMovement.zIdDevice, UDBMovement.sDevice, UDBMovement.zIdLocal, UDBMovement.sComputer, UDBMovement.tActionTime, UDBMovement.sCardSubType, UDBMovement.sCardType, UDBMovement.cEpan, UDBMovement.cText, UDBMovement.lArtRef, UDBMovement.sArtClassRef, UDBMovement.lSequenz, UDBMovement.sTransMark, UDBMovement.lBlock, UDBMovement.sTransType, UDBMovement.lGlobalID, UDBMovement.sFacility, UDBMovement.sCardClass, UDBMovement.lSingleAmount, UDBMovement.sVAT, UDBMovement.lVATTot, UDBMovement.tTarifTimeStart, UDBMovement.tTarifTimeEnd, UDBMovement.cLicensePlate, UDBMovement.lMoneyValue, UDBMovement.lPointValue, UDBMovement.lTimeValue, UDBMovement.tProdTime
    2. OF UDBMOVEMENT WHERE
    3 UDBMovement.sTransType > 0 AND UDBMovement.sDevice < 1000 AND UDBMovement.sDevice > = 0 AND UDBMovement.sCardType IN (2) AND (bitand(UDBMovement.sSaleFlag,1) = 0 AND bitand(UDBMovement.sSaleFlag,4) = 0) AND UDBMovement.sArtClassRef < 100
    4. AND UDBMovement.tActionTime > = TO_DATE (May 5, 2011 00:00:00 ',' the hh24: mi: ss' dd/mm/yyyy) + 0.25
    5 AND UDBMovement.tActionTime < TO_DATE (May 5, 2011 00:00:00 ',' the hh24: mi: ss' dd/mm/yyyy) + 0.5 ORDER BY tActionTime, lBlock, lSequenz;

    4947 selected lines.

    Elapsed time: 00:00:26.46

    Execution plan
    ----------------------------------------------------------
    Hash value of plan: 3648898312

    -----------------------------------------------------------------------------------------------------------
    | ID | Operation | Name | Lines | Bytes | Cost (% CPU). Time |
    -----------------------------------------------------------------------------------------------------------
    | 0 | SELECT STATEMENT | 2720 | 443K | 2812 (1) | 00:00:34 |
    | 1. SORT ORDER BY | 2720 | 443K | 2812 (1) | 00:00:34 |
    |* 2 | MAT_VIEW ACCESS BY INDEX ROWID | TMP_MS_UDB_MV | 2720 | 443K | 2811 (1) | 00:00:34 |
    |* 3 | INDEX RANGE SCAN | EEETMP_MS_ACTTIMEDEVICE | 2732 | 89 (0) | 00:00:02 |
    -----------------------------------------------------------------------------------------------------------

    Information of predicates (identified by the operation identity card):
    ---------------------------------------------------

    2 - filter("UDBMOVEMENT".") STRANSTYPE"> 0 AND BITAND ("UDBMOVEMENT". "SSALEFLAG «(, 4) = 0 AND" "
    BITAND ("SSALEFLAG", 1) = 0 AND "UDBMOVEMENT". ("' SARTCLASSREF" < 100)
    3 - access("UDBMOVEMENT".") TACTIONTIME' > = TO_DATE (' 2011-05-05 06:00 ',' syyyy-mm-jj)
    ('HH24:mi:SS) AND "UDBMOVEMENT". "" SDEVICE ' > = 0 AND "UDBMOVEMENT". ' SCARDTYPE ' = 2 AND ".
    'UDBMOVEMENT '. "" TACTIONTIME "< TO_DATE(' 2011-05-05 12:00:00', 'syyyy-mm-dd hh24:mi:ss') AND
    'UDBMOVEMENT '. ("' SDEVICE ' < 1000)
    filter ("UDBMOVEMENT". "SCARDTYPE"= 2 AND "UDBMOVEMENT"." SDEVICE' < 1000 AND
    'UDBMOVEMENT '. ("' SDEVICE ' > = 0)


    Statistics
    ----------------------------------------------------------
    449 recursive calls
    0 db block Gets
    6090 gets coherent
    2837 physical reads
    0 redo size
    531987 bytes sent via SQL * Net to client
    3953 bytes received via SQL * Net from client
    331 SQL * Net back and forth to and from the client
    168 sorts (memory)
    0 sorts (disk)
    4947 lines processed

    SQL > spool off

    Published by: MattSk on February 4, 2013 14:20

    >
    The second query makes a full table of materialized view scan.
    >
    What you base that statement on?

    I do not see any table full scan in terms of the second query. All I see is
    >
    * 2 MAT_VIEW ACCESS BY INDEX ROWID TMP_MS_UDB_MV 2720 443K 2811 (1) 00:00:34

  • Table shows the value of another class

    I'm in the midts of this app, and it seems that when I pass in an array in a class and try to place the same object in a different context on the stage. He recalls the settings in this GPO to the previous class, even though I assign as a new instance. Talk magazine

    the table looks like this

    _meta:array = {category: loader_object};

    My document class

    _firstview = new FirstView();

    _firstview. Object = _meta [0] .category; It is placed by an access modifier

    _secondview = new SecondView();

    _secondview. Object = _meta [0] .category;

    Class FirstView()

    addChild (_object);

    Class SecondView()

    addChild (_object);

    The object from the first screen disappears now and that it appears on the second screen, but it should appear on both screens

    I tried to copy the table and the object, the instantiated to new charger, but it is still giving me the same results

    No explanation why there is this glich, how can an object that is not copied correctly, if they are stored in private within the class variables

    I tried:

    _meta. Concat();

    _copyArray = _meta;

    Any ideas would help

    I agree with kglad...  Your image loader problem is due to the same misunderstandings about object oriented programming that caused the problem in your original post.

    When you instantiate a variable in AS3 (or any other oopl) you are really creating a reference or pointer to an object that is created by using the keyword 'new '.

    for example, when you say:

    public var myVar: ObjectType = new ObjectType();

    try to think of two things happening.  1. you create a new instanmce object and 2 - you create a pointer to that object.  myVar is not the object, it contains the address in memory that the new object is in. so, if at this point, you say:

    public var anotherVar: ObjectType = myVar;

    you assign the reference to the original object to anotherVar.  Each variable points to the same object, and any changes made to one will be the effect on the other.  It's when you use addChild with your two variables diff., makes the object to jump from one to the other.  Boths vars pointed at the same object, so you were effectivly call add a child on the same object twice, resulting in as3 to feature new and wonderful "reparenting".

    In your last post you use this code:

    _categoryImg = new Loader();

    _categoryImg = ImageLoader.getloader (_metaObject.category.imageLoader);

    and to say that "it shows the same container loader object.  It is ebcause first, you create a variable named _categoryImg and he point to a Loader object.  But then you change to point to the loader found in your imageLoaderobject.  I'm not sure exactly what you're trying to do, I don't suggest any code, butI think that you should look into the difference between a shallow copy and deep copy and maybe some of your frustrations will disappear.

  • What table shows the tablespace in read-only mode or read / write.

    Hi all

    Can someonoe help me find which table shows if a tablespace is read-write or read-only mode.

    Thank you
    Naveen

    DBA_TABLESPACES - STATUS column.

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14237/statviews_4157.htm#i1627812

  • Problem LOV... Turning the display value and no key-value

    Hello. Sorry for my bad English.

    I have a problem with LOV dynamic pop up.

    I have a simple form called nom_element and item_code containing the form A. users can create, update, and delete a new item using this form.
    Another form called form B has a field called item_code item_code is a dynamic field of LOV pop up and a request for this LOV is like that;

    Select nom_element d, r from item_master by item_code item_code;

    When I create the new record in the form B and LOV allows to find and get the item code, LOV works very well
    and he returns the key value in the field of item_code.
    But when I try to update the record (I have a link to the page of the form B), item_code field value is not the key-value of LOV, but is a
    Display value of LOV.

    Any ideas?

    Thank you.

    Hello:

    If you want to display the key value, and then create a new field that can be a test field or a tabled text (display only) and assign the value of the column of the reporrt link or just the column as it appeas in the database.

    If you use the form at the same time create and view, you might want to do this new field, but also your LOV field as conditional.

    Bruce

  • "missing the SELECT keyword" error during an insert into the temporary table using the blob value

    I'm trying to insert into an oracle temp table using select that retrieves data from a blob field but I get the error: "lack the SELECT keyword.

    How we store temporary in oracle result when we make this type of operation (extraction of data in fields and try to load them into a separate table on the fly.?)

    with cte as)

    Select user_id, utl_raw.cast_to_varchar2 (dbms_lob.substr (PREFERENCES)) as USER my_blob

    )

    create table new_table as

    SELECT user_id,EXTRACTvalue(xmltype(e.my_blob),'/preferences/locale') regional settings

    E ETC

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

    BLOB data - value - which is

    <? XML version = "1.0" encoding = "ISO-8859-1" ?>

    - < Preferences >

    < time zone > America/New_York < / > zone

    < displayscheduleinusertimezone > Y < / displayscheduleinusertimezone >

    < local > Spanish < /locale >

    < DateFormat > JJ/mm/aaaa < / DateFormat >

    < timeFormat > hh: mm aaa < / timeFormat >

    < longformat > Long_01 < / longformat >

    < doubleformat > Double_01 < / doubleformat >

    < percentformat > Percentage_01 < / percentformat >

    < currencyformat > Currency_01 < / currencyformat >

    < / Preferences >

    A WITH clause that must immediately precede the SELECT keyword:

    SQL > create table t:

    2 with the o as (select double dummy)

    3 select * West longitude;

    Table created.

  • report that shows the same values twice in 11g

    Hi am in report form of oracle 11g I have a report that lists 5 rows, the problem is the same elpse of data on the second page, how do I fix that the request is ok when I run with sql developer, it shows the record 5, the problem is when I run the report he show the same data in multiple pages



    for example


    Page 1


    employeeno employeeename

    Sharon 20000

    Peter 20001


    page 2


    employeeno employeeename

    Sharon 20000

    Peter 20001

    You have an extensible framework around your main frame? For example, when the requirement is to have 2 copies could have a fake request for an extensible framework around your main frame:

    Select 1 as a double

    Union of all the

    Select 2 double

Maybe you are looking for