try
{
String curServerName = getUrlBegin(_session.getSQLConnection().getConnection().getMetaData().getURL());
Database conn = (JBindDatabase) CacheDatabase.getDatabase(_session.getSQLConnection().getConnection());
CacheQuery qry = new CacheQuery(conn, "%Library.RoutineMgr", "NamespaceList");
ResultSet resNamespaces = qry.execute();
Hashtable aliasesByNamespaces = new Hashtable();
while (resNamespaces.next())
{
aliasesByNamespaces.put(resNamespaces.getString(1).toUpperCase(), "");