package yanagishima.provider;

import me.geso.tinyorm.TinyORM;

import javax.inject.Inject;
import javax.inject.Provider;
import java.sql.Connection;

public class TinyORMProvider implements Provider<TinyORM> {

	@Inject
	private Connection connection;

	@Override
	public TinyORM get() {
		TinyORM tinyORM =  new TinyORM(connection);
		tinyORM.setQueryTimeout(3);
		return tinyORM;
	}
}

package yanagishima.provider;

import me.geso.tinyorm.TinyORM;

import javax.inject.Inject;
import javax.inject.Provider;
import java.sql.Connection;

public class TinyORMProvider implements Provider<TinyORM> {

	@Inject
	private Connection connection;

	@Override
	public TinyORM get() {
		TinyORM tinyORM =  new TinyORM(connection);
		tinyORM.setQueryTimeout(10);
		return tinyORM;
	}
}

Increase timeout to avoid SQLITE_BUSY