Hi, On 01/21/2011 11:38 AM, Guillaume Belrose wrote:
I am only creating one repository in my test. I am then trying to create multiple sessions in a sequence within the same thread. The 1st session fails to be created as the DB is not running. The following sessions fail to create as the repository appears to be locked. There is only 1 process and 1 thread.
It could be that the TransientRepository startup is getting confused by the initial login failure. Can you please file a bug about that?
You should be able to avoid this problem by using the RepositoryImpl class directly instead of TransientRepository.
-- Jukka Zitting
