<commit_before><persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
             version="2.1">
    <persistence-unit name="devicehive" transaction-type="JTA">

        <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
        <jta-data-source>jdbc/DeviceHiveDataSource</jta-data-source>
        <class>com.devicehive.model.User</class>
        <class>com.devicehive.model.Device</class>
        <class>com.devicehive.model.DeviceClass</class>
        <class>com.devicehive.model.DeviceCommand</class>
        <class>com.devicehive.model.DeviceEquipment</class>
        <class>com.devicehive.model.DeviceNotification</class>
        <class>com.devicehive.model.Configuration</class>
        <class>com.devicehive.model.Equipment</class>
        <class>com.devicehive.model.Network</class>
        <class>com.devicehive.model.ServerTimestamp</class>
        <class>com.devicehive.model.AccessKey</class>
        <class>com.devicehive.model.AccessKeyPermission</class>
        <class>com.devicehive.model.OAuthClient</class>
        <class>com.devicehive.model.OAuthGrant</class>
        <exclude-unlisted-classes>true</exclude-unlisted-classes>
        <shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode>
        <validation-mode>AUTO</validation-mode>
        <properties>
            <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQL9Dialect"/>
            <property name="hibernate.hbm2ddl.auto" value="validate"/>
            <property name="hibernate.show_sql" value="false"/>
            <property name="hibernate.format_sql" value="true"/>
            <property name="hibernate.transaction.jta.platform"
                      value="org.hibernate.engine.transaction.jta.platform.internal.SunOneJtaPlatform"/>
            <property name="hibernate.cache.region.factory_class"
                      value="com.hazelcast.hibernate.HazelcastCacheRegionFactory"/>
            <property name="hibernate.cache.use_second_level_cache" value="true"/>
            <property name="hibernate.cache.use_query_cache" value="true"/>
            <property name="hibernate.cache.hazelcast.configuration_file_path" value="hazelcast-cache.xml"/>
        </properties>
    </persistence-unit>


</persistence><commit_msg>Short JtaPlatform names<commit_after><persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
             version="2.1">
    <persistence-unit name="devicehive" transaction-type="JTA">

        <provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
        <jta-data-source>jdbc/DeviceHiveDataSource</jta-data-source>
        <class>com.devicehive.model.User</class>
        <class>com.devicehive.model.Device</class>
        <class>com.devicehive.model.DeviceClass</class>
        <class>com.devicehive.model.DeviceCommand</class>
        <class>com.devicehive.model.DeviceEquipment</class>
        <class>com.devicehive.model.DeviceNotification</class>
        <class>com.devicehive.model.Configuration</class>
        <class>com.devicehive.model.Equipment</class>
        <class>com.devicehive.model.Network</class>
        <class>com.devicehive.model.ServerTimestamp</class>
        <class>com.devicehive.model.AccessKey</class>
        <class>com.devicehive.model.AccessKeyPermission</class>
        <class>com.devicehive.model.OAuthClient</class>
        <class>com.devicehive.model.OAuthGrant</class>
        <exclude-unlisted-classes>true</exclude-unlisted-classes>
        <shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode>
        <validation-mode>AUTO</validation-mode>
        <properties>
            <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQL9Dialect"/>
            <property name="hibernate.hbm2ddl.auto" value="validate"/>
            <property name="hibernate.show_sql" value="false"/>
            <property name="hibernate.format_sql" value="true"/>
            <property name="hibernate.transaction.jta.platform" value="SunOne"/>
            <!--<property name="hibernate.transaction.jta.platform" value="JBossAS"/>-->
            <property name="hibernate.cache.region.factory_class"
                      value="com.hazelcast.hibernate.HazelcastCacheRegionFactory"/>
            <property name="hibernate.cache.use_second_level_cache" value="true"/>
            <property name="hibernate.cache.use_query_cache" value="true"/>
            <property name="hibernate.cache.hazelcast.configuration_file_path" value="hazelcast-cache.xml"/>
        </properties>
    </persistence-unit>


</persistence>
{'fraction_non_alphanumeric': 0.14219161434069272, 'fraction_numerical': 0.004456147457970428, 'mean_word_length': 3.2241231822070144, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 111, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 18}, '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': '2974433', 'n_tokens_mistral': 1547, 'n_tokens_neox': 1476, 'n_words': 122}