10g: Must all related tables be in the same project?

Since we will eventaully have over 500 tables to map, we would like to be able to maintain these tables/classes in different projects. How do we map foreign key references between tables/classes that we would like to maintain in different projects?
I don't know if theis is why I'm getting this error, but I initially created two projects with independent tables. Then I wanted to join some tables in one project to some tables in another project. (This is all using Offline Database Objects.) I dropped some tables managed in project A into the diagram for project B and created the foreign key relations (from B to A.) Now whenever I try to open the TopLink Mappings node for project B in the Navigator, I get the following error. I get this error even if I drop ALL the tables from project A into project B's diagram (meaning there is nothing left in the schema that could be the missing 'parent'.)
Local Exception Stack:
Exception [TOPLINK-98] (Oracle9iAS TopLink - Release 2 (9.0.4.0) (Build 030612)): oracle.toplink.exceptions.DescriptorException
Exception Description: The underlying descriptor callback method [postBuild], with parameter (DescriptorEvent), triggered an exception.
Internal Exception: java.lang.reflect.InvocationTargetException
Target Invocation Exception: java.lang.IllegalStateException: This object is missing a parent: MWTable[C14] (AVEGA.DATAMART)
Descriptor: XMLDescriptor(oracle.toplink.workbench.model.MWProject --> [DatabaseTable(project)])
     at oracle.toplink.exceptions.DescriptorException.<init>(DescriptorException.java:207)
     at oracle.toplink.exceptions.DescriptorException.<init>(DescriptorException.java:212)
     at oracle.toplink.exceptions.DescriptorException.targetInvocationWhileEventExecution(DescriptorException.java:1364)
     at oracle.toplink.publicinterface.DescriptorEventManager.executeEvent(DescriptorEventManager.java:133)
     at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(ObjectBuilder.java:179)
     at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:331)
     at oracle.toplink.queryframework.ObjectLevelReadQuery.buildObject(ObjectLevelReadQuery.java:227)
     at oracle.toplink.queryframework.ReadObjectQuery.execute(ReadObjectQuery.java:344)
     at oracle.toplink.queryframework.DatabaseQuery.execute(DatabaseQuery.java:498)
     at oracle.toplink.queryframework.ReadQuery.execute(ReadQuery.java:111)
     at oracle.toplink.publicinterface.Session.internalExecuteQuery(Session.java:1968)
     at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1096)
     at oracle.toplink.publicinterface.Session.executeQuery(Session.java:1048)
     at oracle.toplink.publicinterface.Session.readObject(Session.java:2502)
     at oracle.toplink.workbench.ui.WorkbenchSession.getMWProjectNamed(WorkbenchSession.java:270)
     at oracle.toplink.addin.persistence.MWJDeveloperPersistence.open(MWJDeveloperPersistence.java:176)
     at oracle.toplink.tsceditor.persistence.PersistenceManager.open(PersistenceManager.java:942)
     at oracle.toplink.addin.manager.MWJDeveloperMediator.openMWProject(MWJDeveloperMediator.java:164)
     at oracle.toplink.addin.manager.MWJDeveloperMediator.locateAndOpenProjectImp(MWJDeveloperMediator.java:626)
     at oracle.toplink.addin.manager.MWJDeveloperMediator.getEditableObjectFor(MWJDeveloperMediator.java:430)
     at oracle.toplink.addin.ui.view.explorer.MWExplorer.updateExplorer(MWExplorer.java:586)
     at oracle.toplink.addin.ui.view.explorer.MWExplorer.setContext(MWExplorer.java:458)
     at oracle.ideimpl.explorer.ExplorerManagerImpl.getExplorerForHost(ExplorerManagerImpl.java:1048)
     at oracle.ideimpl.explorer.ExplorerWindowImpl.viewSelectionChanged(ExplorerWindowImpl.java:544)
     at oracle.ide.addin.AbstractPinnable.viewSelectionChanged(AbstractPinnable.java:232)
     at oracle.ideimpl.explorer.ExplorerWindowImpl.viewSelectionChanged(ExplorerWindowImpl.java:376)
... etc.

