Leave a Reply

219 Comments on "Spring Boot Quick Start 29 – Making Crud Operations with Repository"

Notify of
avatar

Alex - Java Avançado Cursos TI
Guest
Alex - Java Avançado Cursos TI
5 days 6 hours ago

Gostaria de deixar a recomendação para o pessoal que está começando também fazerem o download gratuito do e-book API RESTful com Spring Boot.
Tem a parte de Service REST e Spring Boot.
Baixem GRÁTIS no link → www.javaavancado.com/ebook-spring-boot/index.html

M George
Guest
M George
9 days 23 hours ago

Such an excellent tutorial. I had errors with embedded Apache Derby , but it works with the H2. Thank you.

Gaurav Bajpai
Guest
Gaurav Bajpai
21 days 51 minutes ago

Hi All,getting this error description on starting the application.Description:Cannot determine embedded database driver class for database type NONEAction:If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).What did I missed ?

Gaurav Bajpai
Guest
Gaurav Bajpai
21 days 20 minutes ago

also i saw this github issue from the team : github.com/spring-projects/spring-boot/issues/7706any way to bypass the error message

sepide tari
Guest
sepide tari
30 days 19 hours ago

For update method can we first delete and then save new topic too?

Aman Garg
Guest
Aman Garg
1 month 1 day ago

At 13:46 , line 18, getAllTopic can be refactored into a one liner as: public List<Topic> getAllTopics(){ return StreamSupport.stream(topicRepository.findAll().spliterator(), false) .collect(Collectors.toList()); }

Bartek Matyjaszczyk
Guest
Bartek Matyjaszczyk
1 month 7 days ago

Hello! How I should Handle with NoClassDefFoundError. It's an error with creating bean with name 'entityManagerFactory'Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactory' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactoryBuilder' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactoryBuilder' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaVendorAdapter' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.orm.jpa.JpaVendorAdapter]: Factory method 'jpaVendorAdapter' threw exception; nested exception is java.lang.NoClassDefFoundError:

saisree cheekatimarla
Guest
saisree cheekatimarla
1 month 12 days ago
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactory' parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'entityManagerFactoryBuilder' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Unsatisfied dependency expressed through method 'entityManagerFactoryBuilder' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jpaVendorAdapter' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.orm.jpa.JpaVendorAdapter]: Factory method 'jpaVendorAdapter' threw exception; nested exception is java.lang.NoClassDefFoundError: org/hibernate/HibernateException at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:749) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:467) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1173) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1067) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:513) ~[spring-beans-4.3.13.RELEASE.jar:4.3.13.RELEASE]… Read more »
saisree cheekatimarla
Guest
saisree cheekatimarla
1 month 12 days ago

am getting this error if am doing in Spring,,can u please tell me reason

amar reddy
Guest
amar reddy
2 months 7 days ago

Hi koushik, I have 10 tables, fetching some columns from all tables. When I tried to fetch data using spring jpa, it took time to fetch when compared to nativesql queries. All tables have a foreign key relationship.recommand best way to best way to fetch data from 10 tables, in my case. Thanks

Ravindra Ravuri
Guest
Ravindra Ravuri
2 months 21 days ago

Any help on the below issue is much appreciated Parameter 0 of constructor in org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration required a bean of type 'javax.sql.DataSource' that could not be found.

Ravindra Ravuri
Guest
Ravindra Ravuri
2 months 21 days ago

Any help on the below issue is much appreciated Parameter 0 of constructor in org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration required a bean of type 'javax.sql.DataSource' that could not be found.

1 2 3 12
wpDiscuz