Demo entry 6763219

Test

   

Submitted by anonymous on Oct 20, 2018 at 12:56
Language: Java. Code size: 307 Bytes.

try {
	// Création de la SessionFactory à partir de hibernate.cfg.xml
	sessionFactory = new Configuration().configure("hibernate.cfg.xml").buildSessionFactory();
} catch (Throwable ex) {
	System.err.println("Initial SessionFactory creation failed." + ex);
	throw new ExceptionInInitializerError(ex);
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).