facebook

New version of Eclipse compared to the older one

  1. MyEclipse Archived
  2.  > 
  3. Documentation
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #280756 Reply

    Prasanna
    Member

    Hi,
    I am using Eclipse from 2 years . I saw there is a difference in the new version Eclipse6 and the before version which I used (i.e., Eclipse 4.x) .
    In Eclipse 4.x, I used to create the Configuration object and sessionobject but in Eclipse 6
    I am given with the DAO class.
    for ex: In Eclipse 4 —-
    Configuration c = new Configuration();
    c.configure();
    sessionFactory sf = conf.buildSessionFactory();
    Session sess = sf.OpenSession();
    Transaction tx = sess.beginTransaction();

    In Eclipse 6 —-
    UserDAO dao = new UserDAO();
    Transaction tx = dao.getSession.beginTransaction();

    Can please anyone explain me this?
    I wanted to know the advantages of Eclipse6 over Eclipse4.

    I din’t find any forums link. So I just posted it here? Can you please tell me where to post my doubts?

    Thanks,
    Prasanna

    #280758 Reply

    Loyal Water
    Member

    Prasanna,
    What kind of a project are you working on ?

    #280763 Reply

    Prasanna
    Member

    Hi,
    Its a Standalone java project.

    Thanks,
    Prasanna

    #280796 Reply

    Loyal Water
    Member

    In MyEclipse 5 we added the ability to generate a DAO for easier usage of Hibernate and JPA and it’s an option in the wizard… you can turn it off if you want.

    #280830 Reply

    Prasanna
    Member

    Thank you Nipun

    Prasanna

    #280866 Reply

    Loyal Water
    Member

    Your Welcome.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: New version of Eclipse compared to the older one

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