I want to create session factory which is shared by all system database users. As session factory is heavy component it is not right to create it every time user login to application.
My scenario is that, I have an application which is login by system database users i.e. Mysql database users not by application users. So I need a session factory which can be created only once and used by all system database users.
Is it possible to do that?