BC4J many-to-may accessing the association the intersection attribute

Hi!
I have a manay-to-many relation in DB between Tab A, Tab B with the intersection Tab C.
I have implemented the relation in BC4J using association and viewlink.
Using A_ViewObject I can now access all the B_ViewObject.
I need to get the value of the intersection attribute(that is the Primary key of the corresponding row in the intersection tabel(Tab C).
regards
RT

Does anyone have details on how to do this? I had the same problem recently and my "solution" was to create a new VO for the intersection table and then insert/remove rows directly to that to manage the relationships. It seems rather redundant to have to do it this way.

Similar Messages

  • BC4J many-to-may accessing the

    Hi!
    I have a manay-to-many relation in DB between Tab A, Tab B with the intersection Tab C.
    I have implemented the relation in BC4J using association and viewlink.
    Using A_ViewObject I can now access all the B_ViewObject.
    I need to get the value of the assocation(that is the Primary key of the corresponding row in the intersection tabel(Tab C).
    regards
    RT

    I've had the same problem.
    I'solved it using three different views. In your case there is a view "AuthorsView", a "BooksView" and a "AuthBookRelationsView", all of them connected with the appropriate one-to-many Associations and ViewLinks.
    Creating a new many-to-many Association means first creating or selecting the corresponding rows in "BooksView" and "AuthorsView" and then inserting the correspondig row into the "AuthBookRelationsView".
    The many-to-many association or the many-to-many view can only be used for reading, but not for creating a new many-to-many association.
    Don't know if this is the best way to do, but however, it works! I think that BC4J might have been a little bit smarter here...
    By the way, I'm using a cascading delete constraint on both associations to the intersection table. This results in both associations being composite associations, which itself is a source of a lot of trouble with BC4J. But however, it is quite useful as I do not have to bother with maintaining the intersection table once one of the master entities is deleted. Please ask, if you need more details...

  • I keep getting this error in Dreamweaver when I am trying to upload my website?  Can you tell me what I am doing wrong?  here is the error message: /html - error occurred - Unable to create remote folder /html.  Access denied.  The file may not exist, or

    I keep getting this error in Dreamweaver when I am trying to upload my website?  Can you tell me what I am doing wrong?  here is the error message: /html - error occurred - Unable to create remote folder /html.  Access denied.  The file may not exist, or there could be a permission problem.   Make sure you have proper authorization on the server and the server is properly configured.  File activity incomplete. 1 file(s) or folder(s) were not completed.  Files with errors: 1 /html

    Nobody can tell you anything without knowing exact site and server specs, but I would suspect that naming the folder "html" wasn't the brightest of ideas, since that's usually a default (invisible) folder name existing somewhere on the server and the user not having privileges to overwrite it.
    Mylenium

  • Unable to update this object because the following attributes associated with this object have values that may already be associated with another object in your local directory services

    Getting this error from DirSync
    Unable to update this object because the following attributes associated with this object have values that may already be associated with another object in your local directory services: [UserPrincipalName
    [email protected];].  Correct or remove the duplicate values in your local directory.  Please refer to
    http://support.microsoft.com/kb/2647098 for more information on identifying objects with duplicate attribute values.
    Quick eyeball and couldn't see the cause in the user account so used the script here:
    http://gallery.technet.microsoft.com/office/Fix-Duplicate-User-d92215ef
    And got these outputs:
    PS C:\Windows\System32\WindowsPowerShell\v1.0> Export-OSCADUserPrincipalName -UserPrincipalName "[email protected]" -Path .\outputs.csv
    WARNING: Cannot find objects with specified duplicate user principal name
    [email protected]
    Found 0 user(s) with duplicate user principal name.
    Where to from here?
    Richard P

    Hi,
    Did you talk about the Microsoft Azure Active Directory Sync tool ?
    If yes, this issue occurs if one or more of the following conditions are true:
    An object in the on-premises Active Directory has an SMTP address that's the same as the SMTP address of the object that's reporting the problem.
    An object in the on-premises Active Directory has a mail attribute that's identical to the object that's reporting the problem.
    An object already exists in your organizational account and has the same SMTP address or mail attribute as the object in the on-premises Active Directory
    More detail information, please refer to:
    http://support.microsoft.com/kb/2520976/en-us
    [Troubleshooting] Unable to update this object because the following attributes associated with this object
    http://blogs.technet.com/b/aadsyncsupport/archive/2014/05/20/troubleshooting-unable-to-update-this-object-because-the-following-attributes-associated-with-this-object.aspx
    Regards.
    Vivian Wang

  • How do i fix this: error message- index.html - error occurred - An FTP error occurred - cannot put index.html. Access denied. The file may not exist, or there could be a permission problem. Make sure you have proper authorization on the server and the ser

    that is...
    index.html - error occurred - An FTP error occurred - cannot put index.html. Access denied. The file may not exist, or there could be a permission problem. Make sure you have proper authorization on the server and the server is properly configured.
    File activity incomplete. 1 file(s) or folder(s) were not completed.
    Files with errors: 1
    index.html
    thanks!

    It's under More Options triangle in the Manage Sites panel.  See screenshot:
    Nancy O.

  • Contribute 6.5 "Access denied. The file may not exist, or there could be a permission problem."

    Help.
    After being forced to upgrade to 6.5 since my version would not work after upgrading to Mavericks OS I get the "Access denied. The file may not exist, or there could be a permission problem." error on one of the sites I manage when trying to publish an edit to a page.
    I have looked at prior fixes but none seen to apply to version 6.5
    I have uninstalled, reinstalled and now have a fresh install on a new computer and still the issue persists.
    I'll appreciate any help to resolve this issue.
    Thanks,
    Kort

    I encountered the same error message, then remembered I had changed the name of my hard drive.  I changed the HD name back and was able to access.  Now trying to figure out how I can change the path to my local files so that I can re-change my HD name.

  • How many computers can be written into the access list?

    I remember the old ABS allowed pretty many computers, much over the normal amount of 20. Does anybody know how many computers can be written into the new ABSE n?

    Please be aware that MAC address filtering (access control) provides no security at all. All of the wireless traffic is sent unencrypted allowing anyone monitoring it to read your data.
    MAC address filtering ONLY prevents unlisted MAC addresses from connecting to your base station. However the MAC addresses are broadcast between connected clients and the base station. Therefore anyone monitoring your wireless traffic can learn the allowed MAC addresses. After they learn an allowed MAC address, they can clone that address and connect to your base station.

  • Hi i Bought a secondhand I Phone 4 And i cant access my i cloud it says i have to many accounts how can i reset the i cloud?

    Hi i Bought a secondhand I Phone 4 And i cant access my i cloud it says i have to many accounts how can i reset the i cloud?

    Call Apple sales support. Something apparently went wrong in your transaction. In the USA the number is 1-800-676-2775.
    Best of luck.

  • Is there any way I can control which specific access point I connect (and stay connected) to from amongst a set of access points with the same SSID?

    I'm working from a boat in a harbor in which the ISP has deployed numerous access points around the periphery.  All the access points share the same SSID and each is configured to use either channel 1, 6 or 11.   From my location, there are over a dozen of these access points "visible" (based on the the output of WiFi Scanner) with a range of RSSI and S/N values that vary over time.
    The ISP has told me that the quality of my connection should be "perfectly fine" for any access point with an RSSI value better than -75, but I know from experience that my connection quality is miserable (i.e. < 50Kbps download) for almost all of these, including those with RSSI values better than -75.  There is at least one exception, however, which gives me on the order of 2Mbps download, which is "great" in this context.
    I've tried using a more powerful USB antenna plugged into my MacBook Air (mid 2011), but as far as I can tell, it really doesn't make much difference.  Neither does my location within the boat.   The overriding factor seems to be which access point I happen to connect up to.
    I should point out that the closest access points are about 75 yards away, with many of them being several hundred yards away or more.  I'm guessing that even though the signal strength of some of the distant access points is causing them to get "chosen" some times, the results are unacceptable due to the distance.
    I'm hoping that I can determine, through experimentation, which access point(s) provide(s) acceptable performance and then configure my Mac to limit my connection to those points through whatever mechanism I need to use (e.g. channel, MAC id, etc.).

    Establishing a wireless connection with a client computer is left to the access point for various reasons. One reason that your Mac may not connect to the strongest access point is that it may have reached a limit of the number of clients it can serve, leaving it unable to accept a connection with another. The limit may not be very large.
    Suppose that happens, and your Mac establishes a connection with a more distant access point having a weaker signal. Then, suppose a client drops off the network. Doesn't this mean your Mac will switch to the stronger access point? Not necessarily. The throughput delivered to and from your Mac would have to drop below a threshold specified in the AP for it to drop the client, leaving your Mac free to connect with another one. The reason for this is to prevent rapid switching from one AP to another in an area in which two signals are of approximately equal quality. If that were to occur the frequent and repetitive handshaking between the two devices would slow throughput to zero.
    In an environment in which several access points are broadcasting the same SSID, Apple provides no insight as to how it determines which access point to choose. This is the reason I suspect this "choice" is a function of the router, or access point. The connection originates with it, not the Mac.
    Now, what would solve your dilemma would be to determine a way to control the access point with which your Mac connects, by specifying the access point's unique MAC address for example. In this happy circumstance, you could maintain an editable "whitelist" or "blacklist" of the harbor's access points and be able to choose which among them you prefer.
    I do not believe OS X maintains such a record of MAC addresses though, only those of the routers it uses. If I am correct about that, such a solution is unlikely to exist. Don't let that discourage you from searching for one though... I would concentrate on something like "selecting access point by specific MAC address".
    I did find this patent application though:
    Roaming Network Stations Using A Mac Address Identifier To Select New Access Point
    Perhaps it's a start

  • TS4062 I cannot get a WiFi signal, which means that I cannot access all of the other features on my ipod. Is there anyway I can access all of the other features without Siri or WiFi?

    I cannot get a WiFi signal, which means that I cannot access all of the other features on my ipod. Is there anyway I can access all of the other features without Siri or WiFi?

    Hi. The two user tips both describe a sequence of steps that should get your library from the point where it threatens to wipe data from your device to where it is syncing normally, while recovering as much information as possible. It may still be necessary to wipe and reload the device but this should only take place once all the data that can be recovered has been recovered.
    Doing step 1 of 8 and then complaining things aren't the way you want them to be yet strikes me as premature...
    Since you appear to have all your media content, and we are discussing an iPod classic, not an iOS device, the main worries are already taken care of. What's left is ratings, playcounts, playlist membership and checked status. Since your device holds only part of your library at best you could only recover the missing data for the content that is on the device using third party tools.
    Recreating the previous checked/unchecked status of every track in your library from where you are now may not be that easy. Syncing with selected playlists has many advantages, one of which would have been that you would have a named playlist that could have been retrieved by 3rd party software if you had used this method.
    You haven't explained what caused your problem in the first place, but if you have a Previous iTunes Libraries folder holding old copies of your iTunes database (generated with each iTunes update) then it would be possible to restore the most recent of these and then update the library with any changes in your media folder.
    BTW Apple doesn't offer free support for this kind of issue with iTunes.
    tt2

  • WHEN IS THE ASSOCIATED PRESS WIDGET GOING TO BE FIXED

    It has now been 14 days since my Associated Press Wiidget is not coming up.  I have emailed forum first it was put back up then taken down due to programming showing up every  day with only February 22, 2012 news! 
    I am beside frustrated every day I go to check for news it is still not operational and not showing up. I live in area code 08879.
    14 days should be long enought for the Video Programming Dept. to Fix the Problem.
    If it is not fixed soon, I may just have to cancel my Fios Service  For the money I pay every month we should at least be able to access the Associated Press Widget.  In my opinion Fios Service is going downhill. Very Disappointed I am a Loyal Verizon Customer. PLEASE FIX THIS.  I don't think I am being unreasonable 14 days I have been patient.Thank You.

    While waiting for the fix to come, guess what I got myself today??
    An HTC One S !!
    It's a beautiful phone, slim, light, solid and it has a FUNCTIONAL led on ICS. That was the only phone I could find fitting my requirements and not be a Sony phone. Usually only Sony would made small and powerful phone but this HTC is kewl. Giant phone ain't for me. It's small enough, fast enough, had led, has a good 8mp camera, looks good and has excellent battery life. Heck, I've been playing with this thing all day and it still has plenty of juice left. And wow this thing is fast on ICS. Ok it has a better processor though, but I think HTC has been doing a good job on the software side too. Everything is fast and doesn't use tons of memory like the some of the apps that comes on the Ray. And there are no blatant bugs!
    I am going to miss the small size and the super sharp screen on my Ray though. The screen on the HTC is great, but just not as sharp. I really liked the form factor of the Ray, but that LED bug just killed me. Like Harianto said above, have wings but can't fly.
    If you come from the Xperia Ray and like small phones, the One S is a nice upgrade.
    You guys should be happy now, I won't be bugging anyone on this forum anymore! Don't know how is the support for HTC but I sure hope it's better than here. But if there ain't no bugs, I won't even need support.
    Cheers people and hope you guys get your fix eventually!

  • Accessibility Feature alters the Theme

    Hi,
    As a portal administrator, i have enabled the accessibility feature for an end user.  Once i do that, the end user's portal desktop masthead looks different than before.  There is a wide white space that is supposed to be green.
    Please let me know if the accessibility feature affects the portal theme in any way.
    Thank you,
    Ghizlane Idrissi

    When I looked into the HTML code of the masthead, the table created in accessibility mode excluded a css class.  This class determines the background image of the masthead.  Without this class, the masthead background will be blank (white).
    I'm not sure if this bug is fixed in later versions, but this is the bug fix.
    Portal masthead component - Accessibility bug fix
    1. As Administrator,
    Go to System Configuration -> Support -> Portal Runtime -> Browse Deployment -> temp browse
    2. Download com.sap.portal.masthead.par.bak
    3. Import .par in NWDS.  Remember to extract and rename file before.
    4. Import com.sap.portal.navigation.masthead_core.jar into dist/PORAL-INF/private/lib from original package.  This can be done by renaming the par to zip, extracting, and navigating to the proper directory.  NWDS may not have imported this file, which may cause errors later.
    5. Open dist/PORTAL-INF/jsp/HeaderiView.jsp
    6. In Line 501, add class="prtlHdrWhl" into the table statement.
    e.g. <TABLE width="100%" border="0" id="myTable" class="prtlHdrWhl" ti="0" ...
    7. Save and deploy project with new name.
    8. Create and modify iView, framework, desktop, master rules with the new masthead par accordingly.  There are many tutorials online.

  • Too many columns to be shown in the Enterprise Manager 11g?

    Hello,
    we are having some problems with the Enterprise Manager 11g. When we want to VIEW DATA of a specific table, we get this exception. We think that our table has too many columns to be displayed. If we delete some of the columns, the data is shown in the enterprise manager. But this cannot be a solution for us. Can you help us with this point?
    2009-08-03 10:07:04,210 [EMUI_10_07_04_/console/database/schema/displayContents] ERROR svlt.PageHandler handleRequest.639 - java.lang.ArrayIndexOutOfBoundsException: -128
    java.lang.ArrayIndexOutOfBoundsException: -128
         at oracle.sysman.emo.adm.DBObjectsMCWInfo.getSqlTimestampIndexes(DBObjectsMCWInfo.java:194)
         at oracle.sysman.emo.adm.schema.TableViewDataBrowsingDataSource.executeQuery(TableViewDataBrowsingDataSource.java:167)
         at oracle.sysman.emo.adm.DatabaseObjectsDataSource.populate(DatabaseObjectsDataSource.java:201)
         at oracle.sysman.emo.adm.DatabaseObjectsDataSource.populate(DatabaseObjectsDataSource.java:151)
         at oracle.sysman.emo.adm.schema.DisplayContentsObject.populate(DisplayContentsObject.java:369)
         at oracle.sysman.db.adm.schm.DisplayContentsController.onDisplayAllRows(DisplayContentsController.java:303)
         at oracle.sysman.db.adm.schm.DisplayContentsController.onDisplayContents(DisplayContentsController.java:290)
         at oracle.sysman.db.adm.schm.DisplayContentsController.onEvent(DisplayContentsController.java:136)
         at oracle.sysman.db.adm.DBController.handleEvent(DBController.java:3431)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:577)
         at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:205)
         at oracle.sysman.db.adm.DBControllerResolver.handleRequest(DBControllerResolver.java:121)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:781)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:337)
         at oracle.sysman.eml.app.Console.doGet(Console.java:318)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.sysman.eml.app.EMRepLoginFilter.doFilter(EMRepLoginFilter.java:109)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:153)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.eml.app.BrowserVersionFilter.doFilter(BrowserVersionFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:102)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)When we select the table via SQL, everything works fine.

    Hi,
    I'm Galit from the QE team of VIN.
    All the things that you've described are correct.
    It is actually an edge case where the only VM, that the manual App can be managed from its Map view, was removed from the App.
    The Manual App management is as designed, and may be changed in the future.
    There are 2 ways to overcome this situation:
    1.You can, as you stated, create another Manual App with similar name and remain with the "Zombie App".
    2. To run a specific command that will remove the Zombie App from the DB.
    Please note that option no. 2 involves using an API that we do not publish.
    If you would like to use option no. 2 contact me in private and we will see about supplying the relevant commands to run in order to delete the "zombie" application.
    Thanks,
    Galit Gutman

  • Access Subform - Can the Subforms Source Object be defined by an SQL SP result set?

    Hi Guys,
    I can't clearly answer this question with a yes or no.
    I have an Access Sub Form that I am populating with a record set from a Store Procedure. Fairly early on I discovered that for this to work correctly the Source Object for the Sub Form Control must be set first, and most examples (including a working version
    of my own) achieve this by defining an Access Query and setting the Source Object to this.
    What I would really like to do is define the Source Object using the results of a SQL Store Procedure using ONLY code within VBA.
    Now before anyone starts providing alternatives "why don't you just..."  I'm noting now that I have a semi complex solution that makes most non-VBA based approaches ineffective. While it does work at present with an Access Query I'm needing
    to make the result set more dynamic meaning in future I will not know how many columns will be returned or the name of them, only the SP will have this information.
    Thanks in advance!

    Well after much trial and error I've got something which does what I want, although I'm not thrilled that I couldn't do this via my existing ADODB connections, in any case example provided below;
        Dim db As DAO.Database
        Dim qdf As New DAO.QueryDef
        Set db = CurrentDb()
       'qryMyTest refers to a dummy Access query (non pass through). 
        With db.QueryDefs("qryMyTest")
            .Connect = CurrentDb.TableDefs("tblSomeTestSQLTable").Connect
            .SQL = "exec sp_MyTestSP"
            Me.subfrmTest1.SourceObject = "Query.qryMyTest"
        End With   
        Set qdf = Nothing
    I've also marked your response Alphonse as an answer as it lead me onto the right path.

  • Can't move any files... "The operation can't be completed because you don't have permission to access some of the items."

    This is a strange one... I just recently did a complete format/reinstall of Lion because of very poor performance after upgrading.
    So I'm on a totally fresh system, no TimeMachine restore or anything. I've installed all my apps from scratch - no prefrence file backups or anything. Everything is fresh.
    Yesterday I tried to copy a file from one folder to another and I got the error "The operation can’t be completed because you don’t have permission to access some of the items". Checked file permissions... repaired disk permissions... made sure I was logged in as admin (I only have one account)... everything looks good.
    This is now happening when trying to copy any files anywhere on my machine... Very frustrating.
    There's a couple strange side-effects I've noticed:
    - I can move & copy files just fine in terminal... without sudo...
    - The little lock icon in the bottom right of the Get Info window doesn't do anything - I can't unlock it. I can still edit the permissions for the file/folder but I can't select the "apply to enclosed items..." option.
    Does anybody know what the heck is going on?

    jsd2 wrote:
    Try creating a new admin user account, logging into it, and then creating some new items on the Desktop and elsewhere. Does the same thing happen there?
    Ok the strangeness continues!
    I created a new "TestAdmin" account, but it doesn't show up in the Users & Groups prefrences sidebar... The /Users/testadmin folder was created, but the account doesn't show up in the prefrences or login window...
    I tried a reboot to see if the account would show up and it still doesnt.... However after the reboot I am now able to copy files again!
    I'm paranoid that the problem will show up again since I have no idea what fixed it. I tried rebooting previously after repairing permissions which didn't solve the issue so it's not like I haven't rebooted since it started.
    And now I have the issue of not being able to create user accounts.
    A little dissapointed with Lion to be honest... the new features are cool but there are so many little bugs it really feels half-baked.

