private static EntityManager entityManager;
@BeforeClass
public static void config() {
Bootstrap b = new Bootstrap("com.mysql.jdbc.Driver", "jdbc:mysql:localhost/opensocial", "opensocial", "opensocial", "1", "1");
// Bootstrap b = new
// Bootstrap("com.mysql.jdbc.Driver",
// "jdbc:mysql://localhost/sakaikernel?useUnicode=true&characterEncoding=UTF-8",
// "sakaikernel","sakaikernel","1","1");
entityManager = b.getEntityManager("hibernate");
}