My Server part also has a hibernate configuration and hibernate session.
Is there any way to give that hibernate session to the HibernateDataSource ?
The main reason is that i need to "encrypt" the password of the hibernate.cfg.xml and therefore the HibernateDataSource fails on startup (as it is not included in the hibernate.cfg.xml)
Within my server code - the password is decrypted and then added to the Hibernate Configuration on runtime - so i need a method to "forward" my configuration to the HibernateDataSource - before this starts loading.
Is there any way ?
Is there any way to give that hibernate session to the HibernateDataSource ?
The main reason is that i need to "encrypt" the password of the hibernate.cfg.xml and therefore the HibernateDataSource fails on startup (as it is not included in the hibernate.cfg.xml)
Within my server code - the password is decrypted and then added to the Hibernate Configuration on runtime - so i need a method to "forward" my configuration to the HibernateDataSource - before this starts loading.
Is there any way ?
Comment