<commit_before><?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
	xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd">

	<bean id="dataSource" destroy-method="close"
		class="org.apache.commons.dbcp2.BasicDataSource">
		<property name="driverClassName" value="com.mysql.jdbc.Driver" />
		<property name="url" value="jdbc:mysql://localhost:3306/test_db" />
		<property name="username" value="root" />
		<!-- property name="driverClassName" value="oracle.jdbc.OracleDriver" / -->
		<!-- property name="url" value="jdbc:oracle:thin:@localhost:1521:orcl" 
			/ -->
		<!-- property name="username" value="scott" / -->
		<!-- property name="password" value="<PASSWORD>" / -->
		<property name="validationQuery" value="SELECT 1 FROM DUAL" />
		<property name="initialSize" value="3" />
		<property name="testOnBorrow" value="true" />
		<property name="testWhileIdle" value="true" />
		<property name="timeBetweenEvictionRunsMillis" value="60000" />
	</bean>

	<bean id="transactionManager"
		class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
		<property name="dataSource" ref="dataSource" />
	</bean>

	<tx:annotation-driven transaction-manager="transactionManager" />

	<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
		<property name="dataSource" ref="dataSource" />
		<!-- property name="databaseProductName" value="MySQL" / -->
		<property name="databaseProductName" value="Oracle" />
	</bean>
</beans><commit_msg>Arrange datasource-context to make a difference clear between configurations for MySQL and Oracle<commit_after><?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx"
	xsi:schemaLocation="
        http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.1.xsd
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.1.xsd">

	<bean id="dataSource" destroy-method="close"
		class="org.apache.commons.dbcp2.BasicDataSource">

		<!-- MySQL / -->
		<property name="driverClassName" value="com.mysql.jdbc.Driver" />
		<property name="url" value="jdbc:mysql://localhost:3306/test_db" />
		<property name="username" value="root" />

		<!-- Oracle / -->
		<!-- property name="driverClassName" value="oracle.jdbc.OracleDriver" / -->
		<!-- property name="url" value="jdbc:oracle:thin:@localhost:1521:orcl" 
			/ -->
		<!-- property name="username" value="scott" / -->
		<!-- property name="password" value="<PASSWORD>" / -->

		<property name="validationQuery" value="SELECT 1 FROM DUAL" />
		<property name="initialSize" value="3" />
		<property name="testOnBorrow" value="true" />
		<property name="testWhileIdle" value="true" />
		<property name="timeBetweenEvictionRunsMillis" value="60000" />
	</bean>

	<bean id="transactionManager"
		class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
		<property name="dataSource" ref="dataSource" />
	</bean>

	<tx:annotation-driven transaction-manager="transactionManager" />

	<bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate">
		<property name="dataSource" ref="dataSource" />

		<!-- MySQL / -->
		<property name="databaseProductName" value="MySQL" />

		<!-- Oracle / -->
		<!-- property name="databaseProductName" value="Oracle" / -->
	</bean>
</beans>
{'fraction_non_alphanumeric': 0.18850514104930136, 'fraction_numerical': 0.01476403901924598, 'mean_word_length': 4.845916795069337, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 2, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 14, 'xml': 8}, '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': '2896804', 'n_tokens_mistral': 1271, 'n_tokens_neox': 1157, 'n_words': 173}