<commit_before><?xml version="1.0" encoding="UTF-8"?>

<!--L
   Copyright SAIC, Ellumen and RSNA (CTP)


   Distributed under the OSI-approved BSD 3-Clause License.
   See http://ncip.github.com/national-biomedical-image-archive/LICENSE.txt for details.
L-->

<!--
  Application context definition for PetClinic on Hibernate.
-->
<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"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:jee="http://www.springframework.org/schema/jee"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
                           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
                           http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
                           http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">

  <!-- ========================= RESOURCE DEFINITIONS ========================= -->

  <!--
    Uses Apache Commons DBCP for connection pooling. See Commons DBCP documentation
    for the required JAR files. Alternatively you can use another connection pool
    such as C3P0, similarly configured using Spring.
  -->
  <bean id="springApplicationContext" class="gov.nih.nci.nbia.util.SpringApplicationContext"/>

  <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="location" value="classpath:hibernate.properties"/>
  </bean>

  <bean id="dataSource"
        class="com.mchange.v2.c3p0.ComboPooledDataSource"
        destroy-method="close">

    <property name="driverClass" value="${hibernate.connection.driver_class}"/>
    <property name="jdbcUrl" value="${hibernate.connection.url}"/>
    <property name="user" value="${hibernate.connection.username}"/>
    <property name="password" value="${<PASSWORD>}"/>
  </bean>

  <bean id="hProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
    <property name="location" value="classpath:hibernate.properties" />
  </bean>


  <!-- JNDI DataSource for JEE environments -->

  <!-- <jee:jndi-lookup id="dataSource" jndi-name="java:/ncia"/> -->

  <!-- Hibernate SessionFactory -->
  <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">

    <property name="dataSource" ref="dataSource"/>

    <property name="mappingResources">
      <list>
        <value>gov/nih/nci/nbia/internaldomain/ClinicalTrial.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/Patient.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/Study.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/GeneralSeries.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/GeneralImage.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/GeneralEquipment.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/CTImage.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/MRImage.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/TrialDataProvenance.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/TrialSite.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/Annotation.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/DeletionAuditTrail.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/SubmissionHistory.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/AimImagingObservationCharacteristic.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/AimQuantification.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/ImageMarkup.hbm.xml</value>
      </list>
    </property>

    <property name="hibernateProperties" ref="hProperties"/>

    <!--
    <property name="eventListeners">
      <map>
        <entry key="merge">
          <bean class="org.springframework.orm.hibernate3.support.IdTransferringMergeEventListener"/>
        </entry>
      </map>
    </property>
    -->
  </bean>
<commit_msg>removed aim<commit_after><?xml version="1.0" encoding="UTF-8"?>

<!--L
   Copyright SAIC, Ellumen and RSNA (CTP)


   Distributed under the OSI-approved BSD 3-Clause License.
   See http://ncip.github.com/national-biomedical-image-archive/LICENSE.txt for details.
L-->

<!--
  Application context definition for PetClinic on Hibernate.
-->
<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"
       xmlns:context="http://www.springframework.org/schema/context"
       xmlns:jee="http://www.springframework.org/schema/jee"
       xmlns:tx="http://www.springframework.org/schema/tx"
       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
                           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
                           http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd
                           http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd">

  <!-- ========================= RESOURCE DEFINITIONS ========================= -->

  <!--
    Uses Apache Commons DBCP for connection pooling. See Commons DBCP documentation
    for the required JAR files. Alternatively you can use another connection pool
    such as C3P0, similarly configured using Spring.
  -->
  <bean id="springApplicationContext" class="gov.nih.nci.nbia.util.SpringApplicationContext"/>

  <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="location" value="classpath:hibernate.properties"/>
  </bean>

  <bean id="dataSource"
        class="com.mchange.v2.c3p0.ComboPooledDataSource"
        destroy-method="close">

    <property name="driverClass" value="${hibernate.connection.driver_class}"/>
    <property name="jdbcUrl" value="${hibernate.connection.url}"/>
    <property name="user" value="${hibernate.connection.username}"/>
    <property name="password" value="${<PASSWORD>}"/>
  </bean>

  <bean id="hProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean">
    <property name="location" value="classpath:hibernate.properties" />
  </bean>


  <!-- JNDI DataSource for JEE environments -->

  <!-- <jee:jndi-lookup id="dataSource" jndi-name="java:/ncia"/> -->

  <!-- Hibernate SessionFactory -->
  <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">

    <property name="dataSource" ref="dataSource"/>

    <property name="mappingResources">
      <list>
        <value>gov/nih/nci/nbia/internaldomain/ClinicalTrial.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/Patient.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/Study.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/GeneralSeries.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/GeneralImage.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/GeneralEquipment.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/CTImage.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/MRImage.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/TrialDataProvenance.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/TrialSite.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/Annotation.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/DeletionAuditTrail.hbm.xml</value>
        <value>gov/nih/nci/nbia/internaldomain/SubmissionHistory.hbm.xml</value>
      </list>
    </property>

    <property name="hibernateProperties" ref="hProperties"/>

    <!--
    <property name="eventListeners">
      <map>
        <entry key="merge">
          <bean class="org.springframework.orm.hibernate3.support.IdTransferringMergeEventListener"/>
        </entry>
      </map>
    </property>
    -->
  </bean>

{'fraction_non_alphanumeric': 0.1654616569870807, 'fraction_numerical': 0.005689226028209079, 'mean_word_length': 3.4811471056824215, 'pattern_counts': {'":': 0, '<': 141, '<?xml version=': 2, '>': 141, 'https://': 0, 'lorem ipsum': 0, 'www.': 28, 'xml': 43}, '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': '1552562', 'n_tokens_mistral': 2709, 'n_tokens_neox': 2581, 'n_words': 318}