Expand my Community achievements bar.

Changing Hibernate - connection URL after startup in LCDS

Avatar

Former Community Member
Hi,



I have a flex app that have different databases (names) with the same tables.



I want to dynamically change the database url in hibernate (or hibernateassmebler used in data destination) based on the customer.



(example. xyz company will have xyz database in mysql)



While I know it is possible to have assembler run-time configuration and change it using remoting, I am wondering if there is any solution to change Assembler hibernate-db-configuration (like by extending it..) on demand. (for destinations that are already written in the data-management.xml file).



If not, it poses a large inflexibility.
0 Replies