src/main/kotlin/de/uapcore/lightpit/DataSourceProvider.kt

changeset 254
55ca6cafc3dd
parent 247
e71ae69c68c0
child 310
bbf4eb9a71f8
equal deleted inserted replaced
253:e1cd3e698037 254:55ca6cafc3dd
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 package de.uapcore.lightpit 26 package de.uapcore.lightpit
27 27
28 import jakarta.servlet.ServletContextEvent
29 import jakarta.servlet.ServletContextListener
30 import jakarta.servlet.annotation.WebListener
28 import java.sql.SQLException 31 import java.sql.SQLException
29 import javax.naming.Context 32 import javax.naming.Context
30 import javax.naming.InitialContext 33 import javax.naming.InitialContext
31 import javax.naming.NamingException 34 import javax.naming.NamingException
32 import javax.servlet.ServletContextEvent
33 import javax.servlet.ServletContextListener
34 import javax.servlet.annotation.WebListener
35 import javax.sql.DataSource 35 import javax.sql.DataSource
36 36
37 /** 37 /**
38 * Provides access to the database. 38 * Provides access to the database.
39 */ 39 */

mercurial