facebook

JPA related problem in generating Entity

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

    csnaren
    Member

    Hi

    I am trying JPA with hibernate. The DAO interface and DAO implementation classes are generated but the entity class is not getting generated.

    #283351 Reply

    Loyal Water
    Member

    Have you gone through this tutorial ?
    http://www.myeclipseide.com/documentation/quickstarts/jpa/

    If you use only JPA, does the class get generated ?

    #283386 Reply

    csnaren
    Member

    I did try based on the tutorial, still entity is not getting generated. Only the DAO interface and DAO Imple class are getting generated, moreover when I add JPA capabilities to my project, the window does not show Open JPA option, it shows only Toplink and Hibernate.

    #283422 Reply

    csnaren
    Member

    I did mistake in configuration, hence the entity is not generated. Its fine now. However, as I said earlier, I am still see only two options while adding JPA capabilities, it shows only Top link and hibernate not open JPA. I am supposed to use openJPA, please help me fix this issue

    #283436 Reply

    Loyal Water
    Member

    I am supposed to use openJPA, please help me fix this issue

    The openJPA option is not supported. Toplink and Hibernate should be the only options you should see when you add JPA capabilities.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: JPA related problem in generating Entity

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