Identifying relations to simulate M:N relation with attributes

Hi,
I'm always using 3.1.4
In this version, M:N relations don't support attributes. In 3.3 it is supported. But sometimes, it's necessary in a logical model to have an entity which represent the relation. So I can add another relation between this "associative entity" and another entity. Like in Oracle Designer, if i want to create a M:N relation with attributes, I have to create an entity with two identifying relations
So I created :
Student, Registration and Stage entities
Identifying relation between Student and Registration
Identifying relation between Stage and Registration
Registration with several attributes. So Registration is an "associative entity".
But when I do this in DM :
In Registration entity, there are two unique identifiers
the first one (which is PUID) is correct, it references the two relations
The second is incorrect. It should not to exist.
is it right ?

3° create entity Registration, with one column : dateRegistration (NOT primary UID)I assume there is a UID created (not set as PK) and it's over dateRegistration attribute
2° create entity Stage, with 2 columns : Numero (primary UID), code, descriptionyou write 2 columns, but 3 are listed, the number is not important just to confirm that Primary UID is created on Numero attribute.
So entity Registration has one UID before identifying relationships are created. You need to check setting in "Preferences>Data Modeler>Model>Logical>Use and set first unique key as primary key"
One Primary UID only exists in Registration in case it's checked, and there is one Primary UID (over both relationships) and one UID over dateRegistration attribute in case it's not checked.
Philip

