Leave a Reply

11 Comments on "Spring Boot Quick Start 27 – Adding Spring Data JPA"

Notify of
avatar

Abhinay Kunchhal
Guest
Abhinay Kunchhal
1 day 17 hours ago
can some please help me to create derby database as I am getting below error HHH000412: Hibernate Core {5.0.11.Final}2017-04-26 07:03:10.823 INFO 4904 — [ main] org.hibernate.cfg.Environment : HHH000206: hibernate.properties not found2017-04-26 07:03:10.825 INFO 4904 — [ main] org.hibernate.cfg.Environment : HHH000021: Bytecode provider name : javassist2017-04-26 07:03:11.048 INFO 4904 — [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.0.1.Final}2017-04-26 07:03:11.251 INFO 4904 — [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.DerbyTenSevenDialect2017-04-26 07:03:12.027 INFO 4904 — [ main] org.hibernate.tool.hbm2ddl.SchemaExport : HHH000227: Running hbm2ddl schema export2017-04-26 07:03:12.030 WARN 4904 — [ main] o.h.engine.jdbc.spi.SqlExceptionHelper : SQL Warning Code: 10000, SQLState: 01J012017-04-26 07:03:12.030 WARN 4904… Read more »
bhanuchirutha
Guest
bhanuchirutha
4 days 12 hours ago

Hi Want to create , different Projects for Service , Repositories , and controllerI understand for controller if we select Spring Web its enough and for Repositories I select JPA , what is required for service? only web dependency is sufficient?

Norbert Kulacin
Guest
Norbert Kulacin
5 days 8 hours ago

amazing tutorial, I hope you will have more tutorials about Spring Boot in near future! Well done!

Chirag Lakhani
Guest
Chirag Lakhani
1 month 19 days ago

After downloading and adding Topic package from earlier project when I am running it, i am getting error like "Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javassist/bytecode/ClassFile". I have tried many things but I think in video there is nothing done explicitly. Please help me.

N T
Guest
N T
21 days 15 hours ago

add the following dependency to your pom.xml <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> </dependency>

bugg bug
Guest
bugg bug
2 months 7 days ago

I dont see any topic about how to connect to external databases. Am I missing some thing.

Michael Hopkins
Guest
Michael Hopkins
2 months 15 days ago

You have fast internet and a fast machine :p

xyxsopme 33
Guest
xyxsopme 33
4 days 5 hours ago

apple rulez

Bhargava N.B
Guest
Bhargava N.B
3 months 1 day ago

Thanks a lot Koushik for all the videos, they are really helpful, the best teacher :)There is something that I noticed. If the RestController class is not inside the same package (or subpackage) as the SpringBootApplication, then the controller is not picked by the MVC and my request to for eg. '/topics' returns me a 'not found'. I guess all RestControllers in the classpath are not picked up by the SpringBootApplication. (A complete classpath scan might not be happening)

Rajesh VP
Guest
Rajesh VP
17 days 21 hours ago

I noticed the same too

Bhargava N.B
Guest
Bhargava N.B
3 months 1 day ago

Looking up the documentation specifies that I can specify the basepackages for the componentscan and things work fine when I do so. I realize it was the default same package + child packages that is being scanned when no basepackages are specified!

wpDiscuz