How to outer join within a view link from (VO-VL-VO)

I've got a table that stores the values of pre-defined attributes.
I'd like to create an advancedTable region that shows all of the attributes with or without values, in my view object i have....
select attribute, value
from attributes, values
where attributes.attribute_id = values.attribute_id (+)
This is working, but a have another view object that is the master and this is the details.
How can I do an outer join on the view link from master to detail? A simple (+) in the where condition does not do the trick.
If I try anything fancy within the view link, I get a JBO-27122.
Thank you,
Jerry.

Understand the concept of VL. Vl is nothing but a link between two VOs, with one VO row column serve as binding column for another VO.If u understand this u go to VL wizard and make VL declaratively. If not, refer to dev guide to know about VL.
--Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to catch click event on a link from an applet

    how to catch click event on a link from an applet

    The applet has to call a mouse listener:
    public class Applet extends Applet
                   implements MouseListener, MouseMotionListener
    The mouse methods must be included, here is the one to catch a click
    public void mouseClicked(MouseEvent e)

  • How to display hourglass while ADF view link is retrieving rows.

    Hi All,
    I have an ADF panel which includes several interdependent ADF View Objects and View Links. The query of the top view object might return several rows, then once user navigates from 1st to second row and so on, the dependent (child) view links display corresponding data.
    Sometimes it might take 8 to 12 seconds for the corresponding data from child view links to be retrieved, during this time window the ADF Panel might appear to be frozen to the user.
    So my question is what do I have to do so the ADF Panel would display hourglass while it is retrieving the rows for the corresponding child view links. If I have to manually update the java generated by Jdev, then what java line and where would I introduce it?
    Your inputs are most appreciated.
    Thanks.

    from the component palatte drag n drop this component into your jsf page.
    more info:
    http://download.oracle.com/docs/cd/E15051_01/apirefs.1111/e12419/tagdoc/af_statusIndicator.html
    Using javascript you can change the mouse cursor to an hourglass. Try using clientListener within commandButton and use javascript.
    document.body.style.cursor = "wait";
    document.body.style.cursor = "default";
    Edited by: Puthanampatti on Jan 12, 2010 1:56 PM

  • Try this one again, outer join with inline views

    Posted this before and got no response from anyone. Can anyone advise ?
    does anyone have an example of inline views combined with outer joins in the same statement ? - am currently converting app from sqlserver to oracle and sqlserver view has many left outer joins in from the same table as well as part of the outer join conditions being a subquery e.g.
    select ...
    from a left outer join b left outer join c
    on a.col = b.col and
    c.col = a.col and
    a.othercol = ((select ..
    from d
    where ...)
    OR (select ...
    from e
    where ...))
    where ....
    sometimes they are just mutliple part left outer joins but as many as 10. I guess I have to convert these to inline views then outer join to that, but not 100% sure. There may be a better way ?
    null

    select ...
    from a,b,(select ...) dummyTable
    where a.col = b.col(+)
    AND a.col = dummyTable (+)
    AND b.col = c.col(+)
    AND ....

  • How to pass parameter when create view link

    Hi,
    I used R12 to implement OAF. I create a VO with paramenter such as SELECT item_code,parent_item_code,month_budget_id
    FROM cux_ce_month_budget_lines_t
    where month_budget_id=:1
    But when I create VL for this VO. It seems the parameter :1 can not be passed.
    Could some one to help lookinto this?
    Best Regards,
    Eileen

    You donot need to pass parameter while creating the View Link. Once the view link is created then you assign the bind parameter to the master VO and execute the View link. The Child VO would automatically be executed.

  • How to display hourglass while ADF view link is retrieving rows in a swing.

    I posted this yesterday but did not get a solution, here is my posting again:
    Hi All,
    I have an ADF panel which includes several interdependent ADF View Objects and View Links. The query of the top view object might return several rows, then once user navigates from 1st to second row and so on, the dependent (child) view links display corresponding data. This is a swing app and not a web or jsf app.
    Sometimes it might take 8 to 12 seconds for the corresponding data from child view links to be retrieved, during this time window the ADF Panel might appear to be frozen to the user.
    So my question is what do I have to do so the ADF Panel would display hourglass while it is retrieving the rows for the corresponding child view links. If I have to manually update the java generated by Jdev, then what java line and where would I introduce it?
    Your inputs are most appreciated.
    Thanks.

    Check af:progressIndicator , af:statusIndicator
    http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/progressIndicator.html
    http://download.oracle.com/docs/cd/E15051_01/apirefs.1111/e12419/tagdoc/af_statusIndicator.html

  • How to outer join indicator field?

    Hello,
    I have a table Users with the fields id and status.
    I have a table Domains with the fields type, id, text.
    I have mapped the class User to the table Users.
    I have mapped the class Domain to the table Domains (root descriptor).
    I have mapped the class UserStatus that extends Domain to the table Domains (child descriptor).
    I have set indicator value for the class UserStatus "USER_STATUS".
    Assume that I execute ReadAllQuery to fetch all users and I want to order them by status text, I write something like
    query.addOrdering(expressionBuilder.get("status").get("text").ascending());or
    query.addOrdering(expressionBuilder.getAllowingNull("status").get("text").ascending());The problem is that the user is not fetched if its status is null, because the SQL statement generated uses inner join to join indicator field with the value, that is, SQL contains ...type = ? ..., I would like (+) operator to appear in the statement so that it would be ... type (+) = ?.
    Do you know if there is a way to force TopLink to perform outer joins on indicator fields?

    Using getAllowingNull should do this using an outer join. If you are not seeing this, please include your full query code and the SQL generated and your database platform.

  • How to call a portal KM URL link from WAD template Link

    Hi All
    I  am trying to call a Portal KM URL Link from the web template using the link control.
    I cannot figure out whare and how to put the portal KM URL Link into the web application web link.
    Your help is greatly appreciated.
    Thanks
    Karen

    Add content administration role to the user.
    The the content administration tab would be visible to the user in the main menu tab.
    Then in content administration tab, configure the URL for KM URL tab or link.
    This would be done by EP experts. Please contact your EP experts to do.
    Hope this would help you.

  • Old outer join syntax produces different results from new syntax!

    I have inherited a query that uses the old outer join syntax but that is yielding correct results. When I translate it to the new outer join syntax, I get the results I expect, but they are not correct! And I don't understand why the old syntax produces the results it produces. Bottom line: I want the results I'm getting from the old syntax, but I need it in the new syntax (I'm putting it into Reporting Services, and RS automatically converts old syntax to new).
    Here's the query with the old outer join syntax that is working correctly:
    Code Snippet
    SELECT   TE = COUNT(DISTINCT T1.ID),
             UE = COUNT(DISTINCT T2.ID),
             PE = CONVERT(MONEY, COUNT(DISTINCT T2.ID)) / 
                  CONVERT(MONEY,COUNT(DISTINCT T1.ID))
    FROM     TABLE T1, TABLE T2
    WHERE    T1 *= T2
    In this query, much to my surprise, TE <> UE and PE <> 1. However, TE, UE, and PE seem to be accurate!
    Here's the query with the new outer join syntax that is working but not producing the results I need:
    Code Snippet
    SELECT   TE = COUNT(DISTINCT T1.ID),
             UE = COUNT(DISTINCT T2.ID),
             PE = CONVERT(MONEY, COUNT(DISTINCT T2.ID)) / 
                  CONVERT(MONEY,COUNT(DISTINCT T1.ID))
    FROM     TABLE T1 LEFT OUTER JOIN TABLE T2 ON T1.ID = T2.ID
    Though not producing the results I need, it is producing what would be expected: TE = UE and PE = 1.
    My questions:
    1) Can someone who is familiar enough with the old syntax please help me understand why TE <> UE and PE <> 1 in the first query?
    2) Can someone please tell me how to properly translate the first query to the new syntax so that it continues to produce the results in the first query?
    Thank you very much.

    How can we reproduce the issue?
    Code Snippet
    USE [master]
    GO
    EXEC sp_dbcmptlevel Northwind, 80
    GO
    USE [Northwind]
    GO
    SELECT
    TE
    = COUNT(DISTINCT T1.OrderID),
    UE = COUNT(DISTINCT T2.OrderID),
    PE = CONVERT(MONEY, COUNT(DISTINCT T2.OrderID)) /
    CONVERT(MONEY,COUNT(DISTINCT T1.OrderID))
    FROM
    dbo
    .Orders T1, dbo.Orders T2
    WHERE
    T1
    .OrderID *= T2.OrderID
    SELECT
    TE
    = COUNT(DISTINCT T1.OrderID),
    UE = COUNT(DISTINCT T2.OrderID),
    PE = CONVERT(MONEY, COUNT(DISTINCT T2.OrderID)) /
    CONVERT(MONEY,COUNT(DISTINCT T1.OrderID))
    FROM
    dbo
    .Orders T1
    LEFT OUTER JOIN
    dbo.Orders T2
    ON T1.OrderID = T2.OrderID
    GO
    EXEC sp_dbcmptlevel Northwind, 90
    GO
    Result:
    TE
    UE
    PE
    830
    830
    1.00
    TE
    UE
    PE
    830
    830
    1.00
    As you can see, I am getting same results.
    AMB

  • How to invalidate the Context of View B From View A?

    Hello,
    I have to Views, A And B.
    Is it possible to invalidate the Context of View B From View A? If yes, than how?

    Hi,
    YOu cant...
    I think krishna was trying to say "can't".. spelling mistake i guess !
    Thats the reason why u have a component controller common to all the views within a component

  • Outer join query for SQL server from Oracle

    Hi All,
    My question is regarding making queries from Oracle to SQL Server database thorugh DBLink.
    In my oracle database I have a DBLink emp.world for SQL Server database.
    I need to query SQL Server data from oracle (so that this query can be combined with other oracle tables).
    Query is given below:
    SELECT
            a."EmpID" as "Employee ID",
            a."EmpStatus" "Employee Status"
            b."EmpSub" as "Employee Subjects"
    FROM
            [email protected] a
            left outer join [email protected] b on a."EmpID" = b."suEmpID"
    ORDER BY  a."EmpID";My problem is when I run the same query from oracle, it does not show the EmpID that does not exist in Subjects table, but when run from actual SQL Server database, it shows all the records.
    Samples are given below:
    Run from Oracle
    Employee ID      Employee Status     Employee Subjects
    101                     Active                     Maths
    102                     Active                     Maths
    102                     Active                     Physics
    104                   Inactive                  Chemistry
    Run form SQL Server
    Employee ID      Employee Status     Employee Subjects
    101                     Active                     Maths
    102                     Active                     Maths
    102                     Active                     Physics
    103                 Active                       NULL
    104             Inactive            ChemistryI am not sure why in oracle outer join for SQL server tables is not working. What is the right way for outer join in this case.
    I am using oracle database 10gR2 and SQL Server 2005.
    Please Help.
    Thanks.

    SELECT
    a."EmpID" as "Employee ID",
    a."EmpStatus" "Employee Status"
    b."EmpSub" as "Employee Subjects"
    FROM
    [email protected] a
    left outer join [email protected] b on a."EmpID" = b."suEmpID"
    ORDER BY a."EmpID";
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm#sthref3175
    From your description, it appears you may need a right outer join. You want to get back all the rows from 'B', not from 'A'. Try a right join and let us know.

  • How do I remove "Customize my portal" link from portal

    Hi,
    I want to remove the "Customize my portal" link from our portal application. I don't want to deny users access to this feature.
    Any ideas how it can be done?
    Regards,
    Melvin

    Are you using a Windows or a Mac? What you're seeing (the backwards L shaped menu) is probably the Canon Quick Menu. If you have a Mac you can go into your applications, select Canon Utilities, then drag Canon Quick menu to the trash and empty trash can. On Windows you'd go to the control panel, select Programs and Features (or Uninstall Program/Add or Remove Program) and uninstall the Canon Quick Menu. Not required for all the normal functions of the printer. You can do the same thing for My Image Garden. Also not required.

  • Change the view link from Readonly to updateable.

    Hi Experts,
    Currently i have 2 view objects and with one view link (1 to 1 mapping). When i try the following code i am getting the exception
    Integer departId= Integer.parseInt(id);
    Key key = new Key(new Object[]{departId});
    Row[] rows = departmentVO.findByKey(key, 1);
    if(rows != null && rows.length == 1) {
    employeeRow.setDepartmentVO(rows[0]);
    oracle.jbo.ReadOnlyAttrException: JBO-27008: Attribute DepartmentVO in view object EmployeeVO1 cannot be set.
    It seems the link is readonly. I have gone through the ViewLink xml file and found all the _updateable are true.  Am i missing anything?
    Please advice me.
    -t

    user,
    @ what time it error raise up.? give me some more. details.
    for eg:
    if u had a updatable view.
    in that view . a had id attribute under updatable section.
    there are options. never always, while new.
    if you check. never optios.
    if u are update something means. the error come up likes this.
    i hop u undertusd.

  • How do you add an icalendar event link from outlook into your InDesign file?

    I have created a button on a xmas invite that allows people to automatically add the event into their outlook calendars - but i am just trying to work out how to add the link in.
    If someone could help it would be greatly appreciated.
    thanks

    Perhaps you can ask on an Android site or visit the app support website....

  • How can I stop the column-view finder from centering its view?

    My finder is set to column-view so I can see the sub columns and easily move the files to different colums. 
    When I select a file in one of the lower sub solumns the view automatically shift to centerize the column, which make it difficult for me to see the head columns.  Is there a way to 'lock' its view?

    It changes the column width automatically when I select a file in a sub column even after I adjust it to my liking...
    This "centerizing" doesn't happen all the time - there are times that the columns stay the way I adjust - but I don't know what triggers this problem, thus I don't know how to stop it when it happens.

Maybe you are looking for

  • Connect mac book to TV

    Hi, I want to be able to connect my macbook so I can watch things on my TV. I have noticed I will need this cable; http://store.apple.com/uk/product/M9319G/A?fnode=MTY1NDA3Ng&mco=Mjc2MTg But will I need anymore cables to attach this to my TV? I think

  • Request for IVL

    how to create request for IVL (/OBIZ/SAPMZFT_SALDUEV32) report

  • OTM 6.3 Integration with Oracle EBS 12.1.3

    Hi, OTM 6.3 Integration with Oracle EBS 12.1.3 . Please suggest me with Oracle MOS DOC ID / steps to achieve this. Regards,

  • Batch create snippets from topics?

    Hi all, just wondering if its possible to batch create snippets from a heap of topics. I've got a lot of topics that I want to create snippets from for single source purposes and having to add them to the snippet library one by one is becoming teadou

  • Satellite Pro L500 - Webcam has stopped working

    The built-in Web Camera on my Satellite Pro L500 has stopped working with the following message: C:\Program Files (x86)\Toshiba\Toshiba Web Camera Application\TWebCamera.exe The application has failed to start because its side-by-side configuration i