jodd-db/src/main/java/jodd/db/DbThreadSession.java
public static DbThreadSession getThreadSession() {
		DbThreadSession session = (DbThreadSession) ThreadDbSessionHolder.get();
		if (session == null) {
			session = new DbThreadSession();
		}
		return session;
	}
public static DbThreadSession getThreadSession() {
		DbThreadSession session = (DbThreadSession) ThreadDbSessionHolder.get();
		if (session == null) {
			session = new DbThreadSession();
		}
		return session;
	}
public static DbThreadSession getThreadSession ( ) { DbThreadSession session = ( DbThreadSession ) ThreadDbSessionHolder . get ( ) ; if ( session == null ) { session = new DbThreadSession ( ) ; } return session ; }
Returns existing thread session, or new one if already not exist. If session doesn't exist, it will be created
using default connection provider.
Returns existing thread session or new one if already not exist . If session doesn t exist it will be created using default connection provider .