facebook

[Closed] Re adding Hibernate capabilities

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

    arupsarkar
    Member

    Hi:

    I added Hibernate capabilities into my J2EE project, but then I deleted the hibernate.cfg.xml, now when I try to right click on the project “Add Hibernate Capabilities” do not exist any more, how can I get the hibernate capabilities back.

    Regards
    Arup

    #259125 Reply

    Riyad Kalla
    Member

    Arup,
    In order to really remove capabilities you need to do two things:

    0) Switch to your navigator view
    1) Delete your .myhibernatedata file
    2) Open your .project file, and remove the hibernate builders and hibernate nature if they are in there. Save the files

    Now close and reopen your project.

    #259130 Reply

    Haris Peco
    Member

    .. or make new hibernate.cfg.xml with wizard MyEclipse-Hibernate-Hibernate Configuration File

    Best
    Peco

    #259132 Reply

    Riyad Kalla
    Member

    Woops, yes Peco is exactly right, that’s an even faster way to do it.

    #259497 Reply

    arupsarkar
    Member

    I did create the hibernate.cfg.xml, I already have a profile set up as Jaw, in the hibernate configuration I can see the Jaw profile in the drop down but when I am selecting it, nothing is getting populated in the rest of the fields.

    For some reason the profile is not sticking to the configuration.

    Regards
    Arup

    #259531 Reply

    arupsarkar
    Member

    You can consider this service request as closed.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: [Closed] Re adding Hibernate capabilities

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