Similar Messages

  • Has 'AL32UTF8' got any relation with windows os settings.

    Hi,
    i am using following function for blob.
    xmltype(blobcol, nls_charset_id( 'AL32UTF8' ))
    what i have noticed by default setting are following , in fact all setting are default.
    NLS_CHARACTERSET     AL32UTF8
    NLS_NCHAR_CHARACTERSET     AL16UTF16
    my question is,is it ok or will it create any problme in any case,
    sitution is we read the xml to use in sp and on pages/ front end which can be on same machine or diffrent machine but it will be on windows
    1)please tel me if there is any case .
    2)has 'AL32UTF8' got any relation with windows os settings.
    yours sincerely.

    ad
    1) see 2 and info given?
    2) nope. The mentioned NLS Characterset is used by XMLType to identify the characterset which was used to create the XML doc and/or what characterset the XML doc has. Setting it explicitly makes sure that the correct characterset is used.
    Have a look at the NLS characterset example in the Forum FAQ mentioned in the main page of this forum
    Also, have a look at how NLS works here: http://www.oracle.com/technetwork/database/globalization/nls-lang-099431.html

  • Connect by Problems related with ancestors

    Hello,
    I have a problem with that.
    I have a tree saved in a oracle table. Relationships are mantained with ID and PARENT_ID fields. I save information about Product, Subproduct, BasicSubproduct, (... there could be other levels), Part. This is the hierarchy.
    For example, a Product is composed by Subproducts, each Subproduct is composed by BasicSubproducts, and so on.
    In other hand, I have a table with data of Parts (for example costs of each one).
    What I want is to show information of, for example "Car" Product, grouped by Subproduct (this is the immediately lower level of Product). For example for knowing which are the right parts I did that:
    select * from
    (select * from NODES
    connect by parent_id=PRIOR id
    start with id=244) t, -- Node of 'Car' Product
    datos b
    where
    b.id=t.id
    But what I don't know it's the ancestor related with the part (in this case it should be the id of the Subproduct). What would it be the right manner to achive that?
    I'd appreciate your help.
    Thanks.

    Hi
    You can join a hierarchical query as you suggest; you can also use SYS_CONNECT_BY_PATH() to identify the subproduct. Here's the kind of query you need - I've used the HR sample data, but you should be able to transform this into products, subproducts etc
    select subproduct.first_name, subproduct.last_name, part.job_id, sum(part.salary), count(distinct part.employee_id)
    from employees subproduct
    left join (
    select level lev
         , sys_connect_by_path(last_name,'/') reportsto
         , sys_connect_by_path(to_char(employee_id,'fm0000'),'/') ancestors
         , substr(sys_connect_by_path(to_char(employee_id,'fm0000'),'/'),7,4) subprodid
         , emp.*
    from employees emp
    start with employee_id = 100 -- like identifying the product
    connect by prior employee_id = manager_id
    ) part
    on part.subprodid = to_char(subproduct.employee_id,'fm0000')
    where subproduct.manager_id=100
    group by subproduct.first_name, subproduct.last_name, part.job_idYou'll see I've used a fixed format connect_by_path (with 4 digits per level) which makes it easy to pull out the second level.
    HTH
    Regards Nigel

  • Contacts related with more than one account

    Hi guys,
    I'm having the following issue on my CRM OD Service Request project.
    The usual data flow for our attendants have to be: Identify the account, identify the contact who are calling on the account home page and then create the service request on the contact home page, so my service request is already filled with the account and contact information.
    The problem is that when the contact is related with more than two accounts, the account that appears on my service request is the primary account of the contact.
    For example, if Paul is related to the account A and B and he calls to talk about a problem related with the company B, the attendant opens the company B home page, then he opens Paul's contact home page and then create the SR and the SR comes with the info of company A (probably because company A is Paul's primary account) and not of the company B.
    Do you know if have anyway to avoid this problem?
    Thanks in advance
    Rafael

    Rafael, this is normal behavior for CRM On Demand. I would recommend that you submit a enhancement request to CRM On Demand customer care.

  • Will the new 10.6.8 update fix SATA3 issues related with 2011 MacBook Pros?

    Will the new 10.6.8 update fix SATA3 issues related with 2011 MacBook Pros?

    It is against TOU to speculate on these message board.  Suggest you post your question on the Mac Rumors site.
    As I already stated, there is no 10.6.8 update.  If there was, it would be listed in Software Update.

  • Table Relation with Payment and Invoice of Vendor

    Hi all,
         I have one question about Table Relation with Payment and Invoice of Vendor.
         the scenario is.
         2 Purchase Order number : 100000001/100000002
         1 Invoice document number : 200000001 which include  2 Purchase Order.
         1 Payment document number : 300000001
         How should I found out table relation from Payment document number - Invoice document number - Purchase Order number. ?
          I try to link the following table, but it does not work.
          RBKP     *     Invoice Receipt
          RSEG     *     Invoice Receipt document line item
          BKPF     *     Accounting Document Header
    BSEG     *     Accounting Document Segment
    PAYR          Payment Medium File
    BSIK          Accounting: Secondary Index for Vendors
    BSAK          Accounting: Secondary Index for Vendors (Cleared Items)
    BSIS          Accounting: Secondary Index for G/L Accounts (Open Items)
    Does any one know about it ?
    Regards
    KY Chuang

    Hi Venkatesh,
    Thnx a lot for the reply. This has almost solved my problem, however there's one thing left. when I'm trying to take a print out after exporting the info into an excel sheet, the information really looks scattered, i.e.,  is there a way where we can go ahead and get the info in a rather unscattered manner.
    I've tried to take a print directly without actually transferring the info into an excel sheet, then each of the vendor is printed in a separate page, which again they feel is a problem.
    So, if you have an idea pls suggest.
    Thnx again for the information.
    regards
    sandhya

  • My Notes are missing since upgrading to iOS 6. I don´t delete anything.  Can it have relation with iCloud?

    My Notes are missing since upgrading to iOS 6. I don´t delete anything.  Can it have relation with iCloud?

    This worked for me, when asked to purchase program you don't need to, got copies of all missing notes. Hope it helps
    http://www.askdavetaylor.com/any_way_recover_iphone_notes_windows_pc.html

  • HT201342 I have not been able to upgrade to a new computer. So I am running an old OS 10.5.8 in a Powerbook Pro 15¨. I recently have had some e-mail problems. I would like to know if this is related with all transitional process from @mac to @icloud.

    I have just starting having problems with my @mac.com account because I still have an old computer. Un fortunatelly so many years this is my main account and no option to send e-mail are possible.
    Is this related with the transitional process from moving to an @icloud.com account?
    regards

    pvonk wrote:
    First of all, your profile says you are using OSX 10.5.8 which is incompatible wth all features of icloud, although users have been able to use icloud's email with older versions.  With the transition to @icloud.com accounts, it's difficult to say what the effect is regarding older versions of OSX.  I've read posts by others who are still using these versions and have now been having problems with emails. 
    iCloud mail is a standard Imap account, any version of OSX (or Windows) with an Imap compatible mail client can use it.

  • Stock room tables in oracle apps ? and how customer is related with those?

    Hi All
    Can any give the details about stock room tables in oracle apps ? and how customer is related with those tables.
    Thank you

    question is not clear, but is it what you are looking for ?
    Stock Locators in Inventory tableis mtl_item_locations

  • SQL Server Agent ... Relation with BizTalk.

    Hi All,
    I know that there are jobs in SQL Server Agent which are used to perform some activity on scheduled basis like Purging,backup etc...
    what happens if SQL server agent service is in Stop mode(is it mandatory to have it started) and does it have any relation with BizTalk BAM.
    Praj Dixit

    Yes, you have to make sure the SQL Server Agent is running on the SQL Server. When the SQL Server
    Agent is stopped, the built-in BizTalk SQL Server Agent jobs that are responsible for database maintenance cannot run. This behaviour causes database growth, and this growth may cause performance issues. 
    SQL Server Agent jobs except the MessageBox_Message_Cleanup_BizTalkMsgBoxDb job should be enabled and running successfully. 
    You can learn about the SQL Server Agent jobs at Description of the SQL
    Server Agent jobs in BizTalk Server
    Regarding BizTalk BAM,
    Yes Backup BizTalk Server Job takes the backup of BAM Primary Import, SQL NS as
    well as other BizTalk databases. The BAM Analysis database, BAM Star Schema Database and Tracking Analysis Server database store content in SQL Server Analysis Services cubes. The Backup BizTalk Server job does not back up these databases. Instead, to
    backup these databases, it uses SQL Server Analysis Manager.
    I found this utility (BizTalk Monitoring
    Automation Utility) very useful to automate the monitoring of
    your BizTalk environment. If you have liberty to go with a paid tool,
    BizTalk360 a monitoring and support tool is the one for you.
    Rachit

  • Master-Child relations with ODP??

    I don't understand why I am having problems trying to build a simple master-child table relation with cascade delete using ODP .NET. With microsoft's providers, in the FILL command, you can specify the relationship in the fill command - Fill(dataset_name,relation_name). But in ODP .NET, it doesn't accept the relation_name as the second parameter, just the datatable. Why is that? are there any good examples out there that show working with Master-Child relations populated with Fill()? Any help would be greatly appreciated.

    bump

  • BlazeDS - n:m relation with eager loading - recursion?

    Hello to all!
    I have a n:m relation and I do eager loading with Hibernate (and other relations with 1:n and n:m, but not displayed here):
    @ManyToMany(fetch=FetchType.EAGER)
        @JoinTable(name = "Group_User",
            joinColumns = {@JoinColumn(name="group_id", referencedColumnName="id")},
            inverseJoinColumns = {@JoinColumn(name="user_id", referencedColumnName="id")}
    @Fetch(FetchMode.SELECT)
    private List<User> users;
    @ManyToMany(mappedBy="users", fetch=FetchType.EAGER)
    @Fetch(FetchMode.SELECT)
    private List<Group> groups;
    So one user can have several groups and in one group can be several users.
    So, but now I get all groups in Flex frontend and so I have also all users included, but the problem is, I get a kind of recursion here.
    Debugging it and take a look at the groups, I see the users listed, and the user have groups, and these groups have users and so on and so on...
    What shoud I do to solve this problem?
    Thanks a lot in advance & Best Regards PHANTOMIAS

    Abe, Any chance you could publish the answer on the newsgroup?
    This was my support response:
    I assume each child object is the same type as its parent? That is, you have a
    class C with a
    member of type Collection<C>?
    In that case, consider what putting this member (let's call it M) in the
    active fetch groups
    does. When loading a C instance, M must be loaded. But if M is full of additional C
    instances, then M must be loaded for all of those instances as well, since M is
    in the active
    fetch groups. And so forth. Thus, eager loading doesn't work very well when the
    relation is
    of the same type as the target object, because it causes a large recursive process.
    SolarMetric has worked to make sure that JDO 2 fetch groups will allow for
    specifications of
    fetch depths and other advanced features. Until then, however, I'm afraid that
    this is a
    limitation of Kodo. I'm not sure how deep into your tree structure you want to
    go, but you
    might consider creating one or more Queries. For example, if you want children and
    grandchildren, create one Query for all grandchildren, and one Query for all
    children.
    Execute both queries. Then going from a grandchild to its parent (I assume
    there is a
    relation from an object to its parent) won't cause any additional DB hits, since
    the children
    (the parents of the grandchildren) will already all be in cache. Similarly,
    going from a child to
    the root object might cause 1 additional DB hit if the root isn't already in
    cache, but going
    from subsequent children to the root will be satisfied from cache. Or if you
    have multiple
    roots, consider executing an additional Query for those roots. So in general,
    you can fetch N
    levels of the tree in N queries, and all relation traversals between those
    levels will then be
    satisfied from cache.

  • Join 2 tables which are not related with any primary-foriegn key constraint

    Hello,
    How to join 2 tables which are not related with any primary key foreign key constraint.
    Ex.Consider Table A has 5 columns->A_ID,A_Name,A_Address,A_City,A_Pin(Total 10 rows)
    Table B has 5 columns->B_ID,B_Name,B_Adress,B_City,B_City(Total 30 rows)
    From both the table i want the data,which i need to use in curosr to display finally as "Address Label".
    Both the table are entirely different,but there can be some names of Table A which may come in Table B also,if the name,address and city is also same.That means same person in both the table.
    So finally i want total number of distinct records(distinct data of Table A which is not in B+all the data of table B) to come under Address Label.
    How can i write the select query for this condition?
    Thanks
    Swapna

    Hi, Swapna,
    user11018268 wrote:
    Hello,
    How to join 2 tables which are not related with any primary key foreign key constraint.
    Ex.Consider Table A has 5 columns->A_ID,A_Name,A_Address,A_City,A_Pin(Total 10 rows)
    Table B has 5 columns->B_ID,B_Name,B_Adress,B_City,B_City(Total 30 rows)
    Both the table are entirely different,but there can be some names of Table A which may come in Table B also,if the name,address and city is also same.That means same person in both the table.I think you want a UNION, not a join.
    If you have 10 rows in table_a, and 30 rows in table_b, then
    SELECT       A_ID,          A_Name,     A_Address,     A_City,     A_Pin
    FROM      table_a
    UNION
    SELECT       B_ID,          B_Name,     B_Adress,     B_City,     B_City
    FROM      table_b
    ORDER BY            2,               4          
    ;will produce up to 40 rows; 40 if there are no duplicates. (UNION implies DISTINCT.)
    The corresponding column types should be similar, if not exactly the same.
    There's no problem if A_Name is VARCHAR2 (50) and B_Name is CHAR (30).
    However, there will be a problem if A_ID is a NUMBER and B_ID is a TIMESTAMP.
    You must have the same number of columns in all branches of the UNION.
    If you want an ORDER BY clause, put it at the very end, after the last branch of the UNION.
    You can use positional notation (where 2 means the 2nd column) like I did, or you can use names from the first prong of the UNION (such as A_Name).
    From both the table i want the data,which i need to use in curosr to display finally as "Address Label".
    So finally i want total number of distinct records(distinct data of Table A which is not in B+all the data of table B) to come under Address Label.I'm not sure what your mean about "Address Label".
    Whenever you have a question, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) from all tables, and the exact results (formatted) that you want from that data.
    You can concatenate all 5 columns into one VARCHAR2 column, if you want to.
    You'll probably want to use RPAD (or simillar functions) to make the output line up nicely.
    If any of the columns are not strings, use TO_CHAR to make string versions of them.
    For example:
    SELECT  TO_CHAR (A_ID, '9999999')
         || '   '          -- leave a little space between the left-justified a_id and the right-justified a_name
         || RPAD (A_Name, 25)
         || RPAD (A_Address, 50)
         ...Edited by: Frank Kulash on Nov 14, 2009 10:11 AM

  • FOC item relation with standard item

    Hi All,
    I am new to SAP SD. I have small doubt related to FOC item relation with standard item. When i enter standard item in sales order automatically free of charge item coming as sub item.
    Please tell me where do we create link between standard item and FOC item so that once standard item entered in sales order automatically free item will come into sales order.
    Regards
    Ashok

    If I am understanding you correctly, you will maintain this using VOV4
    go to your order type
    find the Item category from the material master for the material you are using (NORM,DIEN,etc)
    enter your high level item category for sales order (standard Item) (item categories that are defined in VOV7)
    then enter your default item category  for sales order (sub items)
    I hope this helps you in the right direction.  Please advise

  • Work flow and tables related with ESS Travel Module

    Hi Experts,
    I am new for work flow. Presently I am working for SAP ESS / MSS Travel module. Can you please let me know the names of work flows and tables related with ESS Travel module.
    Regards,
    Gary

    Hi Gary,
    Check if this [thread1|Let us learn SAP ESS Travel] [thread2|Travel Management Tables] helps you.
    Regards,
    Saumya

Maybe you are looking for

  • Photoshop elements 6 menu bar

    how do i get the left side of my menu bar in photoshop elements 6, to show the edit, file, view, find, window and help buttons. Only the camera and little house show up. The only thing that shows is a tiny arrow which is barely visible. All was okay

  • Pavilion dv4-1275mx notebook - once-flashing leds @ caps lock and scroll keys @ start-up

    My HP Pavilion dv4-1275mx notebook runs Windows Vista Home Premium service pack 1 for 64x-based systems.   Recently, when I turn it on, the led lights @ the caps lock and scroll keys repeatedly flash once. I'm not sure what, if anything, happened pri

  • I would like to Know if it was possible to use

    I would like to know if it was possible to use the same AirPlay network when you have two soundlink air of Bose, the same music at the same Time for both

  • Loosing faith with T/M & M/L

    HI,       i am having to re-fromat my NEW Samsung M3 usb 3.0 1tb external HD for the 3rd time in 3 months. I use it with Time machine. A while back i spent 1 hour on the phone with a senior apple care person. He recommended the longer erase, its doin

  • Imageicon created from byte array gives -1 height and -1 width...

    Hi, when I am trying to create an imageicon object from byte arrays the length and width of the object are coming to be -1.So I am unable to resize the image.. This is happening for only few images, most of them are working fine and I can resize it..