<commit_before><?xml version="1.0" encoding="UTF-8"?>
<datasource-configuration xmlns:this="http://xmlns.opennms.org/xsd/config/opennms-datasources" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://xmlns.opennms.org/xsd/config/opennms-datasources 
  http://www.opennms.org/xsd/config/opennms-datasources.xsd ">

  <!-- 
    Available implementations:
	   org.opennms.netmgt.config.C3P0ConnectionFactory
		  - Uses C3P0 (http://sourceforge.net/projects/c3p0/)  This is the default.
      org.opennms.netmgt.config.DBPoolConnectionFactory
		  - Uses DBPool (http://www.snaq.net/java/DBPool/)  An alternate high-performance pool.
          Experimental.
		org.opennms.netmgt.config.TomcatJdbcPoolConnectionFactory
		  - Uses Tomcat DBCP (http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html)  A
          highly concurrent pooling API.  Recommended, but still experimental.
  -->
  <connection-pool factory="org.opennms.netmgt.config.TomcatJdbcPoolConnectionFactory"
    idleTimeout="600"
    loginTimeout="3"
    minPool="10"
    maxPool="50"
    maxSize="500" />

  <jdbc-data-source name="opennms" 
                    database-name="${install.database.name}" 
                    class-name="${install.database.driver}" <commit_msg>Revert "NMS-4741 use tomcat DBCP instead of C3P0"<commit_after><?xml version="1.0" encoding="UTF-8"?>
<datasource-configuration xmlns:this="http://xmlns.opennms.org/xsd/config/opennms-datasources" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://xmlns.opennms.org/xsd/config/opennms-datasources 
  http://www.opennms.org/xsd/config/opennms-datasources.xsd ">

  <!-- 
    Available implementations:
	   org.opennms.netmgt.config.C3P0ConnectionFactory
		  - Uses C3P0 (http://sourceforge.net/projects/c3p0/)  This is the default.
      org.opennms.netmgt.config.DBPoolConnectionFactory
		  - Uses DBPool (http://www.snaq.net/java/DBPool/)  An alternate high-performance pool.
          Experimental.
		org.opennms.netmgt.config.TomcatJdbcPoolConnectionFactory
		  - Uses Tomcat DBCP (http://people.apache.org/~fhanik/jdbc-pool/jdbc-pool.html)  A
          highly concurrent pooling API.  Recommended, but still experimental.
  -->
  <connection-pool factory="org.opennms.netmgt.config.C3P0ConnectionFactory"
    idleTimeout="600"
    loginTimeout="3"
    minPool="10"
    maxPool="50"
    maxSize="500" />

  <jdbc-data-source name="opennms" 
                    database-name="${install.database.name}" 
                    class-name="${install.database.driver}" 
{'fraction_non_alphanumeric': 0.1400310318076028, 'fraction_numerical': 0.022498060512024826, 'mean_word_length': 3.3786078098471988, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 2, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 10}, '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': '1219129', 'n_tokens_mistral': 955, 'n_tokens_neox': 869, 'n_words': 111}