One to Many And Many to Many Association(jdev 11.4 ps3)

Hi All,
I was trying different types of ADF-BC implementations, I am stuck with following
1)     One to Many Association
a.     Order – OrderItem ( Join over two tables, One OrderVO should have List<OrderItemVO> orderItems
b.     Employee-Manager (Self Join on the Employee Table, One Employee should have List<Employee> subordinates [0 to *])
c.     Manager-Employee (Self Join on the Employee Table, One Employee should have List<Employee> managers [ 0 or 1] )
2)     Many to Many Association
Would be very helpful if you could provide any Blog published or Some sample implementation of the above.

Would be very helpful if you tell us which version of jdev you are looking at.
All this is described in the docs http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcintro.htm#sm0051 to start with and http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcentities.htm#sm0124 to follow up.
Timo

Similar Messages

  • Is it better to make multiple arrays of data or one big array and access it many times?.

    I am going to acquire up to 5 samples per second of 50 channels over 30 minutes then average ten of the channels and generate a report.  There are other bits of information needed to complete my task and graphs.  Would it be "faster" for the PC to have one large 4d array with all the information or faster to make several separate arrays?  Would it be more reliable to have one or many(fewer code lockups)?
    Also,
    Yes, I do mean to be using labview.  I expected this crowd to have a different perspective (and I could not find LV blog).
    For each channel, I want to scale per 6 other variables per channel(nominal high, mid, low, and reading high, mid low)  So there is the channels and time, then there is the calibration values, then there is the calibrated readings.  If I put all that along with my test information in one large matrix, it would be simpler for me to remember where in the matrix each item is, but if it is in several matrixies then the "active" matrix is smaller while the other information is not used.
    The sales rep for NI was indicating the computer power is much higher than I am used to.  (I have not started programming yet, I am preparing for a huge project on a "new"(2 year old)PC.)  I am trying to understand just how much power I am missing from my days of gwbasic, Q-basic and our current Visual Basic 6.0 running on XP.  This matrix question is new to me.
    Solved!
    Go to Solution.

    I don't see where you are getting 4 dimentions for your array.  I only see 2: channel and sample.
    From what you are describing, I would put any "support" information for a channel into a cluster.  So you should have an array of clusters to contain your support data.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Select with One-to-Many and Many-to-One without repeating

    Hi
    I have a customer who needs a report two sides left and right, but allowing for One-to-Many and Many-to-One relationships in the one report.
    A little background:-
    This has do do with listings on land and buildings.
    One building can be built on a few pieces of land.
    Similarly, there can be several buildings on one piece of land.
    What is required is a listing of buildings on the left, land on the right, but without repeating the "single line entries" either left or right.
    For example Building1 is on Land1 and Land2, and Building2 and Building3 are built on Land3.
    We need:-
    Building1 Land1
    ________Land2
    Building2 Land3
    Building3______
    The ___ just used for spacing so you get the idea ;)
    Essentially - a "break by" on columns on the left and right.
    The Buildings and Land are in different tables, with a link table - one row for each link.
    Any ideas?
    Thanks
    Mike

    To jitu.jk - first, this is not in SQL*Plus - its a report in APEX - second, I see no way to break on the left and the right in the same select.
    Maybe there is a way.
    To Etbin
    This is a very inovative solution - I've tried it out and the result is:-
    BUILDING LAND
    _____Land 4
    _____Land 3
    _____Land 5
    Building 2 Land 4
    Building 3 Land 1
    _____Land 4
    Building 4 Land 4
    Building 5 Land 3
    _____Land 4
    (The underscores I put in for spacing - not perfect but you get the idea - hard whe you write the reply in a fixed space font and it's displayed in the forum in variable space font!! ;)
    9 rows selected.
    This is not quite the desired result - in your list of associations, we have Building1 associated with Land 3,4, and 5.
    So for Building 1 we should have:-
    Building 1 Land 3
    ________Land 4
    ________Land 5..........
    But your result doesn't include Building 1 at all.
    The other requirement is that no building or land is ever repeated - so I came up with the concept of "groups".
    Starting with one building - I find all pieces of land that are associated - listing them on the right (without repeating the building.
    I then find any other buildings asociated with any of the land records that the first building was associated with.
    These are listed on the left - without repeating the land records on the right.
    This group is given a unique identifier of the minimum association ID (my associations have ID's).
    This all done, I use the unique ID as a break column ans summarise additional columns (area, value etc) below each group.
    Because of the summaries - adding area and value etc, I can't have any building or land duplicated as I would then "double count" the area, value etc.
    Maybe you method can be made to work with some tweaking.
    Very clever indeed - forums need great answers like this - it keeps us going.
    Thanks again
    Mike

  • Hello guys..!! I have got my new  iphone 4 2 days ago.The same day it got a problem of auto restart in every 1, to 2 minutes. I updated and restored it many times...but of no use... can any one help me how to solve this problem..!!

    Hello guys..!! I have got my new  iphone 4 2 days ago.The same day it got a problem of auto restart in every 1, to 2 minutes. I updated and restored it many times...but of no use... can any one help me how to solve this problem..!!

    Go to Settings/General/Reset - Erase all content and settings. the connecto to iTunes and restore as a New phone. Do not restore any backup. If the problem persists you have a hardware problem. Take it to Apple for exchange.
    This assumes that the phone is not hacked or jailbroken. If it is you will have to go elsewhere on the internet for help.

  • When ordering enlarged photos from iPhoto, must I purchase them one at a time and pay a shipping fee for each and very one of them.  Sort of a ripoff but I can't figure how to purchase many and pay one shipping fee.

    When ordering enlarged photos from iPhoto, must I purchase them one at a time and pay a shipping fee for each and very one of them.  Sort of a ripoff but I can't figure how to purchase many and pay one shipping fee.

    You may have better luck posting in the iPhoto forum if no one on this forum is able to assist. I'm sure you are doing something wrong though.

  • Two tables that have both "many-to-many" and "one-to-many" relationship

    i have the following two tables one represents the users and the other represents articles where each article can have one author(user) and of course the users can author many articles, so the relationship is one-to-many:-
    1. Users:-
    User_id (primary_key)
    User_name
    User_sex
    user_address
    2.Articiles:-
    Article_id
    Text
    Author_id (foreign key to the users.user_id)
    but the problem that i have faced is that on another requirement each articles can have multiple approval (users) before being published, so in this way the relation have became many-to-many, so i have created a third table named "approvals":-
    3.Approval:-
    approval_id (foreign key to the users.user_id)
    article_id (foreign key to the articles.article_id)
    level.
    so is this a good approach to flow , or there are another way that i can better build these tables.

    sb92075 wrote:
    approval_id (foreign key to the users.user_id) I am not clear on data element above.
    I thought USERS were really AUTHORS. yes the authors are users , and the author id is exactly the same as user id.
    and any user can be author if a flag in the users table is set to yes and he is involved in a workflow.
    so do authors approve their own articles? no
    do non-authors approve articles?
    What is "level" in APPROVAL table?
    What is PK for APPROVAL table? level indicates the workflow steps if there are multiple steps in the workflow ,for example the first approval is on level one, and the second approval is on level two,etc
    the primary key for the approval will be article_id and the user_id

  • Get i pad 4G 16 giga and i have many family photos and prived data then i will set up my business E-mail so any one can to see my data ??

    i get a prived i pad 4G 16 giga and i have many family photos and prived data then i will set up my business E-mail so any one can to see my data ??
    i have to set up an application in my company server in  so i ask about does my ipad secured ? if my college in germany ( it managment ) can to see or show any data in my i pad or not because they can make that in my blackberry mobile device and some one hacked my facebook account and opened it outside divece so please tell me about details ASAP
    <Email Edited by Host>

    Set up as New now, or set up from iCloud back up if you have this. Then you can Restore from Back Up on iTunes at a later time.

  • I previously had safari as a brouser and had saved many favourites but it all disappeared one day and I have not been able install safari again can you help.

    I previously had safari as a brouser and had saved many favourites saved for quick brousing.  Safari disappeared and I have been unable to reinstall it after numerous attempts.  How do I proceed to get safari back?

    Ok, Anne.
    Get the eye fixed first. Follow Barbara B's suggestion.
    The problem is that download. Try to get an installation disk from Adobe ?
    Ps. My wife has used Elements 6 for 5 years without an issue, but, it was installed using the . Adobe Software disk. We found 13 was really not much better..as there was a problem with converting  Canon RAW CR2 files to jpeg
    If all fails you could return it for a refund which they will honour.. I did it with  Adobe Premiere Pro CS5.5 ,which did not have a stabilizer and could not handle anamorphic HD very well.. When the upgrade came it fixed everything and has run perfectly for nearly 5 years.
    You should be very pleased with Adobe Photoshop Elements 13, when you get it operating.  We have  run  Photoshop Elements for over 10 years and it is faultless, Nearly as good as ADOBE Photoshop Pro which is easier to use and over 10,000 + images have been processed .
    Incidentally, both Yahoo with Flicker, Flickr: bobdixphotographer's Photostream and Google Photos+ (PICASA) Photos - Google+  have inbuilt editors for free, but, there are limitations.
    Regards,
    Bob Dix Photographer/ Video Editor
    AUSTRALIA

  • I am trying to connect my ipod classic to a tv and have tried many cables including the Apple composite AV cable.  No success.  Any thoughts?

    I am trying to connect my ipod classic to a tv (sony bravia 1080p) and have tried many cables including the Apple composite AV cable with the 30 pin connector on one end and three RCA connectors on the other.  Audio works but video does not.  The ipod classic screen says to connect to device when it is already connected. No success.  Any thoughts?

    Hello, anabelleho. 
    Thank you for visiting Apple Support Communities.
    Here is a troubleshooting article that I would recommend going through when experiencing this issue.
    Apple computers: Troubleshooting issues with video on internal or external displays
    http://support.apple.com/kb/ht1573
    Cheers,
    Jason H.

  • All of a sudden my itunes wont come up when i hit the desktop icon. un and re installed many times, tried new users, it finally gave me "you need to reinstall sqmapi.dll " im a noob and i have know idea what that is or where i can get it. i cant open any

    all of a sudden my itunes wont come up when i hit the desktop icon. un and re installed many times, tried new users, it finally gave me "you need to reinstall sqmapi.dll " im a noob and i have know idea what that is or where i can get it. i cant open any file or library that has anything to do with itunes except safari and quicktime are fine. im about to pull out whats left of my hair.

    Okay, that's got one thing ruled out at least.
    Can you check something for me, big? I'd like to see if iTunes launches with the Bonjour Service disabled.
    In your Start menu, right-click Computer and select "Manage".
    Expand "Services & Applications".
    Open "Services". (Perhaps maximise the screen to better see what's going on.)
    Right-click the Bonjour Service and select "Properties".
    In the General tab, set the Startup type to "Disabled":
    ... and click OK.
    Restart the PC and try launching iTunes. Does it open this time?

  • HT201317 I have a MobileMe account and have shared many MobileMe Galleries.  MobileMe Galleries are going away in June.  How can I share a photo album with others using iCloud?

    I have a MobileMe account and have shared many MobileMe Galleries.  MobileMe Galleries are going away in June.  How can I share a photo album with others using iCloud?

    The new ios version of iPhoto allows sharing.  Here's a blurb from Apple's web site:
    There’s the old way of creating photo galleries, then there’s the iPhoto way. Select a group of photos and iPhoto automatically flows them into a beautiful journal that’s fun to personalize and share online. Touch a photo to make it bigger or smaller. Or drag it to a different spot on the screen. iPhoto adjusts the page around whatever you’re doing, so your journal always looks great. You can even add captions, maps, dates, and weather — giving family and friends the big picture at a glance.
    More things you can do:
    With iPhoto, there’s more than one way to share a photo. Post pictures directly to Facebook, Flickr, or Twitter. Play an impromptu slideshow on your iPad or iPhone. Or stream photos to your HDTV to give your big moments room to shine.
    I have not used ios version of iPhoto to share "journals" and I'm not sure this is part of iCloud or not.  You'll have to do a google search on "ios iphoto" and read up of this journal thing.  As far as I know, this is the only way of sharing photos.  I'm not sure whether other friends use a browser to view these journals or whether they need something special.  Any way - search around to find answers.

  • So I am trying to copy my hard drive "Macintosh HD" to an external hard drive, i want to use Terminal and have tried many ways. For example cp -r /Volumes/"Macintosh HD" /Volumes/"NO NAME". When i do it says No such file or directory. Ideas?

    So I am trying to copy my hard drive "Macintosh HD" to an external hard drive, i want to use Terminal and have tried many ways. For example cp -r /Volumes/"Macintosh HD" /Volumes/"NO NAME". When i do it says No such file or directory. Ideas?

    The reason that threadjacking is frowned on (as mentioned in the terms use which you can read by clicking the link to the right on this page) is for the most part a practical one:
    By starting your own thread your problem can get individual attention, focussed on your particular set of circumstances.
    By joining somebody else's thread it becomes tricky to answer more than one question at the same time, and can lead to confusion for both parties.
    So if you don't mind the minor inconvenience, please start your own thread (in the correct forum) so we can get to grips with your particular problem!

  • I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro D

    I need to convert PDF to Excel, however, columns and tabs make many merged cells and many blank columns. In addition to not separate the columns correctly, I see many not separate lines together in the same cell. I'm even thinking that Adobe Acrobat Pro DC has limitations. There is no way to define what points in columns to force break column? Nor create many columns that are useless? How does text to column in Excel, fixed size when we import text, and define where the breaks have columns?
    Google Tradutor para empresas:Google Toolkit de tradução para appsTradutor de sitesGlobal Market Finder
    Desativar tradução instantâneaSobre o Google TradutorCelularComunidadePrivacidade e TermosAjudaEnviar feedback

    PDF does not contain columns, rows, formats, styles, or other aspects of word processing or spreadsheet file formats.
    This is because PDF is decidedly not a word processing or spreadsheet file format or something "like" one of those.
    (see ISO 32000 for what PDF "is")
    What can optimize the export of PDF page content is to start with a well-formed tagged PDF (ISO 14289-1, PDF/UA-1 compliant).
    Without that export is what it is and one performs whatever content cleanup is needed using the native application for the export file (MS Word or Excel).
    Be well...

  • Final Cut Express keeps stopping and saying "Too many files open"

    Final Cut Express keeps stopping and saying "Too many files open". I don't see how this is the case as I only have the one project open...

    Try here:
    http://www.fcpbook.com/Misc1.html
    Al

  • Second day after updating to iOS 6 on my iPhone 4, my contacts have duplicated.  Probably not all but many, and my contacts already numbered in the thousands.  Please tell me there is an easy fix to this problem!! I already had to go through contact-by-co

    Second day after updating to iOS 6 on my iPhone 4, my contacts have duplicated.  Probably not all but many, and my contacts already numbered in the thousands.
    Please tell me there is an easy fix to this problem!! I already had to go through contact-by-contact when I bought this phone and added contacts from my Blackberry and MS Outlook on the phone.  Many duplicated at that time and Apple said the only fix was to go through each one and decide to keep or delete.  I really don't want to do that again!

    I had this problem while I had iOS 5.1.1 installed for many months. Fortunately I only have about 150 contacts and only about half of them duplicated. I found that my problem was the way thing were set up in Outlook. I removed all of the duplicates and corrected everything in Outlook contacts (ignoring the address book) and have not had the problem since, Hope this helps.

Maybe you are looking for

  • Need help in using SUBSTR

    Hi, I have a table tablea where a column stores values like ABC LTD,BCD LTD,CEF LTD,DEFEF LTD. I want the output as ABC,BCD,CEF,DEF i have used substr but could not frame the result as the last value stores DEFEF so culd not do substr(1,3) from the t

  • Adobe Flash Player don't show videos on YouTube after some point - Black Screen only

    Hello. I have a problem with Flash Player on YouTube. It has crashed many, many times so I decided to open this thread for let you know about it if you don't know already. Now, I've got no crash reports or anything but it crashes after some point. Ev

  • Iowait time out warnings in my alert log…

    New sqlplus connections were failing when Checked the alert log I see warnings… And some wait events in v$session_wait… So what could be the reason… will this be resolved if I add more redo log groups…. Or is the problem some where else if so what sh

  • PayPal buttons for iWEB 1.1.2

    Hi, I am new to iWEB, and I made this really cute website with some of my art, but I have run into a problem with getting it to show PayPal buttons. I have read posts for other versions, and I cannot find any kind of HTML editor, or HTML Widget to us

  • Design Database for Reports

    I am using sql 2008 R2 SE. Currently I have separated out our reports databases that are being used for internal purpose. However these report databases are logshipped secondary databases being hosted on secondary server. The reason I separated repor