I pondered over a lot of options and tried a lot of workarounds/suggestions:
- Re-created the schema and imported the schema again into Jdeveloper
- Cleaned the temporary files in windows which Jdeveloper creates, stores and uses, available under an user's profile
- Reloaded the facts in the dictionary in a different package (not the default). This updated the facts but all the existing reference in the dictionary had errors in them
- I even re-designed the schema based on one of my earlier posts
Since the jaxb objects were the same, they was issue in refreshing the xml facts when a java fact belonging to same schema existed in the same dictionary. Below are the steps to be followed when a xml fact has to be refreshed (as in the case mentioned above):
- Exit Jdeveloper
- Remove the jar referenced to import the java fact (from hard disk)
- Start Jdeveloper, remove the jar from project reference
- Update the schema (preferably, open the schema and update contents instead of a replace of .xsd file)
- Save all artifacts and run a clean up (not necessary, just a feel good factor) from Build>CleanAll
- Reload facts from updated Schema and check for the same (in case not refreshed, close Jdeveloper and try cleaning workspace)
- Update the jar with the update schema and reference it in the project properties
Peace!
Cheers,
-AR
No comments:
Post a Comment