Forum Stats

  • 3,855,344 Users
  • 2,264,499 Discussions
  • 7,905,975 Comments

Discussions

Get relationship from db to project in JDeveloper

Leandro Vitale
Leandro Vitale Member Posts: 39
edited Nov 4, 2016 8:56AM in JDeveloper and ADF

Hello! I want get relationship from db to project in JDeveloper, i dont see relationship en project and i dont know how to do it.

Does anybody have an idea?

Thanks

Tagged:
Leandro Vitale

Answers

  • Leandro Vitale
    Leandro Vitale Member Posts: 39
    edited Nov 2, 2016 8:10AM

    Other question, how i do refresh relationship from db, in project? I working with relationship in the project but if i change relationship in db i dont know how refresh this in project . Does anybody have an idea?

    Thanks

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,777 Red Diamond
    edited Nov 2, 2016 12:20PM

    User, tell us your jdev version, please!

    The easiest way to get the tables and their relationship is to use hte 'Business components from table' wizard. If the tables have defined PK/FK relationships the wizard picks them up and created the needed associations and viewlinks for you.

    If you make changes to the DB you can right click the entities in the model project and select 'synchronize with DB'

    pastedImage_0.png

    Before executing this command I recommend to make a copy of hte workspace. You never know what happens

    Timo

    Leandro VitaleLeandro Vitale
  • Leandro Vitale
    Leandro Vitale Member Posts: 39
    edited Nov 4, 2016 8:56AM

    It worked, so thanks!

This discussion has been closed.