1
0
-1

 

I want to make sql server queries through an AppUtil.getApplicationContext().getBean but I don't know how it really works

DataSource ds = (DataSource)AppUtil.getApplicationContext().getBean("setupDataSource");
        con = ds.getConnection();

    CommentAdd your comment...

    1 answer