Adding view link programatically

Hi,
I have created a view link programatically but dont know how to add it to AM.Can anyone tell me how to add this view link to AM Programatically.
Thanks,
Anupama

Hi,
I have created a view link programatically but dont know how to add it to AM.Can anyone tell me how to add this view link to AM Programatically.
Thanks,
Anupama

Similar Messages

  • Create view link programatically

    Hi all,
    I am working on this weird requirement.
    Basically, I have to create a detail table on a search resullt table. The search result is seeded search, for Item Advance search in Oracle PIM module which is not based upon a VO. The search result table is dynamically built at run time in the EgoItemSearchHelper class and that's where they build the search result VO (EgoItemSearchResultsVO).
    Now, I need to access this VO in the controller class, and create a view link programatically between details table VO and this VO. The problem is since I do not have Impl class for the EgoItemSearchResultsVO, how do I accees the column that is the key attribute. Second I do not know how to create view link between the two VOs programatically.
    Please help it's urgent.
    Thanks

    Pratap, My problem is the seeded VO is in seeded AM and my details VO will be in my custom AM, I don't know if we can have a view link between View objects that are in different AMs.
    To bypass that problem, I tried to create a VO in the seeded AM programatically and then created a view link. Now since the AM is seeded, and I am adding my details VO to this AM programatically, I thought of creating a table also programatically on the detais VO.
    In the end it does not work, I end up getting a show button on the main table, but when I click I get an error (Cannot find <null> attribute in the EOGITEMSEARCHRESULTVO) which is the seeded VO class. Unfortunately there is no boolean variable on the dynamic seeded VO, so don't know what to put in oatablebean.setDetailViewAttributeName("") method;
    Any clues on this, appreciate all responses from the forum gurus.
    ViewObject voEmp = oaapplicationmodule.createViewObject("MyEmp", "xxuss.oracle.apps.ego.item.eu.server.DetailsOrderLinesVO");
    ViewObject voEmp = am.createViewObject("MyEmp", "xxuss.oracle.apps.ego.item.eu.server.DetailsOrderLinesVO");
    AttributeDef[] prjLinkAttrs = new AttributeDef[]{oaapplicationmodule.findViewObject("EgoItemSearchResultsVO").findAttributeDef("INVENTORY_ITEM_ID_B")};
    System.out.println("definition for attr = "+ prjLinkAttrs[0]);
    AttributeDef[] taskLinkAttrs = new AttributeDef[]{voEmp.findAttributeDef("InvId") };
    ViewLink vl = am.createViewLinkBetweenViewObjects("MyLink3",
    "DetailInv", // accessor name--more on this below
    am.findViewObject("EgoItemSearchResultsVO"), // master
    prjLinkAttrs, // department attributes
    voEmp, // detail
    taskLinkAttrs, // employee attributes
    null); // assoc clause
    System.out.println("view link =" + vl.getName());
    OATableBean tb = (OATableBean)createWebBean(oapagecontext,TABLE_BEAN,null,"table");
    tb.setViewUsageName("MyEmp");
    OAMessageStyledTextBean beans = (OAMessageStyledTextBean)createWebBean(oapagecontext,MESSAGE_STYLED_TEXT_BEAN,OAWebBeanConstants.VARCHAR2_DATATYPE,"number");
    beans.setPrompt("column1");
    beans.setViewUsageName("MyEmp");
    beans.setViewAttributeName("InvId");
    tb.addIndexedChild(beans);
    oatablebean.setDetail((OAWebBean)tb);
    oatablebean.setDetailViewAttributeName("SelectFlag"); // I just tried this, SelectFlag is not a boolean attribute though, is there a way to create a boolean attribute programatically for seeded VO EGOITEMSEARCHRESULTVO and set it here, will it help
    oatablebean.setAllDetailsEnabled(true);

  • Is it possible to create view link on programatic VOs

    I tried creating a view link between 2 programatic VOs but did not get a clean way to get the where clause.
    It appears that the where clause has to be dependent on the EOs which does not exist in this case.
    On creating the view link,i need the following where clause:
    VO1.col1 = VO2.col1 ( i.e. :Bind_col1 = VO2.col2)
    Is this possible ? The query getting built here is showing up as null bind variable i.e. :Bind_col1 is null
    Please suggest how to get over this issue.

    How/where do you want to accomplish it?
    Within the document? Using Acrobat? Using another application?
    Using Acrobat within the document would be possible using Acrobat JavaScript. You can access the annotation objects of your document, and you then can evaluate the properties of each of these objects. Have a closer look at the Annotation Object section in the Acrobat JavaScript documentation.
    You will look for the contents property, and evaluate its content. When you have found something looking like a URL, you can create a link (using the rect property of the annotation), and you have what you want; you might then think to destroy the annotation, as it may overlay the link.
    Hope this can help.
    Max Wyss.

  • View link not working for programatic view objects

    Dear All,
    I have created 2 vo that is programatically populated from the stored procedures, which runs perfectly.
    I created a view link between these 2 vo which has 1-many relationships. when i run AM then the destination VO is not getting filtered based on source vo. but it displays all records for all the records in source table. Is there any work around for this problem....?
    Regards,
    Santosh.
    Component     Version
    =========     =======
    ADF Business Components     11.1.1.59.23
    Java(TM) Platform     1.6.0_21
    Oracle IDE     11.1.1.4.37.59.23
    Versioning Support     11.1.1.4.37.59.23

    beep.

  • View Link - Adding criteria dynamically in runtime

    Hi all,
         I'm working on a development in which Hgrid is used to show results based on the user's search criteria. The query to populate the Hgrid region, as expected, is built from a Master VO linked with a Details VO through a View Link.
    As per design model and requirement, I will need to use specific filters on the Details VO besides the already existing link attribute defined to link both Master and Details VO. My question is.. How can I implement this??
    I've tried to use setWhereClause(...) and executeQuery() in the Details VO but it seems that no matter what I include in the WhereClause for the Details VO, it just simple ignores.
    Scenario Example:
    MasterVO attributes (ship_hdr_code, ship_hdr_id)
    View Link (Master.ship_hdr_id = Details.ship_hdr_id)
    DetailsVO attributes (ship_line_code, ship_hdr_id, ship_line_id, amount, currency)
    After querying on MasterVO for ship_hdr_id = 1, View Link will query all lines on DetailsVO in which ship_hdr_id = 1 as well.
    In addition to this, users may want to see only records from DetailsVO that the currency is equal to 'INR'.
    I'd appreciate any help on this.
    Thanks and Regards,
    Eduardo

    Hi,
    I have the same requirement. Have you resolved this?
    Thanks,
    Yasdnil

  • Adding the view Link to Application Module

    Hi Guys ,
    How do we add a view link to a Application Module
    i followed the instructions in dev guide but its aint working for me .
    Thanks
    Tom...

    Tom,
    The procedure you have followed is the correct one. So do you mean that when you do the shuttle, nothing happens in the data model window? Any message or warning?
    --Shiv                                                                                                                                                                                                                                                                                                                                                                       

  • View objects, view links, does not search properly

    Hi,
    I am using Jdev 11.1.2.0
    I have created a search criteria based on view objects and view links. It has entities and entity associations as base. The structure is as follow:
    vo1 ->vl (1 to 1) - > vo2
    ->vl ( 1 to many) -> vo3
    Any search attribute which is not from vo1 return bad result. It happens in running app module and in the jspx page. In app module, it sometimes complains about populating the wrong attribute for the named criteria.
    The search criteria is using "exists" statement for vo2 and vo3 for adding the conditions. It has many attributes within the exist statement.
    So what is the problem. Why it does not join properly? Why does it return bad result when search attribute is from vo2 and vo3? Please help.
    Any more information requires to solve the problem?
    Thanks,
    Arthur

    Hi,
    Two more information: vo1 is composed of Entity1 (1..M) Entity2 and Entity1 (1..1) Entity 3. vo2 is composed of Entity 2 and vo3 is composed of Entity 4.
    I follow the information from http://download.oracle.com/docs/cd/E16162_01/web.1112/e16182/bcquerying.htm#BCGIFHHF
    to create the search criteria.
    Arthur

  • ADF BC: both ID and view link object as getter/setter in row impl

    I notice something when generating the row implementation of VO that have links to other VO. I can't seem to find the logic behind it...
    Following model:
    users( id, address_id,name,firstname,...)
    address(id, street,number,...)
    their is an assosiation between the UsersEO and the addressEO. Their is also a view link between the UsersVO and the AddressVO based upon the assosiation of the EO's.
    When we create the row implementation of the UsersVO we find a getter and setter for both the address_id as well as the address row object.
    Why is this?
    We have this issue because i added the UsersVO and the addressVO to the app module but i haven't added the link to the appModule but when i create the SDO from the appModule, the Users has both the address_id as the address row object.
    THis does not seem to make sense. How do you use it correctly? Do you just need to set the address_id and can leave the row object null or do they both need to have the same? What if you set the address_id to 1 but the id in the address row object is set to 5...
    How do the databindings handle these things?
    To me it seems more logical that the VO only has a getter and setter for the address object and handles the address_id in the background according to the values in the address object.
    Can someone explain me why this is implemented this way and how to handle it correctly?
    Edited by: Yannick Ongena on Sep 27, 2010 5:29 PM

    Yannick Ongena wrote:
    When we create the row implementation of the UsersVO we find a getter and setter for both the address_id as well as the address row object.
    Why is this? The definition of the VL allows you to optionally generate accessors for the underliying VOs, i.e. getAddressVO() in the UsersVO and getUsersVO() in the addressVO.
    We have this issue because i added the UsersVO and the addressVO to the app module but i haven't added the link to the appModule but when i create the SDO from the appModule, the Users has both the address_id as the address row object. You should add the addressVO to the AM using the VL instead and not by itself.
    THis does not seem to make sense. How do you use it correctly? Do you just need to set the address_id and can leave the row object null or do they both need to have the same? What if you set the address_id to 1 but the id in the address row object is set to 5...
    As mentioned above, once you add the addressVO to AM using the VL, the framework will take care setting the value of the row objects accordingly.

  • Add/remove view links at runtime !?

    Hi,
    how can i add/remove a view link to an already published RowSet and make the RowSet adapt to the new condition ??? (without loosing it's own linked Details)
    The scenario: I have lot's of details which are linked to the same master. I remove the details from the session (sessionInfo.removeRowSet) when I don't need them to keep the active number of views in the session as small as possible ! When removing the Details from the Session I also have to remove their links to the master (to avoid exceptions). Further I want to establish the links again when the detail is added to the session again !?
    I add links before publishing:
    ViewLinkInfo view_12aLink = new ViewLinkInfo(master, "package1.LinkDef");
    view_12a.addMasterLink(view_12aLink);
    I can remove links after publishing with:
    view_12aLink.removeViewLink(sessionInfo1.getApplicationModule());
    but how to establish the link again ?:
    ApplicationModule appMod = ....;
    ViewObject vo = appMod.findViewObject(view_12a.getQueryInfo().getName());
    view_12aLink.createViewLink(appMod,vo);
    doesn't work !
    if (view_12a.isOpen())
    view_12a.close();
    view_12a.addMasterLink(view_12aLink);
    works !, but all the links where view_12a is master are broken !!!!
    So what to Do ????
    Thanks for every answer !
    null

    Your results are as expected per the imlementation. Basically you've established (two) ViewLinks between two sets of two instances of VOs.
    Now you try and get an accessor to return a set of details. You need to establish a link between that detail set and it's details to use the accessor on the second detail to get the desired results. Basically you've to establish the chaining between appropriate instances of VOs and not just the outer VOs or VO members of your AM.

  • Bug in view link creation

    Here's an interesting bug in JDev 9.0.3.1, Win2k:
    I'm working with a view link using the Edit View Link dialog. It links two view objects, ViewA and ViewB, in a 1:* relationship. Entities EntityA and EntityB are the respective underliers of ViewA and ViewB. Under the View Link Properties node in the dialog, the only accessor generated is for the Destination view object.
    When I click OK, the column constants at the top of EntityA.java become messed up!!
    To be specific, all of the accessor column constants defined on the entity object are removed and then re-defined one line above the beginning of the column constants declaration section. They also are renumbered starting with zero, which causes them to have the same value as the first n column constant definitions. Naturally, this causes a "duplicate case label" compile error for the EntityA.java file.
    Even worse is if the column constant definitions start on the same line as the opening brace for the class, like so:
    public class EntityAImpl extends EntityImpl
    { protected static final int COLUMN_1 = 0;
    protected static final int COLUMN_2 = 1;
    // etc.
    The effect of clicking OK in the Edit View Link dialog is then to produce a ParseException error as the dialog is dismissed. Looking at the EntityA.java file, it's clear why:
    public class EntityAImpl extends EntityImpl
    protected static final int ACCESSOR_1 = 0;
    protected static final int ACCESSOR_2 = 1;
    // etc.
    { protected static final int COLUMN_1 = 0;
    protected static final int COLUMN_2 = 1;
    // etc.
    What puzzles me is:
    * Why is the entity object being affected at all, since the accessor was only supposed to be generated in ViewA?
    * Why are all the accessors being removed and re-added, even those that have nothing to do with the view link being edited?
    * Why, when the accessors are re-added, are the constant values duplicated?

    Please send a test case. I'm unable to reproduce this in a simple project in 9.0.3.1 or 9.0.3.2.
    Is there entity inheritance involved?
    Do your entity XML files mention _superAttr anywhere in them? If so, you might be hitting a known issue with 9.0.3 relating to entity inheritance at design time and the accessor attributes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • View links in multi table relations

    Is it advisable (in terms of performance e. g.), to create view links and view objects as local variables in multi table relations?
    examle: the jdev online help says to use
    such multi table relations like this:
    // A (one) -> B (many) -> C (many)
    ViewLink a2b = appMod.findViewLink("AtoB");
    ViewLink b2c = appMod.findViewLink("BtoC");
    ViewObject aV = a2b.getSource();
    ViewObject bV = a2b.getDestination();
    ViewObject cV = b2c.getDestination();
    while(aV.hasNext())
    Row aR = aV.next();
    while(bV.hasNext())
    Row bR = cV.next();
    while(cV.hasNext())
    Row cR = cV.next();
    I would rather keep everything concerning
    a, b, c together, especially when more
    tables (d, e, ...) are added, like this
    ViewLink a2b = appMod.findViewLink("AtoB");
    ViewObject aV = a2b.getSource();
    while(aV.hasNext())
    Row aR = aV.next();
    ViewLink b2c = appMod.findViewLink("BtoC");
    ViewObject bV = a2b.getDestination();
    while(bV.hasNext())
    Row bR = cV.next();
    ViewObject cV = b2c.getDestination();
    while(cV.hasNext())
    Row cR = cV.next();
    Is there anything to say against this approach (in term of performance for example). I am not sure to remeber,
    if this was the approach used in the HotelResevationSystem example.
    Thanks.
    Rx
    null

    For this to work you have to either build a view based on the entities from which you need attributes (joined by the FK) or build a ViewObject with the sql statement giving you all the attributes you need.
    The first case enables you the edit the attributes, the second gives you read only access to the attributes.
    What you try to do isn't a master-detail connection, you are doing a join of some tables.
    Timo

  • Creating a Static view link association creates a null entityImpl error

    294] {{ type: 'METAOBJECT_LOAD' Loading meta-object: myModel.view.assoc.DeptTypesFkLink
    [295] {{ type: 'METAOBJECT_LOAD' Loading meta-object: myModel.view.assoc.assoc
    [296] Loading from individual XML files
    [297] Loading the Containees for the Package 'myModel.view.assoc.assoc'.
    [298] }}+++ End Event9 null
    [299] }}+++ End Event8 null
    [300] {{ type: 'METAOBJECT_LOAD' Loading meta-object: myModel.view.DeptsView
    [301] {{ type: 'METAOBJECT_LOAD' Loading meta-object: myModel.view.view
    [302] Loading from individual XML files
    [303] Loading the Containees for the Package 'myModel.view.view'.
    [304] }}+++ End Event11 null
    [305] {{ type: 'METAOBJECT_LOAD' Loading meta-object: myModel.entity.Depts
    [306] {{ type: 'METAOBJECT_LOAD' Loading meta-object: myModel.entity.entity
    [307] Loading from individual XML files
    [308] Loading the Containees for the Package 'myModel.entity.entity'.
    [309] }}+++ End Event13 null
    [310] Custom class myModel.entity.nullImpl not found
    [311] }}+++ End Event12 null
    [312] }}+++ End Event10 null
    [313] JUErrorHandlerDlg.reportException(oracle.jbo.jbotester.ErrorHandler$ExceptionWrapper)
    [314] UIMessageBundle (language base) being initialized
    ## Detail 0 ##
    java.lang.ClassNotFoundException: myModel.entity.nullImpl
         at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.forName0(Native Method)
         at java.lang.Class.forName(Class.java:242)
         at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38)
         at oracle.jbo.common.JBOClass.forName(JBOClass.java:166)
         at oracle.jbo.common.JBOClass.findCustomClass(JBOClass.java:202)
         at oracle.jbo.server.AssociationDefImpl.initFromXML(AssociationDefImpl.java:940)
         at oracle.jbo.server.AssociationDefImpl.loadFromXML(AssociationDefImpl.java:907)
         at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:4274)
         at oracle.jbo.server.EntityDefImpl.loadAttributes(EntityDefImpl.java:4232)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:3063)
         at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2700)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:584)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:817)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:482)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:420)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:402)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:808)
         at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:469)
         at oracle.jbo.server.ViewDefImpl.doAddEntityUsage(ViewDefImpl.java:4245)
         at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:4317)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2940)
         at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:2744)
         at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:588)
         at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:817)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:482)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:420)
         at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:402)
         at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:808)
         at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:560)
         at oracle.jbo.server.ViewLinkDefImpl.resolveReferences(ViewLinkDefImpl.java:718)
         at oracle.jbo.server.ViewLinkDefImpl.findDefObject(ViewLinkDefImpl.java:130)
         at oracle.jbo.server.ViewDefImpl.resolveViewLinkAccessorAttribute(ViewDefImpl.java:5191)
         at oracle.jbo.server.ViewDefImpl.processViewLinkAccessors(ViewDefImpl.java:5363)
         at oracle.jbo.server.ViewDefImpl.getAttributeDefImpls(ViewDefImpl.java:592)
         at oracle.jbo.server.ViewObjectImpl.initViewAttributeDefImpls(ViewObjectImpl.java:7136)
         at oracle.jbo.server.ViewObjectImpl.getAttributeDefs(ViewObjectImpl.java:4769)
         at oracle.adf.model.bc4j.meta.StructureDefinitionImpl.loadAttributes(StructureDefinitionImpl.java:281)
         at oracle.adf.model.bc4j.meta.StructureDefinitionImpl.loadStructure(StructureDefinitionImpl.java:150)
         at oracle.adf.model.bc4j.meta.StructureDefinitionImpl.getAttributeDefinitions(StructureDefinitionImpl.java:64)
         at oracle.jbo.jbotester.binding.TesterBinding.getAttributeNames(TesterBinding.java:257)
         at oracle.jbo.jbotester.binding.TesterBinding.createIteratorBinding(TesterBinding.java:172)
         at oracle.jbo.jbotester.binding.TesterBinding.createIteratorBindings(TesterBinding.java:163)
         at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:119)
         at oracle.jbo.jbotester.binding.TesterBinding.<init>(TesterBinding.java:82)
         at oracle.jbo.jbotester.MainFrame.processArgs(MainFrame.java:587)
         at oracle.jbo.jbotester.MainFrame.main(MainFrame.java:428)

    I created a static view object called StaticDepartments with the data from the DEPT table, but typed in statically.
    I created a normal, entity-based EmpView VO over an Emp EO.
    I created a 1-to-* view link between StaticDepartments and EmpView based on the Deptno attribute.
    I added the master/detail to the AM's data model and tested, and it worked ok.
    What's different about the way you're creating the view link here?

  • View Link Bug!  - JDEV Developers please read.

    This has to be a bug. When I am done with my project for the day I check in the files into PVCS. After check in the files are deleted off my local drive. When I recheck out my project and do a rebuild on the project, I get several View link XML files that say that they are not correct. However when I pull them up in the editor and relink them, there is NO CHANGE to the XML file that stores the DEF. Below is a sample of one of the files. If I go into this view link with the visual editor and reselect the linking nodes, all is fine in JDEV.
    Is this a bug that is being worked on for the next version?
    SAMPLE
    <?xml version='1.0' encoding='windows-1252' ?>
    <!DOCTYPE ViewLink SYSTEM "jbo_03_01.dtd">
    <ViewLink Name="RequestCauseLookupVL">
    <DesignTime>
    <Attr Name="_isCodegen" Value="true"/>
    <Attr Name="_version" Value="10.1.3.36.73"/>
    </DesignTime>
    <ViewLinkDefEnd Name="RequestVO" Cardinality="1"
    Owner="dataAccess.Request.RequestView" Source="true">
    <AttrArray Name="Attributes">
    <Item Value="dataAccess.Request.RequestView.CauseCd"/>
    </AttrArray>
    <DesignTime>
    <Attr Name="_finderName" Value="RequestVO"/>
    <Attr Name="_accessor" Value="true"/>
    <Attr Name="_minCardinality" Value="1"/>
    <Attr Name="_isUpdateable" Value="true"/>
    <Attr Name="_entityAccessor" Value="true"/>
    </DesignTime>
    </ViewLinkDefEnd>
    <ViewLinkDefEnd Name="ReqCause_LOV" Cardinality="1"
    Owner="dataAccess.lov.ReqCause_LOV">
    <AttrArray Name="Attributes">
    <Item Value="dataAccess.lov.ReqCause_LOV.LookupId"/>
    </AttrArray>
    <DesignTime>
    <Attr Name="_finderName" Value="ReqCause_LOV"/>
    <Attr Name="_accessor" Value="true"/>
    <Attr Name="_isUpdateable" Value="true"/>
    <Attr Name="_entityAccessor" Value="true"/>
    </DesignTime>
    </ViewLinkDefEnd>
    </ViewLink>

    Hi Steve,
    JDev appears to be updating the viewlink files. I have not edited any of them and they all have the timestamp of when i closed JDev last Friday:
    -rw-rw-rw-   1 user     group        1236 Sep  1 16:45 ApprovalDetailsFkLink.xml
    -rw-rw-rw-   1 user     group        1224 Sep  1 16:45 InvestigatorsFkLink.xml
    -rw-rw-rw-   1 user     group        1260 Sep  1 16:45 MulticentreProjectsFkLink.xml
    -rw-rw-rw-   1 user     group        1258 Sep  1 16:45 PrjWorklistItemsFkLink.xml
    -rw-rw-rw-   1 user     group        1200 Sep  1 16:45 FieldBasedFKLink.xml
    -rw-rw-rw-   1 user     group        1195 Sep  1 16:45 GmAnimalsFKLink.xml
    -rw-rw-rw-   1 user     group        1225 Sep  1 16:45 HarmfulFKLink.xml
    -rw-rw-rw-   1 user     group        1032 Sep  1 16:45 ObservationFKLink.xml
    -rw-rw-rw-   1 user     group        1226 Sep  1 16:45 OtherInvestigatorsFKLink.xml
    -rw-rw-rw-   1 user     group        1196 Sep  1 16:45 OtherPartiesFKLink.xml
    -rw-rw-rw-   1 user     group        1028 Sep  1 16:45 PermitsFKLink.xml
    -rw-rw-rw-   1 user     group        1206 Sep  1 16:45 ProjectPartiesFKLink.xml
    -rw-rw-rw-   1 user     group        1042 Sep  1 16:45 RespInvestigatorsFkLink.xml
    -rw-rw-rw-   1 user     group        1012 Sep  1 16:45 SurgeryFKLink.xml
    -rw-rw-rw-   1 user     group        1190 Sep  1 16:45 TeachingFKLink.xmlthe CVS looks like this (August 24 was when i deleted them all from CVS and re-added them):
    -r--r--r--    1 banstey  dba          1347 Aug 24 09:51 ProjectPartiesFKLink.xml,v
    -r--r--r--    1 banstey  dba          1172 Aug 24 09:51 PermitsFKLink.xml,v
    -r--r--r--    1 banstey  dba          1337 Aug 24 09:51 OtherPartiesFKLink.xml,v
    -r--r--r--    1 banstey  dba          1367 Aug 24 09:51 OtherInvestigatorsFKLink.xml,v
    -r--r--r--    1 banstey  dba          1176 Aug 24 09:51 ObservationFKLink.xml,v
    -r--r--r--    1 banstey  dba          1399 Aug 24 09:51 PrjWorklistItemsFkLink.xml,v
    -r--r--r--    1 banstey  dba          1401 Aug 24 09:51 MulticentreProjectsFkLink.xml,v
    -r--r--r--    1 banstey  dba          1365 Aug 24 09:51 InvestigatorsFkLink.xml,v
    -r--r--r--    1 banstey  dba          1377 Aug 24 09:51 ApprovalDetailsFkLink.xml,v
    -r--r--r--    1 banstey  dba          1325 Aug 24 09:51 AnimalFKLink.xml,v
    -r--r--r--    1 banstey  dba          1331 Aug 24 09:51 TeachingFKLink.xml,v
    -r--r--r--    1 banstey  dba          1186 Aug 24 09:51 RespInvestigatorsFkLink.xml,v
    -r--r--r--    1 banstey  dba          1341 Aug 30 11:37 AnimalCareFKLink.xml,v
    -r--r--r--    1 banstey  dba          1341 Aug 30 11:38 FieldBasedFKLink.xml,vTimestamps of my associations are all over the place, which is consistent with the creation process.
    Will do an unchanged commit and post the results.
    regards,
    Brenden

  • TP4 ADF BC [BUG] view link are not updated after database synchronization

    I have a table with a recursive relationship.
    By mystake, I created a recursive foreign key for the same attribute (deptid->deptid instead of deptid->parentdeptid).
    I generated entity, view and application module from this schema.
    When compiling, errors was produced indicating the problem.
    I corrected the problem in offline database, generate the changes into the database successfully.
    I ask to synchronize the entity with the database, the changes was identified correctly and a new association was created.
    First remark: the old one still there and it was necessary to delete it and rename the new generated one (to be consistent with other name). May be an option to overwriting the old one will be more pleasant, may be asking if the new one has to replace an existing one and show a list of existing ones.
    Regenerating the association was correct and one error was removed when compiling again. The error on the view link still there.
    I would like to delete the assoc and recreate it from the entity assoc but it was not possible easily because the view link is used in the application module !!!!
    It will be nice to permit to regenerate an existing view link from an entity association without deleting it.
    May be it is a better way to synchronize ? I would be very interesting to know how to achieve it as the best !

    Was the inability to have the synchronization remove the key specific to the existing association's being self-referential, or if your initial association was from DeptId to some other attribute (which you then corrected) would the synchronize have fixed the problem?
    The simplest way to achieve what you want given existing features would be to have delete the view link instance, view link, and association, follow by resynchronizing (I believe), then recreating the viewlink and adding back the view link instance.

  • View link between VO from two application modules

    Is it possible to create view link between VOs from 2 different Application modules?

    Here is what it says:
    SymptomsYou have an ADF BC (BC4J) project and you are getting the following error:
    oracle.jbo.domain.Number; local class incompatibleA more detailed error looks similar to:
    oracle.jbo.domain.Number; local class incompatible: stream classdesc
    serialVersionUID = -7171468674200794918, local class serialVersionUID =
    -6507359405709672486
    CauseThis problem is caused by either that:
    You have inadvertently mixed two mutually exclusive domain libraries like "BC4J Generic Domains" (bc4jdomgnrc.jar) and "BC4J Oracle Domains" (bc4jdomorcl.jar).
    or
    You have added the "BC4J Datum" library (bc4jdatum.jar) to your middle-tier class path, and are trying to use a JDBC driver different from the one that ships with JDeveloper 10g in the box.
    The BC4J Generic Domains and the BC4J Oracle Domains are never meant to be used in the same application classpath. They contain different implementations of the same set of classes, one destined for use in Oracle JDBC driver environments, and the other for use with other non-Oracle JDBC drivers.
    The BC4J Datum library is designed for use in a thin-client Classpath that is remotely accessing an ADF Business Components middle tier deployed as an EJB Session bean. It contains only the domain classes (typically jar'ed up as part of the whole Oracle JDBC Driver JAR) without having to have the rest of the JDBC Driver JAR on the thin client. SolutionPlease check if any of the above suggested scenarios is applicable to your application.
    If you have the BC4J Generic Domains and the BC4J Oracle Domains in the same project despite that they are never meant to be used in the same application classpath you will get this error. They contain different implementations of the same set of classes, one destined for use in Oracle JDBC driver environments, and the other for use with other non-Oracle JDBC drivers.
    Goto the Project Properties for you project.
    Select Profiles -> <Profile Name> -> Libraries
    Check in the Selected list (to the right) if you have both BC4J Generic Domains and the BC4J Oracle Domains there. If so, remove the one not appropriate for your project.

Maybe you are looking for

  • The colors are not showing up correctly on my site like they do in photoshop and explorer.

    Why don't the colors show up correctly in Firefox? They are exactly the same color yet firefox shows them as slightly different. I checked them in Photoshop. Same hexadecimal, same RGB. It looks correct in Internet Explorer but does not in firefox. T

  • Can you use multiple TOCs in one project at different times?

    I am new to RoboHelp and I have version 11. The premise is that I have inserted a map of the United States and I have placed and image map for each state to direct them to the individual state's topic I have created. But I want to customize each stat

  • Syncing files after patching

    Is there a recommended way to sync the .class and .xml files on your local machine (to be used with JDeveloper extensions) with the same files that are on the application server after a patch has been applied? It seems like a manual process to me. Is

  • Transferring Notes and Tasks

    Just got my Droid Incredible and used HTC Sync to get my calendar and contacts from my company's Outlook system.  So far, so good.  But what about Outlook notes and tasks?  Is there some way to get these transferred over? Thanks Dennis

  • While calling plsql  package from Pro*c getting  ORA-1426 error

    Hi Friends I am calling a package from Pro*c and getting numberic overflow error ORA-1426 but when i introduce a debug message such as printf or calling standard oracle utility to write in a log file no error comes. So how just introduction of debug