facebook

Can not add JPA capability to EJB project in 5.5GA?

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #270782 Reply

    simonyee
    Member

    The “Add JPA capabilities” menu item is grayed… is it a bug?

    #270798 Reply

    Riyad Kalla
    Member

    Right-click on your project, and go to the MyEclipse preference node, which icons are “lit up”?

    #270826 Reply

    simonyee
    Member

    @support-rkalla wrote:

    Right-click on your project, and go to the MyEclipse preference node, which icons are “lit up”?

    Only the EJB Icon is highlighted.

    #270827 Reply

    Riyad Kalla
    Member

    Ahh. The problem is that JPA capabilities is only available for EJB3 projects at this time, and you are using an EJB2 project.

    JPA capabilities are also available for Web and plain java projects.

    #270831 Reply

    simonyee
    Member

    @support-rkalla wrote:

    Ahh. The problem is that JPA capabilities is only available for EJB3 projects at this time, and you are using an EJB2 project.

    JPA capabilities are also available for Web and plain java projects.

    No… My projec is an EJB3 project.

    In the web and plain java projects, things is ok

    I’m confused

    #270834 Reply

    Riyad Kalla
    Member

    hmmm I think you just found a bug for us to fix. I’m discussing with a dev right now… this isn’t very clear how this flow is suppose to occur (namely if you skip configuring your persistence unit during the ejb3 project creation, you cannot add it later).

    Sorry about the hickup

    #274933 Reply

    ecarjat
    Member

    Hello,

    Any update to this issue in 6.0GA ?

    Thanks,

    #275015 Reply

    Riyad Kalla
    Member

    It was fixed in 6.0, if you skip the persistence step during EJB3 project creation, you should be able to add the JPA persistence after the fact.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: Can not add JPA capability to EJB project in 5.5GA?

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