<commit_before><!DOCTYPE hibernate-configuration PUBLIC
	"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
	"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">

<hibernate-configuration>
	<session-factory name="javsteriskPersistenceUnit">
		
		<!-- Settings for database. -->           
        <!--         
        <property name="hibernat.dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
        <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>  
        <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/javsterisk</property>  
        <property name="hibernate.connection.username">javsterisk</property>  
        <property name="hibernate.connection.password"><PASSWORD></property>  
  		 -->  		 
  
  		<property name="hibernate.dialect">MySQL5InnoDB</property>
  		<!-- <property name="hibernate.dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property> -->
  
  		<!-- To be used when datasource is enabled (driver_class, url, username and password above wont be needed)-->
		<property name="hibernate.connection.datasource">java:/comp/env/jdbc/javsteriskDS</property>
		<property name="hibernate.connection.autocommit">false</property>
		
  		<!-- <property name="hibernate.session_factory_name">eCash_SF</property> -->
        
        <!-- Enable Hibernate's automatic session context management -->
        <!-- Bind the getCurrentSession() method to the thread. -->
        <property name="hibernate.current_session_context_class">thread</property>
        
        <!-- Drop and then re-create schema on SessionFactory build, for testing. -->  
		<!-- 
		validate    : validate the schema, makes no changes to the database.
		update      : update the schema.
		create      : creates the schema, destroying previous data.
		create-drop : drop the schema at the end of the session.
		 -->
        <property name="hibernate.hbm2ddl.auto">validate</property>
        
        <!-- Print SQL to stdout. -->
        <property name="hibernate.show_sql">true</property>
        <property name="hibernate.format_sql">true</property> 
		<property name="hibernate.use_sql_comments">true</property>
        <property name="hibernate.generate_statistics">true</property>
        
        <!-- <property name="hibernate.connection.shutdown">true</property> -->
        	
		<!-- Disable the second-level cache  -->
        <property name="hibernate.cache.provider_class">org.hibernate.cache.internal.NoCacheProvider</property>
		
		<mapping class="com.web.javsterisk.entity.User"/>
		<mapping class="com.web.javsterisk.entity.Role"/>
		<mapping class="com.web.javsterisk.entity.SipBuddies"/>
		<mapping class="com.web.javsterisk.entity.Permission"/>
		<mapping class="com.web.javsterisk.entity.Parameter"/>
		<mapping class="com.web.javsterisk.entity.Permission"/>
		<mapping class="com.web.javsterisk.entity.LoggingEvent"/>
		<mapping class="com.web.javsterisk.entity.Extensions"/>
		<mapping class="com.web.javsterisk.entity.ExtensionsWizzard"/>
		<mapping class="com.web.javsterisk.entity.Cdr"/>
		<mapping class="com.web.javsterisk.entity.Context"/>
		
	</session-factory>
</hibernate-configuration><commit_msg>set false in statistics hibernate<commit_after><!DOCTYPE hibernate-configuration PUBLIC
	"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
	"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">

<hibernate-configuration>
	<session-factory name="javsteriskPersistenceUnit">
		
		<!-- Settings for database. -->           
        <!--         
        <property name="hibernat.dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
        <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>  
        <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/javsterisk</property>  
        <property name="hibernate.connection.username">javsterisk</property>  
        <property name="hibernate.connection.password"><PASSWORD></property>  
  		 -->  		 
  
  		<property name="hibernate.dialect">MySQL5InnoDB</property>
  		<!-- <property name="hibernate.dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property> -->
  
  		<!-- To be used when datasource is enabled (driver_class, url, username and password above wont be needed)-->
		<property name="hibernate.connection.datasource">java:/comp/env/jdbc/javsteriskDS</property>
		<property name="hibernate.connection.autocommit">false</property>
		
  		<!-- <property name="hibernate.session_factory_name">eCash_SF</property> -->
        
        <!-- Enable Hibernate's automatic session context management -->
        <!-- Bind the getCurrentSession() method to the thread. -->
        <property name="hibernate.current_session_context_class">thread</property>
        
        <!-- Drop and then re-create schema on SessionFactory build, for testing. -->  
		<!-- 
		validate    : validate the schema, makes no changes to the database.
		update      : update the schema.
		create      : creates the schema, destroying previous data.
		create-drop : drop the schema at the end of the session.
		 -->
        <property name="hibernate.hbm2ddl.auto">validate</property>
        
        <!-- Print SQL to stdout. -->
        <property name="hibernate.show_sql">true</property>
        <property name="hibernate.format_sql">true</property> 
		<property name="hibernate.use_sql_comments">false</property>
        <property name="hibernate.generate_statistics">false</property>
        
        <!-- <property name="hibernate.connection.shutdown">true</property> -->
        	
		<!-- Disable the second-level cache  -->
        <property name="hibernate.cache.provider_class">org.hibernate.cache.internal.NoCacheProvider</property>
		
		<mapping class="com.web.javsterisk.entity.User"/>
		<mapping class="com.web.javsterisk.entity.Role"/>
		<mapping class="com.web.javsterisk.entity.SipBuddies"/>
		<mapping class="com.web.javsterisk.entity.Permission"/>
		<mapping class="com.web.javsterisk.entity.Parameter"/>
		<mapping class="com.web.javsterisk.entity.Permission"/>
		<mapping class="com.web.javsterisk.entity.LoggingEvent"/>
		<mapping class="com.web.javsterisk.entity.Extensions"/>
		<mapping class="com.web.javsterisk.entity.ExtensionsWizzard"/>
		<mapping class="com.web.javsterisk.entity.Cdr"/>
		<mapping class="com.web.javsterisk.entity.Context"/>
		
	</session-factory>
</hibernate-configuration>
{'fraction_non_alphanumeric': 0.14383561643835616, 'fraction_numerical': 0.0037359900373599006, 'mean_word_length': 3.5535081502480512, 'pattern_counts': {'":': 0, '<': 133, '<?xml version=': 0, '>': 133, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '2187184', 'n_tokens_mistral': 2026, 'n_tokens_neox': 1796, 'n_words': 307}