Why don't my Toplink descriptors reflect the Java Code in the structure panel in JDeveloper? -


i learning oracle adf, including toplink orm. well, think toplink orm, correct me if wrong. added connection sqlite database, , generated bunch of java class. using chinook example database.

the wizard did not found foreign key mapping, tried adding one-to-many relationship between artist class , album class. added list<album> field in artist class.

public class artist implements serializable {      // existing fields, default constructor , get/set omitted      //...     private list<album> albums;      public artist(int artistid, string name, /* added */ list<album> albums) {         this.artistid = artistid;         this.name = name;         this.albums = albums;     }      //...     public list<album> getalbums() {         return this.albums;     }      public void setalbums(list<album> albums) {         this.albums = albums;     }  } 

i tried told toplink album list had 1 many relationship album elements. when opened toplink mapping , tried edit descriptor, new field not present in "structure" panel. tried looking refresh button, found none. there no "add field" either. googled crazy , did not found anything. strange thing is, restarted jdeveloper, , albums field there, , able set one-to-many relationship on it...

so really, question : there way make field appear without restarting jdeveloper? old pretty fast.

the problem disappeared after few reboot. bug in jdeveloper. solution classic "three r" of computer troubleshooting.

  1. restart jdeveloper, toplink structure panel reflect java code
  2. reboot computer.
  3. reinstall jdeveloper

inconvenient... works.


Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -