A Simple JPA Example Application Video

Поділитися
Вставка
  • Опубліковано 2 січ 2025

КОМЕНТАРІ • 22

  • @oreo2606
    @oreo2606 3 роки тому +1

    Really made it easy thank you

  • @abhishekmahajan4259
    @abhishekmahajan4259 4 роки тому

    complete and good video. great efforts.

  • @kwnkar
    @kwnkar 3 роки тому

    Very helpful indeed, for new visitors go to 14:30 it is fully understandable

  • @mohamedbenhammouda3461
    @mohamedbenhammouda3461 8 років тому +2

    Good job, very simple

  • @shanthipadma3512
    @shanthipadma3512 8 років тому +1

    Nice explanation.

  • @l_tonz
    @l_tonz 7 років тому

    Thank you that was so helpful!

  • @babubalu5773
    @babubalu5773 8 років тому +1

    it's really good , thankyou

  • @spilkapolina938
    @spilkapolina938 8 років тому +1

    Thank you very much! Very simple and useful for me!

  • @aachaitu
    @aachaitu 6 років тому +2

    you copy and paste files with your convinenience. where can i get I get them?

  • @jaymartha7725
    @jaymartha7725 7 років тому

    Can we use SessionFactory and build a session from the factory object to save the object?

  • @manishsinha5670
    @manishsinha5670 7 років тому

    Good one basic simple JPA example (not Spring though)

  • @domfp133
    @domfp133 8 років тому +2

    DO YOU HAVE THE FILES ?

  • @bigthinker4164
    @bigthinker4164 6 років тому

    Hi, I have done everything as you explained however at the end I am getting the following error while executing StudentTest.java. Please help so that I can successfully execute the application.
    I am using oracle 11g database.
    Exception in thread "main" javax.persistence.PersistenceException:
    No Persistence provider for EntityManager named TestPersistence
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:69)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)
    at jpagroup.jpa_helloworld.StudentTest.main(StudentTest.java:17)
    The persistence.xml is as given below.

    org.hibernate.ejb.HibernatePersistence
    jpagroup.jpa_helloworld.Student

  • @richJinny
    @richJinny 7 років тому +1

    You make good tutorials, which I do appreciate. But please work on your pronunciation (I falsely understood your name is landu..).

    • @javamadeeasy2466
      @javamadeeasy2466  7 років тому

      Hey Richard, I am Indian so have limitations when it comes to pronunciations :) Will work on it though. Thanks for the feedback.

  • @Neeru0908
    @Neeru0908 Рік тому

    I am getting below error can anyone help me with this
    WARN: HHH000181: No appropriate connection provider encountered, assuming application will be supplying connections
    Exception in thread "main" javax.persistence.PersistenceException: [PersistenceUnit: EclipseJPA] Unable to build EntityManagerFactory
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)
    at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)
    at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)
    at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)
    at com.neeru.First_JPA_Maven.Student_Test.main(Student_Test.java:9)
    Caused by: org.hibernate.HibernateException: Connection cannot be null when 'hibernate.dialect' not set
    at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.determineDialect(DialectFactoryImpl.java:97)
    at org.hibernate.service.jdbc.dialect.internal.DialectFactoryImpl.buildDialect(DialectFactoryImpl.java:67)
    at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:176)
    at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)