Title: Message Title
|
|
|
|
Why not using the URL returned by DatabaseMetaData instead of passing host, port and others around?
{code} final String tenantUrl = connection.getMetaData().getURL(); rptParamValues.put("tenantUrl", tenantUrl); {code}
And adding the URL directly instead of building it by hand? {code} var tenantUrl = dataRow.get("tenantUrl"); dataFactory.getConnectionProvider().setUrl(tenantUrl); {code}
This would keep the code clean from DBMS specific information and passing username and password seemed to work.
Some thoughts on this?
|
|
|
|
|
|
|
|
------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues