Fix issue on jDao when using a dao with several profiles

When retrieving a dao at different time with different profiles, we always
retrieve the first one. We should have a dao instance for each profile