kode12
Menu
  • Hibernate
    • Hibernate OGM
    • Hibernate ORM
  • Spring Boot
  • MongoDB
  • Open Source
    • Apache Beam
  • Interviews
  • ★
Hibernate, Spring Boot, MongoDB blog
Browse: Home » 2016 » March
Spring boot: Database connectivity to MySQL using Hibernate + Web

Spring boot: Database connectivity to MySQL using Hibernate + Web

March 26, 2016 · by Yogesh Prajapati · in Spring Boot
Hello friends, In this post we will see how to connect database using boot, for this demo will use MySQL as a database and Hibernate as an ORM. For this example we need "Web" and "JPA" dependency in our project. Add below dependency in your pom.xml
1
2
3
4
5
6
7
8
9
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
 
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
Note: artifactId spring-boot-starter-data-jpa will internally provides support and

Read More

Spring Boot: Sample web app with embedded tomcat

Spring Boot: Sample web app with embedded tomcat

March 12, 2016 · by Yogesh Prajapati · in Spring Boot
In this post we will see how to create a view page and way to render it. Here we will use embedded tomcat as a container as well. You can easily understand and run this example if you know Spring MVC, some configuration and dependency related changes are required. Let’s see files used in this

Read More

Spring Boot: Understanding starters

March 8, 2016 · by Yogesh Prajapati · in Spring Boot
In Previous post we learn a basic idea about boot application. Let's see some short but useful funda used covered in that post. Here i am talking about Spring Boot Starters. Spring boot provides 45+ built in starters which provides capability to support ready to implement capability. Git url for Boot starter is: https://github.com/spring-projects/spring-boot/tree/master/spring-boot-starters you

Read More

Recent Posts

  • Spring Boot: Failed to parse multipart servlet request; nested exception is java.io.IOException
  • Java Interview experience with XATON (Mobiquity Now)
  • Java, Spring Boot interview experience with Cignex, Ahmedabad
  • Java, Spring Boot interview experience with Cybage, Gandhinagar
  • JPA: How to apply Row Level Filter

Promo

Author:
Java Hibernate Cookbook


Reviewer:
Hands-On Enterprise Java Microservices with Eclipse MicroProfile


JAVA 9.0 To 13.0 New Features: Learn, Implement and Migrate to New Version of Java

Tags

AOP Apache Solr AspectJ Eureka Hibernate Hibernate OGM Hystrix Ideas Interview IOT J2EE Java JPA MicroServices MongoDB MySQL Raspberry PI Spring Boot Spring Cloud SQL Swagger

Viewer’s Map

Archives

  • April 2019 (1)
  • March 2019 (3)
  • February 2019 (1)
  • July 2018 (3)
  • March 2017 (5)
  • February 2017 (2)
  • November 2016 (5)
  • August 2016 (2)
  • June 2016 (1)
  • March 2016 (3)

Copyright © 2019 kode12

Powered by WordPress and Origin