<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="gov.nih.nci.cananolab.domain.particle.samplecomposition.base"
	auto-import="false">
	<class name="NanoparticleEntity" table="nanoparticle_entity"
		lazy="true" polymorphism="explicit">
		<cache usage="read-write" />
		<id name="id" type="long" column="nanoparticle_entity_pk_id">
			<generator class="hilo">
				<param name="table">hibernate_unique_key</param>
				<param name="column">next_hi</param>
			</generator>
		</id>
		<discriminator column="discriminator" type="string" />
		<!-- Attributes mapping for the NanoparticleEntity class -->
		<property name="description" type="string" column="description" />		
		<property name="createdBy" type="string" column="created_by"/>
		<property name="createdDate" type="java.util.Date" column="created_date"/>		
		<!-- Associations mapping for the NanoparticleEntity class -->
		<many-to-one name="sampleComposition"
			class="gov.nih.nci.cananolab.domain.particle.samplecomposition.SampleComposition"
			column="composition_pk_id" lazy="proxy" cascade="save-update"/>
		<set name="labFileCollection"
			table="nanoparticle_entity_lab_file" lazy="true" inverse="false" cascade="all-delete-orphan">
			<cache usage="read-write" />
			<key column="nanoparticle_entity_pk_id" />
			<many-to-many
				class="gov.nih.nci.cananolab.domain.common.LabFile"
				column="file_pk_id" />
		</set>
		<set name="composingElementCollection" lazy="false" cascade="all-delete-orphan" inverse="false">
			<cache usage="read-write" />
			<key column="nanoparticle_entity_pk_id" />
			<one-to-many
				class="gov.nih.nci.cananolab.domain.particle.samplecomposition.base.ComposingElement" />
		</set>
		<subclass
			name="gov.nih.nci.cananolab.domain.particle.samplecomposition.base.OtherNanoparticleEntity"
			discriminator-value="OtherParticleEntity">
			<join table="other_nanoparticle_entity">
				<key column="other_nanoparticle_entity_pk_id" />
				<!-- Attributes mapping for the OtherNanoparticleEntity class -->
				<property name="type" type="string" column="type" />

			</join>
		</subclass>
		<subclass
			name="gov.nih.nci.cananolab.domain.particle.samplecomposition.base.Polymer"
			discriminator-value="Polymer">
			<join table="polymer">
				<key column="polymer_pk_id" />
				<!-- Attributes mapping for the Polymer class -->
				<property name="crossLinkDegree" type="float"
					column="cross_link_degree" />
				<property name="crossLinked" type="boolean"
					column="is_cross_linked" />
				<property name="initiator" type="string"
					column="initiator" />

			</join><commit_msg>changed composingElement to lazy true<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="gov.nih.nci.cananolab.domain.particle.samplecomposition.base"
	auto-import="false">
	<class name="NanoparticleEntity" table="nanoparticle_entity"
		lazy="true" polymorphism="explicit">
		<cache usage="read-write" />
		<id name="id" type="long" column="nanoparticle_entity_pk_id">
			<generator class="hilo">
				<param name="table">hibernate_unique_key</param>
				<param name="column">next_hi</param>
			</generator>
		</id>
		<discriminator column="discriminator" type="string" />
		<!-- Attributes mapping for the NanoparticleEntity class -->
		<property name="description" type="string" column="description" />		
		<property name="createdBy" type="string" column="created_by"/>
		<property name="createdDate" type="java.util.Date" column="created_date"/>		
		<!-- Associations mapping for the NanoparticleEntity class -->
		<many-to-one name="sampleComposition"
			class="gov.nih.nci.cananolab.domain.particle.samplecomposition.SampleComposition"
			column="composition_pk_id" lazy="proxy" cascade="save-update"/>
		<set name="labFileCollection"
			table="nanoparticle_entity_lab_file" lazy="true" inverse="false" cascade="all-delete-orphan">
			<cache usage="read-write" />
			<key column="nanoparticle_entity_pk_id" />
			<many-to-many
				class="gov.nih.nci.cananolab.domain.common.LabFile"
				column="file_pk_id" />
		</set>
		<set name="composingElementCollection" lazy="true" cascade="all-delete-orphan" inverse="false">
			<cache usage="read-write" />
			<key column="nanoparticle_entity_pk_id" />
			<one-to-many
				class="gov.nih.nci.cananolab.domain.particle.samplecomposition.base.ComposingElement" />
		</set>
		<subclass
			name="gov.nih.nci.cananolab.domain.particle.samplecomposition.base.OtherNanoparticleEntity"
			discriminator-value="OtherParticleEntity">
			<join table="other_nanoparticle_entity">
				<key column="other_nanoparticle_entity_pk_id" />
				<!-- Attributes mapping for the OtherNanoparticleEntity class -->
				<property name="type" type="string" column="type" />

			</join>
		</subclass>
		<subclass
			name="gov.nih.nci.cananolab.domain.particle.samplecomposition.base.Polymer"
			discriminator-value="Polymer">
			<join table="polymer">
				<key column="polymer_pk_id" />
				<!-- Attributes mapping for the Polymer class -->
				<property name="crossLinkDegree" type="float"
					column="cross_link_degree" />
				<property name="crossLinked" type="boolean"
					column="is_cross_linked" />
				<property name="initiator" type="string"
					column="initiator" />

			</join>
{'fraction_non_alphanumeric': 0.155984834807727, 'fraction_numerical': 0.002527532045495577, 'mean_word_length': 5.067907995618839, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 2, '>': 93, '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': '6965803', 'n_tokens_mistral': 2088, 'n_tokens_neox': 1750, 'n_words': 277}