If you wish to split your project up into two projects and have some relationships between some of those objects in the projects, you could map all of the objects for each project, but do not map the relationships. For those classes with relationships to other classes in other project you can define an amendment method. An amendment method is a callback into Java code that will be called when the descriptor is loaded. In this method you can then create the mapping to the class in the other project through the descriptor and mapping code API. (see oracle.toplink.mappings, oracle.toplink.publicinterface.Descriptor)
You can also make use of descriptor deactivation to define relationships between projects. For this you would import the related classes into the project and deactivate them. This will allow you to define relationships to them, but will not export their mapping information when deploying.
In general it is probably easier to keep everything in one project and use your content/code management system and merge tools to manage the project.

Similar Messages

  • Users to work on the same project

    Hello,
    I'm like know how can I to allow all users to work on the same project, but this project was only read.
    Help please,
    Thanks.

    Not sure what you mean, you should create separate usernames and register them. This is in the documentation (user guide).
    Then you can have these users work on the project.
    Jean-Pierre

  • How can I maintain two tables content at the same time with SM30

    Hi all,
    I created two customizing tables that I would like to link together for maintenance in SM30. Table 1 is the header and table 2 can have multiple detail records.
    They are linked via the ID key field. I would like to run the Table Maintenance Generator on the first table in SE11 and be able to maintain both table data at the same time in SM30.
    How can I do that without any ABAP programming? Should I use Append or Include structure or else?
    Thank you for giving as much detail as possible.
    Regards,
    Sylvain

    Hi,
    You cant do it w/t abap programing.
    You can code in "EVENT" to achive the same.
    Open table maintainance generator of first table through se56 or se11.
    follow the path: environment>Modification>Event.
    Select sutaible event from drop down like Before Save... and do coding.
    In this way data will be saved in second table automatically when you save in first table.
    In case of any query, please revert.
    regards,
    Dhan

  • Nsert/Update and Add Column at the same Table and at the "same" Time

    Hello,
    I want Insert/Update and Add Column at the same Table and at the "same" Time but in different sessions.
    Example:
    At first the "insert/update" statement:
    Insert into TestTable (Testid,Value) values (1,5105);
    After that the "add" statement:
    Alter table TestTable add TestColumn number;
    - sadly now I get the message: ORA-00054: resource busy and acquire with NOWAIT specified
    "insert/update" statement:
    Insert into TestTable (Testid,Value) values (2,1135);
    After that the execute commit.
    I don't know when the first session set the commit statement so I want that the DB the "Alter Table..." statement execute if it's possible.
    If it's possible I want to save a repeat loop with the "Alter Table..." statemtent.
    Thanks for ideas

    Well I want to walk in the rain without and umbrella and still stay dry, but it ain't gonna happen.
    You can't run a DDL statement against a table with transactions pending. Session 2 has to wait until session commits or rollbacks (or until the session is killed). That's just the way it is.
    This makes sense if you think about it. The data dictionary has to be consistent across all sessions. If session 2 was allowed to change the table structure whilst session 1 has a pending transaction then the database is in an inconsistent state. This is easier to see if you consider the reverse situation - the ALTER TABLE statement run by session 2 does a DROP COLUMN TESTID rather than adding a column: now what should happen to session 1's INSERT statement? You have retrospectively invalidated a statement that was perfectly legal when it was executed.
    If it's possible I want to save a repeat loop with the "Alter Table..." statemtent.Fnord.
    Cheers, APC

  • Retaining row selection in a new  table which uses the same model.

    hi can anybody help me
    actually i have a table which allows multiple selections.like it allows to select row1 & row 4 if
    there are 5 rows.Now on click of a button i show a dialog with another table but with the same model
    applied to it.
    now my problem is that iam not able to make the selction of 1 & 4 rows in the new table.
    if i use a selectSingleRow in a for loop only 4rth row is getting selected.
    if i use a selection interval method it selects all the 4 rows from 1 to 4.
    is there any way i could select only the 1st and the 4rth row ?

    import javax.swing.*;
    import java.awt.*;
    import javax.swing.table.*;
    class Testing
      public void buildGUI()
        JTable table = new JTable(10,3);
        JScrollPane sp = new JScrollPane(table);
        sp.setPreferredSize(new Dimension(300,200));
        JFrame f = new JFrame();
        f.getContentPane().add(sp);
        f.pack();
        f.setLocationRelativeTo(null);
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.setVisible(true);
        table.changeSelection(1,0,true,false);
        table.changeSelection(4,0,true,false);
      public static void main(String[] args)
        SwingUtilities.invokeLater(new Runnable(){
          public void run(){
            new Testing().buildGUI();
    }

  • HT204053 how cant i use find me and see all my 3 iphones at the same time

    how can i use find me and see all my 3 iphones at the same time

    I assume you mean Find My iPhone.
    You must have the Find My iPhone service turned on inside each phone (Settings>iCloud).  Then either log into icloud.com and go to the Find My iPhone page to view a map and list of device, or use the Find My iPhone app on any device.
    "at the same time" - no you only view one map (associated with one phone) at a time.  You can't get all three phones on one map.

  • I updated iTunes to 10.4 version and now it doesn't start and sen a messages "iTunes has detected an error and must be closed". Someone have the same problem and how can we repair our installation insted of change the windows XP installation? Best regard

    I updated iTunes to 10.4 version and now it doesn't start and send a messages "iTunes has detected an error and must be closed". Someone have the same problem and how can we repair our installation insted of change the windows XP installation? Best regards

    Only way to get iMac starting again was to re-install 10.4.4 from DVD, and then update it into 10.4.6. For a while it worked perfectly, just as before.
    Then I tried to print to CD with my EPSON Stylus Photo 950 from Adobe Photoshop Elements (2.0). It didn't print anything, but printer started flashing all lights. The print job was not performed, so I did remove it from the Printer Utility. After that the iMac started "ticking" again, same noise than before, after 10.4.7 installation. I did re-boot iMac. It never started, it does stuck on gray screen (gray block running clockwise). HW test from DVD didn't find any problems (extended search looping 3 times). But Disk Utility found hard drive to have inaccurate node structure, it could not fix it.
    Apple support recommended to use DiskWarrior. However, it does not support (yet) Intel Macs. I haven't got TechTool Pro 4.5.1 anywhere. iMac does start on to FireWire mode (T at boot), but I cannot see the disk from 10.2.8 iMac.
    So, obvisously the problem is not 10.4.7. I believe it to be ESPON printer driver compatibility on Mac OSX. This does not suprise me, EPSON printers *****, I shall never purchase one again. However, disk catalog structure should not get messed by one faulty printer driver!

  • I've done everything I know in order to get my calendar in iCloud synchronized with my macBook, my IPad and my iPhone, but get no success. I've checked if all devices are set to the same account. Can you help me?

    I've done everything I know in order to get my calendar in iCloud synchronized with my macBook, my IPad and my iPhone, but get no success. I've checked if all devices are set to the same account. Can you help me?

    The only thing I can see strange is that when I login my iCloud account through my principal email address, when I check my preferences is marked an @me.com address that is old and I don't use it anymore, but I can't erase it or even change it.

  • I delete some emails ,there are moved to trash . I delete them from trash folder too and they still appear in a folder called 'all messages". I repeat the same actions and after a while they appear again!what should i do to delete them permanently??

    I delete some emails ,there are moved to trash . I delete them from trash folder too and they still appear in a folder called 'all messages". I repeat the same actions and after a while they appear again!what should i do to delete them permanently??

    If you are using Apple's Mail app 6.5 is the latest version irrespective of what a previous poster says. It does sound though that you are using a gmail account online via a web browser. Please confirm and fill in missing information.

  • Delete records in a table and at the same time print out for reference

    I am working on a req to delete some records from a table and at the same time, record/print the deleted records in the outstream (DBMS_OUTPUT.PUT_LINE)
    DECLARE
    v_rec_po hst_po%ROWTYPE;
    BEGIN
    DELETE FROM hst_po po
    WHERE abbrpoid = '&opportunity_code'
    AND updatedby = (SELECT employeeid
    FROM tes_employee
    WHERE name = &emp_name)
    AND audittimestamp BETWEEN TO_DATE ('&start_timestamp',
    'DD-MON-YYYY HH24:MI'
    AND TO_DATE ('&end_timestamp',
    'DD-MON-YYYY HH24:MI'
    END;
    I was thinking of using returning into and then using DBMS_output to pull out the delted records, but there will be multiple rows deleted fro this statements. I am stuck here..Can anyone help

    How about:
    SQL> create table t
      2  (x int)
      3  /
    Table created.
    SQL> insert into t
      2  select rownum
      3    from all_objects
      4   where rownum <= 10
      5  /
    10 rows created.
    SQL> declare
      2     cnt pls_integer;
      3  begin
      4     delete from t;
      5     cnt := sql%rowcount;
      6     dbms_output.put_line ('Removed: '||to_Char (cnt));
      7  end;
      8  /
    Removed: 10
    PL/SQL procedure successfully completed.Edited by: Alex Nuijten on Jun 4, 2009 8:58 AM

  • How do I delete all of my mail at the same time?

    How do I delete all of my mail at the same time? Or is this even possible? Thanks for your help.

    Unfortunately it isn't possible. You have to select one at a time. You might want to add your name to the many that have requested this feature in the past.
    https://www.apple.com/feedback/ipad.html

  • My iPod will charge in the computer but not my iPod dock, my sisters iPod dock or the wall charger. My sisters iPod will charge in all and we both have the same sofware and generation. Why won't mine charge?

    My Ipod will charge in the computer but noy my iPod dock, my sisters iPod dock or the wall charger. My sisters iPod will charge in all and we both have the same software and generation. Why won't mine charge?

    Look the dock connector on your iPod. Look for abnormalities like bent or corred contacts, foreign material and cracked/broken plastic.
    Try:
    - A reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears..
    - Restore from backup
    - Restore to factory settings/new iPod

  • I have 10.7.3 lion on my computers an iMac and a macbook pro plus a new iPod touch, and two older touches, now trying to sync my calendars is not working deletes some events, duplicates others, I want all my calendars to be the same.  Any ideas

    I have 10.7.3 lion on my computers an iMac and a macbook pro plus a new iPod touch, and two older touches, now trying to sync my calendars is not working deletes some events, duplicates others, I want all my calendars to be the same.  Any ideas

    Have you tried resetting the SMC ?     >  Resetting the System Management Controller (SMC)

  • I have changed my Apple ID on my iPad, but my iPhone keeps popping up with the old ID.....how do I get all my devices to use the same ID?

    How can I get all my devices to use the same Apple ID?

    Different services on your iOS device (iMessage, Facetime, iCloud, iTunes and App Store) can be signed into with an Apple ID of your choice. Make sure you verify the settings for each device and that you are signed in to each service with the correct Apple ID.
    I'll do an example for iMessage:
    1) Go to settings on your iOS device
    2) Select "Messages"
    3) Select "Send & Receive"
    4) At the very top you will see "Apple ID", by selecting your Apple ID, you will now have the option to sign out of messages with the current Apple ID, and sign in with the new one.
    The steps for changing your Apple ID for other services will be very similar.
    tHIS SHOULD BE VERY HELPFUL TOO YOU.

  • How can i edit lenght of the all layers in timeline at the same time??? in Photoshop cs6 extended

    How can i edit lenght of the all layers in timeline at the same time??? in Photoshop cs6 extended
    Because when i select all layers in layer panel or right in timeline panel, i will be able to edit duration only in one layer... so if i can document with more than 20 layers, the work will be terrible
    Please give me someone some tips... and tricks

    You can't delete the All On My Mac as it is an automatic group to display all of the contacts that are stored "On My Mac." You can delete all of the contacts that are in the ON MY MAC section by selecting All ON My Mac and then selecting all contacts. Press delete and approve the deletion. Then, select each group under ON My Mac and delete those individually.
    Then, Make sure iCloud is set as the default account in the General Address Book Preferences.

Maybe you are looking for

  • How to delete mail account on a mac

    As the title says, anyone have any idea?

  • USB Mouse Constantly Freezing

    With more and more frequency my Logitech MX-Laser cordless USB mouse is freezing. It seems that when I have it connected via my powered USB hub, freezing occurs regularly. If I connect directly to the computer the problem seems to disappear. I know t

  • Itunes will not download on computer

    i downloaded itunes and it runtime error an application has made an attempt to load c runtime library in correctly

  • Downloaded artwork file sizes - can be HUGE!

    Just so you know.... Artwork files downloaded from the Apple site can be HUGE. For example, artwork for "Travis - The Invisible Band" is a JPEG of 1.35 megabytes despite being only a 600x600 pixel image. It's hard to discover just how big these files

  • " LogicPro has detected a possible conflict error "

    Hi All, I know this has been flagged before as a known issue but I cant see a specific answer based on my set up. Error message : " LogicPro has detected a possible conflict between one or more third party midi or audio drivers " Background : I have