How to Synchronize an association with Database Changes

Hi,
I was wondering if someone has any ideas about how to manage FK changes with the BC associations. In general my questions center around tooling support for re-factoring associations and syncing them with db changes. I have read the following but all these discuss entity attribute related changes which are simple to manage.
http://download.oracle.com/docs/cd/E14571_01/web.1111/b31974/bcentities.htm#ADFFD169
http://jdeveloperfaq.blogspot.com/2010/02/faq-15-how-to-synchronize-adf-entity.html
Re: How to manage ADF BC components in the case of datamodel changes
I have 4 use cases.
Case 1: When an association is added to the db, how does one bring it to the BC layer.
Case 2: Deletion of an association from db is easy to manage because once it exists in bc layer, it can be treated as a valid one at the model later regardless of its existence on the db.
Case 3: When an association is modeled in BC layer and a corresponding FK does not exist in DB. How does one turn that association into a physical FK in the db if one wants to install a FK. What is the naming convention for installing such a db FK constraint that can sync easily with tooling. I understand that it is not necessary to have a physical FK as the BC layer will take care of enforcing the relationship. But my requirement is that first the modeling at bc layer can go on and then the constraint can be implemented at a later date.
Case 4: When a FK is renamed in db how does one reconcile that with a previously created association at the model layer based on an old fk with a different name.
Thanks,

The synchronize with DB will pick up new FK defined in the DB and will suggest to add them to your ADF BC layer.
You can also generate DB objects from your ADF BC layer.
Drag your ADF BC into an ADF BC diagram, select all of them, right click and select Generate Business Object->Database Objects
This will create the objects in the DB - note though that this will override your DB objects.

