facebook

JPA Meta-Data Lost and Confused

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

    A. Rick Anderson
    Participant

    I have a MyEclipse installation that uses a JPA implementation built with MyEclipse and Hibernate. However, after I installed the project updates for the book, “Eclipse Rich Client Platform”, it totally hosed up the entire project.

    I have tried to do a total re-install, and still about half the entity classes have errors insisting that their referenced table does not exist in the database. This is true even if I re-gen the entity from the database. The newly regenerated entity promptly insists that the table that it was regenerated from doesn’t exist.

    Something has confused the underlying meta-data about the database schema and I can’t seem to restore it. I have tried using the menu option, Refresh and Rebuild JPA Meta-Data.

    How do I restore the project’s knowledge of the database schema?

    #284959 Reply

    Loyal Water
    Member

    arick,
    Did you get this issue sorted out by creating a new project ?

    #284964 Reply

    A. Rick Anderson
    Participant

    Yes. Creating a new project, adding JPA and then copying over the source code worked like a charm. But of course, that leaves me wondering what blew up to begin with.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: JPA Meta-Data Lost and Confused

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