<commit_before><persistence xmlns="http://java.sun.com/xml/ns/persistence"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
        version="2.0">
    <persistence-unit name="io.javadog.cws.jpa">
        <description>JPA Test Database Setup</description>
        <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>

        <class>io.javadog.cws.model.entities.SettingEntity</class>
        <class>io.javadog.cws.model.entities.MemberEntity</class>
        <class>io.javadog.cws.model.entities.CircleEntity</class>
        <class>io.javadog.cws.model.entities.KeyEntity</class>
        <class>io.javadog.cws.model.entities.TrusteeEntity</class>
        <class>io.javadog.cws.model.entities.DataTypeEntity</class>
        <class>io.javadog.cws.model.entities.MetadataEntity</class>
        <class>io.javadog.cws.model.entities.DataEntity</class>
        <class>io.javadog.cws.model.entities.SignatureEntity</class>

        <properties>
            <!-- JPA Settings to create test DB via scripts -->
            <!--<property name="javax.persistence.jdbc.url" value ="jdbc:hsqldb:mem:testdb;shutdown=false"/>-->
            <!--<property name="javax.persistence.jdbc.driver" value="org.hsqldb.jdbcDriver"/>-->
            <property name="javax.persistence.jdbc.url" value ="jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE"/>
            <property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
            <property name="javax.persistence.jdbc.user" value="sa"/>
            <property name="javax.persistence.jdbc.password" value="sa"/>
            <property name="javax.persistence.schema-generation.database.action" value="create" />
            <property name="javax.persistence.schema-generation.create-source" value="script"/>
            <!--<property name="javax.persistence.schema-generation.create-script-source" value="META-INF/init-hsqldb.sql"/>-->
            <property name="javax.persistence.schema-generation.create-script-source" value="META-INF/init-h2.sql"/>
            <property name="javax.persistence.sql-load-script-source" value="META-INF/data.sql"/>

            <!-- Hibernate Settings for our test -->
            <property name="hibernate.connection.pool_size" value="75"/>
            <property name="hibernate.connection.autocommit" value="false"/>
            <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>
            <!--<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>-->
            <property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
            <!-- The following is needed, as Hibernate otherwise require that each table creation is on a single line. -->
            <property name="hibernate.hbm2ddl.import_files_sql_extractor" value="org.hibernate.tool.hbm2ddl.MultipleLinesSqlCommandExtractor" />
            <property name="show_sql" value="false"/>
        </properties>

    </persistence-unit>
</persistence>
<commit_msg>#24: Increased connection pool for tests from 75 to 100! As the tests were failing on CircleCI.<commit_after><persistence xmlns="http://java.sun.com/xml/ns/persistence"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
        version="2.0">
    <persistence-unit name="io.javadog.cws.jpa">
        <description>JPA Test Database Setup</description>
        <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>

        <class>io.javadog.cws.model.entities.SettingEntity</class>
        <class>io.javadog.cws.model.entities.MemberEntity</class>
        <class>io.javadog.cws.model.entities.CircleEntity</class>
        <class>io.javadog.cws.model.entities.KeyEntity</class>
        <class>io.javadog.cws.model.entities.TrusteeEntity</class>
        <class>io.javadog.cws.model.entities.DataTypeEntity</class>
        <class>io.javadog.cws.model.entities.MetadataEntity</class>
        <class>io.javadog.cws.model.entities.DataEntity</class>
        <class>io.javadog.cws.model.entities.SignatureEntity</class>

        <properties>
            <!-- JPA Settings to create test DB via scripts -->
            <!--<property name="javax.persistence.jdbc.url" value ="jdbc:hsqldb:mem:testdb;shutdown=false"/>-->
            <!--<property name="javax.persistence.jdbc.driver" value="org.hsqldb.jdbcDriver"/>-->
            <property name="javax.persistence.jdbc.url" value ="jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE"/>
            <property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
            <property name="javax.persistence.jdbc.user" value="sa"/>
            <property name="javax.persistence.jdbc.password" value="sa"/>
            <property name="javax.persistence.schema-generation.database.action" value="create" />
            <property name="javax.persistence.schema-generation.create-source" value="script"/>
            <!--<property name="javax.persistence.schema-generation.create-script-source" value="META-INF/init-hsqldb.sql"/>-->
            <property name="javax.persistence.schema-generation.create-script-source" value="META-INF/init-h2.sql"/>
            <property name="javax.persistence.sql-load-script-source" value="META-INF/data.sql"/>

            <!-- Hibernate Settings for our test -->
            <property name="hibernate.connection.pool_size" value="100"/>
            <property name="hibernate.connection.autocommit" value="false"/>
            <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>
            <!--<property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>-->
            <property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
            <!-- The following is needed, as Hibernate otherwise require that each table creation is on a single line. -->
            <property name="hibernate.hbm2ddl.import_files_sql_extractor" value="org.hibernate.tool.hbm2ddl.MultipleLinesSqlCommandExtractor" />
            <property name="show_sql" value="false"/>
        </properties>

    </persistence-unit>
</persistence>

{'fraction_non_alphanumeric': 0.1529319781078968, 'fraction_numerical': 0.006880375293197811, 'mean_word_length': 3.264, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 0, '>': 109, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6197846', 'n_tokens_mistral': 1989, 'n_tokens_neox': 1950, 'n_words': 240}