Skip to content

Instantly share code, notes, and snippets.

View vuongtrunghieu's full-sized avatar

Hieu Vuong Trung vuongtrunghieu

View GitHub Profile

Keybase proof

I hereby claim:

  • I am vuongtrunghieu on github.
  • I am fpoon (https://keybase.io/fpoon) on keybase.
  • I have a public key ASC7pafdGrtzG64okMc9Wfzo0wigmBRFGwKz50VF7KXTOgo

To claim this, I am signing this object:

import org.hibernate.SessionFactory;
import org.hibernate.boot.Metadata;
import org.hibernate.boot.MetadataSources;
import org.hibernate.boot.registry.StandardServiceRegistry;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
public class HibernateUtil {
/**
* create Session Factory + Service Registry
*/