I want to use Jdbc Template in my module.for this i need datasource bean
to pass inside JdbcTemplate jdbcTemplate = new JdbcTemplate(datasource);
since in OpenMRS connection has established using DriverManager in the DatabaseUpdater.java.
please guide me how i can create datasource bean in my module.
can i establish connection with database twice.
as i explained in my earlier post OpenMRS creating the conncetion
in the DatabaseUpdater.java using DriverManager.
i want to create dataSource bean but OpenMRS already established the connection
using DriverManager.