public static synchronized EntityManagerFactory getInstance() {
        if (singleton == null) {
            singleton = Persistence.createEntityManagerFactory("GSB-2014-eq1_initialPU");
        }
        return singleton;
    }