facebook

Does MyEclipse JPA lose Meta-Data on Modify or Alter

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #284930 Reply

    A. Rick Anderson
    Participant

    Among other things, I have both modified and alter’d my Oracle database tables. Now, none of my entity classes can see the database tables that they link to. I didn’t change the “persistence.xml” file at all. I only changed 3 out of 18 tables. How do I get JPA to refresh the information about what tables are available?

    #284958 Reply

    Loyal Water
    Member

    You can go to Project > Properties > MyEclipse > Java Persistence and hit refresh Meta Data.

    #284963 Reply

    A. Rick Anderson
    Participant

    For some reason, that didnt’ work. I finally created a brand-new project. Added JPA facets to it. Then, using Eclipse, copied the source code over. That finally did it.

    But it doesn’t tell me why it was broken to begin with.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Does MyEclipse JPA lose Meta-Data on Modify or Alter

You must be logged in to post in the forum log in