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

Read More

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 [crayon-5a0fb3ac74f3e518804497/]   Function [crayon-5a0fb3ac74f4a546457665/]   Implementation Using SimpleJdbcCall [crayon-5a0fb3ac74f51515220797/]   3.1 Calling the store procedure [crayon-5a0fb3ac74f59752602883/] 3.2 Calling

Read More

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   [crayon-5a0fb3ac75846511931942/]   create SwaggerConfiguration class [crayon-5a0fb3ac75852579538904/]     Add annotation swagger @ApiOperation on the Method endpoint. Example [crayon-5a0fb3ac7585a267712985/] @ApiModel and @ApiModelProperty this is used for tell consumer application

Read More

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

Read More

Simple Implementations Tesseract OCR on Android

Tesseract is an optical character recognition engine for various operating systems. It is free software, released under the Apache License, Version 2.0, and development has been sponsored by Google since 2006. Tesseract is considered one of the most accurate open source OCR engines currently available Wikipedia Image

Read More

Small Case But Solve BolierPlate Of My Code StringUtils Apache Common Lang.

StringUtils is Operations on String that are null safe. Snipset code below was a my code history. [crayon-5a0fb3ac77384776481087/] Look More Simple.. 😀 StringUtils Helpme todo some operatations like : IsEmpty/IsBlank – checks if a String contains text Trim/Strip – removes leading and trailing whitespace Substring/Left/Right/Mid – null-safe

Read More

FastDateFormat is Fast by Apache Commons Lang Example

FastDateFormat is a fast and thread-safe version of SimpleDateFormat.To obtain an instance of FastDateFormat, use one of the static factory methods: getInstance(String, TimeZone, Locale), getDateInstance(int, TimeZone, Locale),getTimeInstance(int, TimeZone, Locale), or getDateTimeInstance(int, int, TimeZone, Locale) Since FastDateFormat is thread safe, you can use a static member instance: private

Read More

Simple way to get a random String or Numeric Using RandomUtils and RandomStringUtils

Take a look for RandomStringUtils and RandomUtils. Apache Common-langs make a simple way to do it. RandomUtils is a Utility library that supplement the sandart Random class. RandomStringUtils is an operations for random Strings. Currently private high surrogate characters are ignored. These are Unicode characters that fall

Read More

Simple way to get Java System Properties Using Apache Commons Lang3

SystemUtils help us to know java system properties. We Don’t need get manually. let check this snipset code And here are the results of our code snippet above: Visit My Repository for full code

Read More

How do I Calculate java.util.date using Apache Common Lang3

Do you have a little bored using Java Util Date? Say it to do little operation using java Util Date. example parsing String to Date, add days , add month, round Date, truncate date ceiling date and more operation. Using standart java code we will add some

Read More