Context initialContext = new InitialContext();
datasource =
(DataSource)initialContext.lookup("jdbc/operationsDB");
con = datasource.getConnection();
stmt = con.createStatement();
datasource =
(DataSource)initialContext.lookup("jdbc/operationsDB");
con = datasource.getConnection();
stmt = con.createStatement();
No comments:
Post a Comment