Hi All,
I am using Hibernate for client-server Swing Desktop application, that connect's to MySQL database.
I am using DBMS auth. for user login.
With Apache Avalon framework I have a custom Service Manager, that ask's a user for a login before configuring the pool. And pool won't be configuren until user supply a valid login.
Since I am using Hibernate now, it loads connection pool itself.
I know that I can use a custom connection pool, however is there are any way to keep Hibernate loading the pool but to register a listener or a proxy that can perform login task ?
If anyone have the similar situation, please advice.
|