<commit_before><?xml version="1.0" encoding="UTF-8"?>
	<!--
 Copyright 2005 I Serv Consultoria Empresarial Ltda.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
		-->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans 
           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
	<!--
			Property configurer 
	-->
	<bean id="propertyOverrideConfigurer" 
		class="org.springframework.beans.factory.config.PropertyOverrideConfigurer">
		<property name="ignoreResourceNotFound" value="true" />
		<property name="ignoreInvalidKeys" value="true" />
		<property name="locations">
			<list>
				<value>classpath:/META-INF/jdbc.properties</value>
				<value>classpath:/META-INF/helianto.properties</value>
			</list>
		</property>
	</bean>
	
	<!--
			Connection pool data source
	-->
	<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"
        destroy-method="close">
        <property name="driverClass" value="org.hsqldb.jdbcDriver"/>
        <property name="jdbcUrl" value="jdbc:hsqldb:file:target/testdb/db2;shutdown=true"/>
        <property name="properties">
            <props>
                <prop key="c3p0.acquire_increment">5</prop>
                <prop key="c3p0.idle_test_period">100</prop>
                <prop key="c3p0.max_size">100</prop>
                <prop key="c3p0.max_statements">0</prop>
                <prop key="c3p0.min_size">10</prop>
                <prop key="user">sa</prop>
            </props>
        </property>
    </bean>
	
</beans><commit_msg>Added comment to help future improvement.<commit_after><?xml version="1.0" encoding="UTF-8"?>
	<!--
 Copyright 2005 I Serv Consultoria Empresarial Ltda.

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
		-->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans 
           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
	<!--
			Property configurer 
	-->
	<bean id="propertyOverrideConfigurer" 
		class="org.springframework.beans.factory.config.PropertyOverrideConfigurer">
		<property name="ignoreResourceNotFound" value="true" />
		<property name="ignoreInvalidKeys" value="true" />
		<property name="locations">
			<list>
				<value>classpath:/META-INF/jdbc.properties</value>
				<value>classpath:/META-INF/helianto.properties</value>
			</list>
		</property>
	</bean>
	
	<!--
			Connection pool data source
	-->
	<bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"
        destroy-method="close">
        <property name="driverClass" value="org.hsqldb.jdbcDriver"/>
        <property name="jdbcUrl" value="jdbc:hsqldb:file:target/testdb/db2;shutdown=true"/>
        <property name="properties">
            <props>
                <prop key="c3p0.acquire_increment">5</prop>
                <prop key="c3p0.idle_test_period">100</prop>
                <prop key="c3p0.max_size">100</prop>
                <prop key="c3p0.max_statements">0</prop>
                <prop key="c3p0.min_size">10</prop>
                <prop key="user">sa</prop>
            </props>
        </property>
    </bean>
	<!-- 
	Check this later
	<property name="autoCommitOnClose"> <value>true</value></property>
	<property name="idleConnectionTestPeriod"><value>15</value> </property>
	<property name="maxIdleTime"> <value>15</value> </property>
	</bean
	<param name="validationQuery" value="SELECT 1" />
	<param name="testOnBorrow" value="true" />	
	jdbc:mysql://127.0.0.1:3306/databasename?autoReconnect=true
	<property name="hibernate.c3p0.preferredTestQuery">select 1</property>  
    <property name="hibernate.c3p0.testConnectionOnCheckout">true</property>  
	-->
</beans>
{'fraction_non_alphanumeric': 0.13939144736842105, 'fraction_numerical': 0.02138157894736842, 'mean_word_length': 3.430783242258652, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 2, '>': 98, 'https://': 0, 'lorem ipsum': 0, 'www.': 10, 'xml': 6}, 'pii_count': 1, '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': '1889180', 'n_tokens_mistral': 1578, 'n_tokens_neox': 1445, 'n_words': 321}