Maybe you are looking for

  • External display on MacBook Pro

    I'm using the latest MacBook Pro 17" 2.5GHz along with an external 22" digital display (which isn't from Apple). _First issue_: the system is not detecting the loss of the external display when it is turned off or unplugged. this is not solved by cli

  • Sender Mail Adapter consegue ler emails com HTML?

    Olá pessoal, Encontrei um "issue" onde estou deconfiado de uma limitação do Mail Adapter. Gostaria de ouvir suas opiniões. O cenário usa um Canal de Comunicação do tipo Mail com XIPAYLOAD em uma caixa POP3, com as seguintes variantes: - com ou sem Ma

  • Who will sync who?

    My G5 died a few weeks ago but luckily all my music was saved via Time machine. I imported it back into iTunes but it didn't have info such as play count, dated added. My ipod still has all that info on it as it was was synced with my old G5. If I hi

  • Are function keys different on Air?

    I am trying to use Adobe InDesign and the keyboard commands for paragraph styles are not working. Shouldn't I be able to use the keys "function/command/j" for example to duplicate "command/1" on my iMac?

  • Laserjet 2605dtn fading fix.

     I purchased my printer 22/12/08 it has had very little use ( still on the original toners) After printing off some photos with washed out colours I thought I needed to adjust some settings somewhere. It turns out the fault lay in the printer itself