Requirement – To get the using current Data source name in Application Module
Implementation- Following source code will help you getting this
Hashtable hashtable = getSession().getEnvironment(); System.out.println(" value of JDBC data source is : "+hashtable.get("JDBCDataSource"));
Happy learning with Vinay Kumar in techartifact….