singleton is a way to restrict only one object per a class
There are multiple ways of creating a singleton object
1) eager initialized singleton
public class MySingelton1 {
private final static ...
Wednesday, 24 October 2018
Convert from List to IN params for SQL
October 24, 2018 / with No comments /
Convert from List to IN params for SQL
public static <T> String getWithINParam(List<T> paraList) {
try {
if (null != paraList)
return paraList.stream().map(s -> new ...
Subscribe to:
Posts (Atom)