<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:p="http://www.springframework.org/schema/p" 
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">

<!-- 
	<bean id="abstractDataSourceBase" abstract="true"  class="org.apache.commons.dbcp.BasicDataSource" >
        <property name="driverClassName" value="${kfs.datasource.driver.name}"/>
        <property name="validationQuery" value="${kfs.datasource.validating.query}"/>
        <property name="url" value="${kfs.datasource.url}"/>    
        <property name="username" value="${kfs.datasource.username}" />
        <property name="password" value="<PASSWORD>}" />
	</bean>

    <bean id="nonTransactionalDataSource" parent="abstractDataSourceBase" destroy-method="close">
        <property name="accessToUnderlyingConnectionAllowed" value="${kfs.datasource.pool.accessToUnderlyingConnectionAllowed}"/>
        <property name="maxActive" value="${kfs.datasource.pool.maxActive}"/>
		<property name="minIdle" value="${kfs.datasource.pool.minIdle}" />
		<property name="initialSize" value="${kfs.datasource.pool.initialSize}" />
    </bean>
-->
    <bean id="riceNonTransactionalDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
        <property name="driverClassName" value="${rice.datasource.driver.name}"/>
        <property name="validationQuery" value="${rice.datasource.validating.query}"/>
        <property name="url" value="${rice.datasource.url}"/>    
        <property name="username" value="${rice.datasource.username}" />
        <property name="password" value="<PASSWORD>}" />
        <property name="accessToUnderlyingConnectionAllowed" value="${rice.datasource.pool.accessToUnderlyingConnectionAllowed}"/>
        <property name="maxActive" value="${rice.datasource.pool.maxActive}"/>
		<property name="minIdle" value="${rice.datasource.pool.minIdle}" />
		<property name="initialSize" value="${rice.datasource.pool.initialSize}" />
    </bean>

<!-- 
    <bean id="abstractTransactionalDataSource" parent="abstractDataSourceBase" abstract="true">
		<property name="transactionManager" ref="transactionManager${connection.pool.impl}" />
		<property name="maxSize" value="${kfs.datasource.pool.maxSize}" />
		<property name="minSize" value="${kfs.datasource.pool.minSize}" />
		<property name="maxWait" value="${kfs.datasource.pool.maxWait}" />
    </bean>
 -->
 
	<!-- 
	<bean id="kfsDataSource" parent="abstractTransactionalDataSource">
		<property name="preparedStmtCacheSize" value="${kfs.datasource.maximum.cached.preparedstatements}" />
		<property name="checkLevelObject" value="${kfs.datasource.xapool.connection.test.mode}" />
	</bean>
	 -->
<!-- 
    <bean id="riceDataSource" parent="kfsDataSource">
	    <property name="driverClassName" value="${rice.datasource.driver.name}" />
	    <property name="validationQuery" value="${rice.datasource.validating.query}" />
	    <property name="url"             value="${rice.datasource.url}" />
	    <property name="username"        value="${rice.datasource.username}" />
	    <property name="password"        value="${<PASSWORD>}" />
    </bean>
     -->

	<bean id="kfsDataSourceXAPool" class="org.kuali.rice.core.framework.persistence.jdbc.datasource.XAPoolDataSource">
		<property name="transactionManager" ref="transactionManagerXAPool" />
		<property name="driverClassName" value="${datasource.driver.name}" />
		<property name="url" value="${datasource.url}" />
		<property name="maxSize" value="${datasource.pool.maxSize}" />
		<property name="minSize" value="${datasource.pool.minSize}" />
		<property name="maxWait" value="${datasource.pool.maxWait}" />
		<property name="validationQuery" value="${datasource.pool.validationQuery}" />
		<property name="username" value="${datasource.username}" />
		<property name="password" value="${<PASSWORD>}" />
	</bean>

	<bean id="riceDataSourceXAPool" class="org.kuali.rice.core.framework.persistence.jdbc.datasource.XAPoolDataSource">
		<property name="transactionManager" ref="transactionManagerXAPool" />
		<property name="driverClassName" value="${datasource.driver.name}" />
		<property name="url" value="${datasource.url}" />
		<property name="maxSize" value="${datasource.pool.maxSize}" />
		<property name="minSize" value="${datasource.pool.minSize}" />
		<property name="maxWait" value="${datasource.pool.maxWait}" />
		<property name="validationQuery" value="${datasource.pool.validationQuery}" />
		<property name="username" value="${datasource.username}" />
		<property name="password" value="<PASSWORD>}" />
	</bean>

 <!-- 
  <bean id="ds-random-string" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
    <property name="staticMethod" value="org.apache.commons.lang.RandomStringUtils.randomAlphanumeric"/>
    <property name="arguments"><list><value>20</value></list></property>
  </bean>
 -->
  <bean id="riceDataSourceBitronix" class="bitronix.tm.resource.jdbc.PoolingDataSource" init-method="init"
        destroy-method="close" lazy-init="true"><commit_msg>Fixing rice datasource file.<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:p="http://www.springframework.org/schema/p" 
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">

