Monthly Archive:: October 2017

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

  Function

  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 […]