<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="org.jtalks.poulpe.model.entity">
	<class name="Section" table="SECTION">
		<id column="SECTION_ID" name="id" unsaved-value="0">
			<generator class="native" />
		</id>
		<property column="UUID" name="uuid" not-null="true" unique="true" />
		<property column="NAME" name="name" not-null="true" />
		<property column="DESCRIPTION" name="description" />
		<property column="POSITION" name="position" />

		<!--<list name="branches" cascade="all-delete-orphan">
			<cache usage="nonstrict-read-write" />
			<one-to-many class="Branch" />
			<key column="BRANCH_ID" />
			<index column="LIST_INDEX" />

		</list>-->
		
    <list name="branches" cascade="all-delete-orphan">
      <cache usage="nonstrict-read-write"/>
      <key column="SECTION_ID" foreign-key="FK_SECTION"/>
      <index column="BRANCHES_INDEX"/>
      <one-to-many class="Branch"/>
    </list>
	</class>
</hibernate-mapping>
<commit_msg>POULPE-40 For compatibility with HSQLDB 'POSITION' column was renamed to 'POSITION_' in the Hibernate's mapping for Section.<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping package="org.jtalks.poulpe.model.entity">
	<class name="Section" table="SECTION">
		<id column="SECTION_ID" name="id" unsaved-value="0">
			<generator class="native" />
		</id>
		<property column="UUID" name="uuid" not-null="true" unique="true" />
		<property column="NAME" name="name" not-null="true" />
		<property column="DESCRIPTION" name="description" />
		<property column="POSITION_" name="position" />

		<!--<list name="branches" cascade="all-delete-orphan">
			<cache usage="nonstrict-read-write" />
			<one-to-many class="Branch" />
			<key column="BRANCH_ID" />
			<index column="LIST_INDEX" />

		</list>-->
		
    <list name="branches" cascade="all-delete-orphan">
      <cache usage="nonstrict-read-write"/>
      <key column="SECTION_ID" foreign-key="FK_SECTION"/>
      <index column="BRANCHES_INDEX"/>
      <one-to-many class="Branch"/>
    </list>
	</class>
</hibernate-mapping>

{'fraction_non_alphanumeric': 0.1943268416596105, 'fraction_numerical': 0.007620660457239628, 'mean_word_length': 4.457274826789838, 'pattern_counts': {'":': 0, '<': 55, '<?xml version=': 2, '>': 55, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1796094', 'n_tokens_mistral': 884, 'n_tokens_neox': 792, 'n_words': 146}