jodd-db/src/main/java/jodd/db/ThreadDbSessionProvider.java
@Override
	public DbSession getDbSession() {
		log.debug("Requesting thread session");

		final DbSession session = ThreadDbSessionHolder.get();

		if (session == null) {
			throw new DbSqlException(
					"No DbSession associated with current thread." +
					"It seems that ThreadDbSessionHolder is not used.");
		}
		return session;
	}
@Override
	public DbSession getDbSession() {
		log.debug("Requesting thread session");

		final DbSession session = ThreadDbSessionHolder.get();

		if (session == null) {
			throw new DbSqlException(
					"No DbSession associated with current thread." +
					"It seems that ThreadDbSessionHolder is not used.");
		}
		return session;
	}
{@inheritDoc}