<!-- 
	<bean id="abstractDataSourceBase" abstract="true"  class="org.apache.commons.dbcp.BasicDataSource" >
        <property name="driverClassName" value="${kfs.datasource.driver.name}"/>
        <property name="validationQuery" value="${kfs.datasource.validating.query}"/>
        <property name="url" value="${kfs.datasource.url}"/>    
        <property name="username" value="${kfs.datasource.username}" />
        <property name="password" value="${<PASSWORD>}" />
	</bean>

    <bean id="nonTransactionalDataSource" parent="abstractDataSourceBase" destroy-method="close">
        <property name="accessToUnderlyingConnectionAllowed" value="${kfs.datasource.pool.accessToUnderlyingConnectionAllowed}"/>
        <property name="maxActive" value="${kfs.datasource.pool.maxActive}"/>
		<property name="minIdle" value="${kfs.datasource.pool.minIdle}" />
		<property name="initialSize" value="${kfs.datasource.pool.initialSize}" />
    </bean>
-->
    <bean id="riceNonTransactionalDataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
        <property name="driverClassName" value="${rice.datasource.driver.name}"/>
        <property name="validationQuery" value="${rice.datasource.validating.query}"/>
        <property name="url" value="${rice.datasource.url}"/>    
        <property name="username" value="${rice.datasource.username}" />
        <property name="password" value="${<PASSWORD>}" />
        <property name="accessToUnderlyingConnectionAllowed" value="${rice.datasource.pool.accessToUnderlyingConnectionAllowed}"/>
        <property name="maxActive" value="${rice.datasource.pool.maxActive}"/>
		<property name="minIdle" value="${rice.datasource.pool.minIdle}" />
		<property name="initialSize" value="${rice.datasource.pool.initialSize}" />
    </bean>

<!-- 
    <bean id="abstractTransactionalDataSource" parent="abstractDataSourceBase" abstract="true">
		<property name="transactionManager" ref="transactionManager${connection.pool.impl}" />
		<property name="maxSize" value="${kfs.datasource.pool.maxSize}" />
		<property name="minSize" value="${kfs.datasource.pool.minSize}" />
		<property name="maxWait" value="${kfs.datasource.pool.maxWait}" />
    </bean>
 -->
 
	<!-- 
	<bean id="kfsDataSource" parent="abstractTransactionalDataSource">
		<property name="preparedStmtCacheSize" value="${kfs.datasource.maximum.cached.preparedstatements}" />
		<property name="checkLevelObject" value="${kfs.datasource.xapool.connection.test.mode}" />
	</bean>
	 -->
<!-- 
    <bean id="riceDataSource" parent="kfsDataSource">
	    <property name="driverClassName" value="${rice.datasource.driver.name}" />
	    <property name="validationQuery" value="${rice.datasource.validating.query}" />
	    <property name="url"             value="${rice.datasource.url}" />
	    <property name="username"        value="${rice.datasource.username}" />
	    <property name="password"        value="<PASSWORD>}" />
    </bean>
     -->

	<bean id="kfsDataSourceXAPool" class="org.kuali.rice.core.framework.persistence.jdbc.datasource.XAPoolDataSource">
		<property name="transactionManager" ref="transactionManagerXAPool" />
		<property name="driverClassName" value="${datasource.driver.name}" />
		<property name="url" value="${datasource.url}" />
		<property name="maxSize" value="${datasource.pool.maxSize}" />
		<property name="minSize" value="${datasource.pool.minSize}" />
		<property name="maxWait" value="${datasource.pool.maxWait}" />
		<property name="validationQuery" value="${datasource.pool.validationQuery}" />
		<property name="username" value="${datasource.username}" />
		<property name="password" value="${<PASSWORD>}" />
	</bean>

	<bean id="riceDataSourceXAPool" class="org.kuali.rice.core.framework.persistence.jdbc.datasource.XAPoolDataSource">
		<property name="transactionManager" ref="transactionManagerXAPool" />
		<property name="driverClassName" value="${datasource.driver.name}" />
		<property name="url" value="${rice.datasource.url}" />
		<property name="maxSize" value="${rice.datasource.pool.maxSize}" />
		<property name="minSize" value="${rice.datasource.pool.minSize}" />
		<property name="maxWait" value="${rice.datasource.pool.maxWait}" />
		<property name="validationQuery" value="${rice.datasource.pool.validationQuery}" />
		<property name="username" value="${rice.datasource.username}" />
		<property name="password" value="<PASSWORD>}" />
	</bean>

 <!-- 
  <bean id="ds-random-string" class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
    <property name="staticMethod" value="org.apache.commons.lang.RandomStringUtils.randomAlphanumeric"/>
    <property name="arguments"><list><value>20</value></list></property>
  </bean>
 -->
  <bean id="riceDataSourceBitronix" class="bitronix.tm.resource.jdbc.PoolingDataSource" init-method="init"
        destroy-method="close" lazy-init="true">
{'fraction_non_alphanumeric': 0.18402876336455673, 'fraction_numerical': 0.0022707919386886176, 'mean_word_length': 5.01593625498008, 'pattern_counts': {'":': 0, '<': 173, '<?xml version=': 2, '>': 173, 'https://': 0, 'lorem ipsum': 0, 'www.': 10, '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': '7048059', 'n_tokens_mistral': 3232, 'n_tokens_neox': 3044, 'n_words': 404}