Skip to content

Instantly share code, notes, and snippets.

View Angel-Dijoux's full-sized avatar

Angel Dijoux Angel-Dijoux

View GitHub Profile
@Angel-Dijoux
Angel-Dijoux / ConnectionProvider.java
Created March 30, 2023 07:05
Connection Provider
package com.hopitalpharmacie.db;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.logging.Logger;
import javax.sql.DataSource;
public class ConnectionProvider {
private static final Logger logger = Logger.getLogger(ConnectionProvider.class.getName());
private static DataSource dataSource;
:set number
:set relativenumber
:set autoindent
:set tabstop=4
:set shiftwidth=4
:set smarttab
:set softtabstop=4
:set mouse=a
:set encoding=UTF-8