jpa-with-hibernate icon indicating copy to clipboard operation
jpa-with-hibernate copied to clipboard

Master JPA using Hibernate as the implementation. Learn the basics of JPA - entities, relationships, entity manager, annotations, JPQL and Criteria API. Take a step into the advanced world of JPA - ca...

Results 7 jpa-with-hibernate issues
Sort by recently updated
recently updated
newest added

Dear Ranga, classmates and friends: Here my transcription ordered for the Course Agenda, I hope you will like and having useful: 1. Journey from JDBC To JPA Step01 - Setting...

Getting the following error while creating new maven project with dependencies jdbc, jpa, h2 and web using spring initializer, org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaMappingContext': Invocation of init method...

Hello, This is not an issue with any of the lectures I simply misunderstood something and need some help. The way I understand @Transactional is that it keeps the session...

I have a data model wherein classA has a one-to-many relationship with classB. When I query classA by ID, I want to limit the classB results in the response. e.g....

If FullTimeEmployee and PartTimeEmployee classes is declared with @Entity then why tables not created in DB

package com.ayush.jpa.JpaDemo; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.CommandLineRunner; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class JpaDemoApplication implements CommandLineRunner { private Logger logger = LoggerFactory.getLogger(JpaDemoApplication.class); @Autowired private PersonRepository repo;...