<commit_before>package org.carcv.persistence;

import javax.persistence.OneToMany;

import org.hibernate.SessionFactory;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import org.hibernate.cfg.Configuration;
import org.hibernate.service.ServiceRegistry;

public class HibernateUtil {

	private static SessionFactory sessionFactory;
	private static ServiceRegistry serviceRegistry;

	private static SessionFactory configureSessionFactory() {
		System.err.println(OneToMany.class.getProtectionDomain().getCodeSource().getLocation());
		System.err.println(org.hibernate.mapping.OneToMany.class.getProtectionDomain().getCodeSource().getLocation());
		
		Configuration configuration = new Configuration();
		configuration.configure();
		serviceRegistry = new StandardServiceRegistryBuilder().applySettings(
				configuration.getProperties()).build();
		sessionFactory = configuration.buildSessionFactory(serviceRegistry);
		return sessionFactory;

	}
<commit_msg>added debug logging<commit_after>package org.carcv.persistence;

import javax.persistence.OneToMany;

import org.hibernate.SessionFactory;
import org.hibernate.boot.registry.StandardServiceRegistryBuilder;
import org.hibernate.cfg.Configuration;
import org.hibernate.service.ServiceRegistry;
import org.jboss.logging.Logger;

public class HibernateUtil {

	private static SessionFactory sessionFactory;
	private static ServiceRegistry serviceRegistry;

	private static SessionFactory configureSessionFactory() {
		Logger.getLogger(HibernateUtil.class).debug("1 - " + OneToMany.class.getProtectionDomain().getCodeSource().getLocation().toString());
		Logger.getLogger(HibernateUtil.class).debug("2 - " + org.hibernate.mapping.OneToMany.class.getProtectionDomain().getCodeSource().getLocation());
		
		Configuration configuration = new Configuration();
		configuration.configure();
		serviceRegistry = new StandardServiceRegistryBuilder().applySettings(
				configuration.getProperties()).build();
		sessionFactory = configuration.buildSessionFactory(serviceRegistry);
		return sessionFactory;

	}

{'fraction_non_alphanumeric': 0.09884281581485053, 'fraction_numerical': 0.0009643201542912247, 'mean_word_length': 7.266932270916334, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2556106', 'n_tokens_mistral': 555, 'n_tokens_neox': 501, 'n_words': 90}