Support random/round-robin db server selection in OrmLiteConnectionFactory
The OrmLiteConnectionFactory can register several database servers, as described here:
https://stackoverflow.com/a/13693254/178143
However, to use the servers that is no "default", then you have to do it manually by using the name.
I would suggest having a setting where the database server used is either random, round-robin or some other way. Sure, its not rocket science perhaps to write a wrapper for that yourself, but maybe it would be neat to have support in the framework.
Thank you.
1
vote