jodd-db/src/main/java/jodd/db/DbQueryBase.java
protected void initSession(final DbSession session) {
		if (session != null) {
			this.session = session;
			return;
		}

		final DbSessionProvider dbSessionProvider = dbOom.sessionProvider();

		this.session = dbSessionProvider.getDbSession();
	}
protected void initSession(final DbSession session) {
		if (session != null) {
			this.session = session;
			return;
		}

		final DbSessionProvider dbSessionProvider = dbOom.sessionProvider();

		this.session = dbSessionProvider.getDbSession();
	}
protected void initSession ( final DbSession session ) { if ( session != null ) { this . session = session ; return ; } final DbSessionProvider dbSessionProvider = dbOom . sessionProvider ( ) ; this . session = dbSessionProvider . getDbSession ( ) ; }
Initializes session. When not specified (i.e. is <code>null</code>),
session is fetched from session provider.
Initializes session . When not specified ( i . e . is <code > null< / code > ) session is fetched from session provider .