Similar Messages

  • How to Synchronize Test Instance with Production database on regular basis.

    Hello
    How to Synchronize Test Instance with Production database on regular basis.
    I want to update my Test Instance with Production ERP on daily basis without downTime.?

    Hi,
    I recomend to configure physical standby database for your production and when ever you requir open standby Using a Physical Standby DB in Read Write Mode and Flashback DB, so that you can revert all the changes back and put the db in sync. Please follow below metalink notes.
    Business Continuity for Oracle E-Business Release 12 Using Oracle 11g Physical Standby Database (Doc ID 1070033.1)
    Business Continuity for Oracle E-Business Release 11i Using Oracle 11g Physical Standby Database - Single Instance and Oracle RAC (Doc ID 1068913.1)
    Business Continuity for Oracle Applications Release 11i, Database Releases 9i and 10g (Doc ID 216212.1)
    update my Test Instance with Production ERP on daily basis without downTime.?With zero down time is not possible I think.

  • How to synchronize Outlook 2010 with SAP Calendar

    Hello colleagues,
    How to synchronize Outlook 2010 with SAP Calendar??
    Thanks

    Install MfE (Mail for Exchange), then follow this: http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=147951
    You can sync your mail, contacts and calendar with Google Sync. Tasks and notes are not supported. (Notes syncing is not possible with MfE anyway.)

  • How synchronize EJB diagram with database

    hi
    i need synchronize EJBv3.0 entity diagram with database but when i click in diagram the connection of database is deactive.
    in BC diagram e synchronize entity with database with not problem but ejb entity i not, why?
    i work in Jdev 11.1.1.0.2.
    best regards

    hi ...
    i change the database table and i want to refresh the EJB entity, how do this?
    best regards

  • How ADF BC can cope with unexpected changes to the underlying database

    Hi all,
    i have been experimenting with Fusion Web Applications based on ADF BCs for a few weeks now. The framework is, indeed, very powerful but i wonder if it is flexible too and, in particular, if it is able to smoothly adapt to changes occurring on the underlying database. I have some doubts about that cause, in some circumstances, i found myself in the need of modifying the database structure (removing or adding columns or constraints to tables) and, though i was able to quickly and easily reflect those changes to entity and view objects thanks to ADF synchronization, the consequent adaptation of the existing JSPXs based on the previous definition of the view objects was quite painful: i found very hard to reflect the changes to the JSPXs and, in some cases, i had to rewrite the pages from scratch!
    Since the company i work for is projecting to use ADF for realizing a web application backed by a very large database (which i bet will undergo to numerous changes during the development phase!) i'd like to know if there is something i'm missing here and to ask you some advices on the recommended approaches to develop agile and flexible Fusion Web Applications with ADF BCs.
    Thanks in advance, bye!
    Fabio

    user1113055 wrote:
    ... the consequent adaptation of the existing JSPXs based on the previous definition of the view objects was quite painful: i found very hard to reflect the changes to the JSPXs and, in some cases, i had to rewrite the pages from scratch! You will need to be more specific about the issues that you have encountered. Synchronization and refactoring is supported in JDeveloper for the model, the view and the controller. For what it's worth, take a look at these entry-level posts that could provide some additional inside:
    http://jdeveloperfaq.blogspot.com/2010/02/faq-15-how-to-synchronize-adf-entity.html
    http://jdeveloperfaq.blogspot.com/2010/04/faq-20-how-to-refactor-adf-components.html

  • How to Synchronize cube measures with relational fact tables?

    Dear all,
    I built a simple analysis cube on Oracle 10g R2 using AWM.
    The problem is when I change in the column associated with a base measure of my cube and then do cube or measure maintenance using the maintenance wizard of AWM, the measure value does not change and does not reflect the changes i made in the fact table.
    Please tell me how to keep the cube measures on sync with the fact table columns
    Thanks for helping

    Hi there,
    if you delete data in your fact table, i would asume that you have to delete the data in the cube, too. This is not done by "maintain cube".
    According to your load strategy you have delelete the old data e.g. for the whole cube or just for a given time data (day/month).
    You can use the dml command "clear" or just search in this forum for "clear cube".
    Maybe this helps you to "synchronize cube".
    If not, the questions would be:
    Is new data loaded in the cube correctly?
    Is updated data loaded in the cube correctly?
    Is data in the cube, which is not present in the fact tables?
    Good luck!
    Ed

  • Risks associated with database refresh.

    Hi experts,
    I need to clarify a  doubt .I have a cloned SAP BW system (from another system i.e SAn to SAN copy)and then after few months after the first clone I need to refresh the database(Oracle 10 G).The reason being I will have some changes in data at the source system from where it was copied earlier.I shall be applying the application changes by tracking the transport requests(from the original system).
    I need to clarify if we don't refresh the whole system again  by SAN to SAN copy and then do  a database refresh will there be any problem .Is there any risk associated with it.
    Will the requests be available to me on the monitor with the new data or there will be some issues.
    A quick response shall be very useful.
    Shailja.

    Hello,
    Orders for Production , Maintenance, Deliveries, Transfer Order  etc. are created according to the factory calendar .
    You must be sure that all operations can be carried out in the seven days of the week (e.g. deliveries), because SAP can be scheduling aTransfer Order for a Sunday and somebody can be calling you for fixing the issue!
    The normal case is that some operations can take place in the weekend (Production, Maintenance) but other Logistic Operations ( Deliveries) are done only from Mo to Fr. If this is your case, I would create an additional seven days calendar and assign it to the work centers in Production and maintenance, but the Plant would remain linked to the old five days calendar
    Hope this can solve your issue.
    Dario

  • How to identify files associated with apps?

    Hello all -
       I am considering buying a new Mac mini which would come with Yosemite.  My existing mini (mid 2011, Lion 10.7.5) has a lot of apps I do not wish to migrate, so I think I am stuck with manually reinstalling each of the apps I want on the new computer.  How do I identify the necessary files associated with these apps (preferenes, app support, etc.) so I can copy them over after reinstalling on the new computer?  Is there any way to track what files were installed along with the app when it was first installed?  Anyone familiar with the claim of CleanApp to log all associated files with an installation (at time of install), or any other software that does this?
       Thanks - Randy

    Thanks again Arthur for your response.  I looked at RoaringApps but was not sure if I should enable the real time or just use basic.  Real time seems to require a lot of downloading (and modification?)   What do you recommend - Real TIme or Basic?
    As far as SunnyMenu, it is old but has worked flawlessly through and including Lion 10.7.5.  The only alteration of the system is that it is added as a startup item in my User in System Preferences.  It does not change the GUI, but adds menus (that you can customize) in addition to, rather than changing what System X does.  The Dock will not accomodate nearly as many items and SunnyMenu allows for nested subfolders of menu items.  I find it extremely useful and use it every day. I realize one day it will no longer work, but hope that, as it's pretty simple, that may be a bit further off.  As a rule I don't dabble in System modifiying stuff like maintenance, clean-up, speed-up, "optimization" etc. and just rely on System X.  I do have iStat Menus, but I don't believe that's modifying the System, but only displays information.  RoaringApps seems to indicate it's compatible with everything through Yosemite.  Would you recommend against that as well?  It saved me once when my fan failed but I noticed the iStat temp & rpm display and got it repaired at my Apple Store before I completely toasted my mini.
    Thanks again for your replies, they have been extrmely helpful in understanding how to start planning my move to a new Mac mini with Yosemite!

  • Online college, open document, how to find URL associated with document

    I am currently enrolled in an online college.  For APA formatting, we are supposed to find the URL associated with an online document.  For example:  on the college website I click on a link that takes me to the open/save box.  I open the file, at the top of the page is the name: sn_2010_writing_scholarly_voice-1.  On a PC we are supposed to cut/paste that into our web browser to come up with the URL.  I'm not seeing how to do this on a MAC. 

    Here's a code snipet with null checks removed:
    UID MyClassName::GetFrameForXMLElement(IIDXMLElement* inXMLElement)
        InterfacePtr< ITextModel > textModel( Utils< IXMLUtils >()->QueryTextModel( inXMLElement ) );
        InterfacePtr< IFrameList > frameList( textModel->QueryFrameList() );
        UID aFrameUID = frameList->GetNthFrameUID( 0 );
        return aFrameUID;

  • How to identify field associated with a parameter ID

    Hi All,
    Im trying to identify the fields associated with different parameters ID in User Profile(SU3) transaction.
    \[removed by moderator\]
    Thanks
    Edited by: Jan Stallkamp on Aug 6, 2008 2:39 PM

    Hi,
    As provided by Atish has provided the required details for you.
    1. Table TPARA is where Parameter-ID's are defined.
    2. Table DD04L is where a parameter-ID is associated to data element.
    Note that all parameter-ID's that are defined are not necessarily to be used on data elements. We can define parameter-ID which can be used programatically instead of data elements.
    Considering your examples: BUK & F02 are used at data element definition whereas the others were not defined at data element but were used in Programs.
    Try doing a where-used list on the same and you will understand how they were used.

  • How to modify DTS packages with minimal changes?

    Hello All,
    Our client have around 500 DTS packages. Each package loads the data in a file into SQL Server 2000 database. Due to some changes in thier transaction systems, now we will receive more than one file (as of now 2 files) with same structure (and different
    file name) that needs to be loaded into same table in SQL Server 2000. In the destination we are expected to add a new column which identifies from which file the particular record was loaded. Currently, the DTS packages have a configurator task which is configured
    with file name (using INI file).
    We are expecting to do this with minimal change in DTS packages so that the existing functionality is not affected.
    Please suggest me with some inputs to achieve this?
    Thanks in advance.
    Ganesh S

    AFAIK, only manual changes available in DTS for its packages being binary objects.
    Arthur My Blog

  • JTable: how to "synchronize" (and update) with an array ?

    Hello.
    I am new to the Swing and I have been googling to find a solution for my problem, but I've spent too much time and found nothing. Please give me some advice.
    So: I have an array of data and a JTable. The array is constantly being changed and I would like to update the JTable with every change in the array.
    Thank you so much for yr help.

    So here I am with an as-simple-as-possible example of my problem.
    Just run it, everything is in this class.
    And you'll have a table with 10 rows with 0 in every row. Every 2 seconds one line should change, but it doesn't, only if you resize the frame, or click in a cell the numbers in the cells will change.
    Q: how to change it without resizing or clicking into the table ?
    package MainFrame;
    import java.awt.BorderLayout;
    import javax.swing.JTable;
    import javax.swing.WindowConstants;
    import javax.swing.SwingUtilities;
    import javax.swing.table.AbstractTableModel;
    class NewJFrame extends javax.swing.JFrame {
         private static JTable jTable;
         public static void main(String[] args) throws Exception {
              SwingUtilities.invokeAndWait(new Runnable() {
                   public void run() {
                        NewJFrame inst = new NewJFrame();
                        inst.setLocationRelativeTo(null);
                        inst.setVisible(true);
              Generator gen = new Generator(jTable);
         public NewJFrame() {
              super();
              initGUI();
         private void initGUI() {
              try {
                   setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
                   jTable = new JTable(new MyTableModel());
                   getContentPane().add(jTable, BorderLayout.CENTER);
                   pack();
                   this.setSize(399, 263);
              } catch (Exception e) {
                   e.printStackTrace();
    class Generator extends Thread {
         private int[] array = new int[10];
         JTable table;
         public Generator(JTable table) {
              array = new int[10];
              this.table = table;
              this.start();
         public void run() {
              super.run();
              for (int i = 0; i < 10; i++) {
                   array[i] = i + 200;
                   table.getModel().setValueAt(i, i, 0);
                   try {
                        Thread.sleep(2000);
                   } catch (InterruptedException e) {
    class MyTableModel extends AbstractTableModel {
         private int[] array = new int[10];
         public int getColumnCount() {
              return 1;
         public int getRowCount() {
              return array.length;
         public Object getValueAt(int arg0, int arg1) {
              return array[arg0];
         public void setValueAt(Object value, int rowIndex, int columnIndex) {
              array[rowIndex] = ((Integer) value).intValue();
    }Thank you so so much my man.

  • How to keep icons associated with individual bookmarks?

    Hi There,
    When I changed from windows explorer the sites in WE (favorites) automatically showed up in Firefox bookmarks; only the icons associated with the individual bookmark (favorites) sites do not show up.
    I should note that they show up once the bookmark is opened but disappears again when Firefox is closed.
    It is much easier to identify a site listing with a visually icon then without one.
    Thanks

    Go to the App Store app and open that then tap on update bottom right.  Select all at the top left. The apps that you see there with the cloud logo have been downloaded with the ID your are logged in with but have been deleted from the phone, the ones with open written beside them are installed on your phone downloaded with your ID.  Any other apps on the screens on your phone would be the ones downloaded with the other ID

  • How to find String associated with some long value.

    My requirement is to know the String associated with the long value, for ex 23423423 is having some value like 'skljflsjf'. Can any body findout soln for the same.
    Thanks
    ~ Chethangowda.

    My requirement is to know the String associatedwith
    the long value, for ex 23423423 is having somevalue
    like 'skljflsjf'. Can any body findout soln forthe
    same.
    Hum... I'm not 100% sure, but it seems the answeris:
    dgjldkgjfkljg
    Please, don't thank me before you confirm thething.
    Regards.Oooohhhh! That explains it! I guess I must've missed
    the part where he said he wants it translated to
    trollish. How stupid of me.You're absolutely not to blame... to be honest, if I had not read the OP 3-4 times carefully, I would not have found the solution.

  • How to find Tables Associated with User Exit

    Hi All,
    I have an User Exit userexit_availabilty_out in RV03Vfzz.
    How do i know the tables and feilds associated with taht exist.
    In case of a Function exit i can find out from import Parameters, but how can i find in this case.
    Pl Do reply.
    Cheers,
    Manohar

    You need to find out which SAP program uses this as include. You can do that by doing WhereUsed on Abap include RV03VFZZ in transaction SE38.
    After you found out the main program, use transaction SE80 and display that program. Then click on Fields object and you will see all global variables that are accessible in your user exit.

Maybe you are looking for

  • How to change Net Due Date in case of Credit Memo..

    Hi Experts, In our system currently when we create credit memo using tcode FB75 system makes the invoive due immediately. We wanted to make this net due date dependent on payment terms given by us. Please let me know how can I achieve this.. Please l

  • Error in Prepare to install minimal configuration phase.

    Hi experts,                 AM installing CRM 7.0 SR1. i finished installing ABAP stack. now installing JAVA stack on the same database (MCOD) Now in the Phase : Prepare to install minimal configuration, its showing error : "Java process dispatcher o

  • Best buy pc app error (digital download) please help

    Okay so the other day i purchased F.E.A.R 2: project origins for digital download. every time i get on the pc app i get an error saying there was an unexpected error with the application. if the problem persists please exit and try again. i have exit

  • Soap Port

    HI Experts, Is it possible to change the port that the system publishes on soap sender individually, i mean that in each scenario, i will use a different port.

  • Can you restore just one app?

    Could not sync backup after updating to 4.2. decided to set up as new iPad. Really only two apps that had data I would like to recover. Is there a way to recover data from a single app at a time rather than try the complete restore process that hangs