Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Changing Hibernate - connection URL after startup in LCDS

Avatar

02-07-2008

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.