SpringBoot Archive

Spring Boot Using Hikari Connection Pool

# Spring Boot Using Hikari Connection Pool Connection Pool In software engineering, a connection pool is a cache of database connections maintained so that the connections can be reused when future requests to the database are required. Connection pools are used to enhance the performance of executing commands on a database. Opening and maintaining a […]

Dynamic Call Store Procedure and Function Database

spring-boot-call-store-procedure Dynamic calling store procedure and store function in database Dynamic calling store procedure and function 1. Via Callable Statement 2. Via SimpleJdbcCall spring-boot-starter-jdbc See Code Snippets Store Procedure


  Implementation Using SimpleJdbcCall

  3.1 Calling the store procedure

3.2 Calling the Stored function

Implementation using CallableStatement


Rest Documentation with Swagger And Spring boot

Simple Spring-boot Swagger Documentation Learning Swagger documentation for rest. To Add Swagger to your application add the depedencies  

  create SwaggerConfiguration class

    Add annotation swagger @ApiOperation on the Method endpoint. Example

@ApiModel and @ApiModelProperty this is used for tell consumer application about information about the property (response/ request) example […]

Implementation Dynamic Specification Using RSQL-Parser Example

Introducing Changes Is Enemy, But We Must Prepared . – I have been code with spring boot and thymeleaf, When the *User Interface * add a new search criteria the backend code (my repository, service and controller) must changed too. Honestly I don’t like that. to much changing :(. I try searching library to handle […]

Build Spring Boot in Eclipse Luna

What is SpringBooot Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can “just run”. We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration. Requierements in this example 1.  Java […]