<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" auto-import="false">
	<class name="SampleComposition" table="composition" lazy="true" polymorphism="explicit">
		<cache usage="read-write" />
		<id name="id" type="long" column="composition_pk_id">
			<generator class="hilo">
                          <param name="table">hibernate_unique_key</param>
                          <param name="column">next_hi</param>
                        </generator>
		</id>
		<!-- Associations mapping for the SampleComposition class -->
		<set name="labFileCollection" table="composition_lab_file" lazy="true" inverse="false">
			<cache usage="read-write" />
			<key column="composition_pk_id" />
			<many-to-many class="gov.nih.nci.cananolab.domain.common.LabFile" column="file_pk_id" />
		</set>
		<set name="nanoparticleEntityCollection" lazy="true" inverse="true">
			<cache usage="read-write" />
			<key column="composition_pk_id" />
			<one-to-many class="gov.nih.nci.cananolab.domain.particle.samplecomposition.base.NanoparticleEntity"/>
		</set>
		<set name="functionalizingEntityCollection" lazy="true" inverse="true">
			<cache usage="read-write" />
			<key column="composition_pk_id" />
			<one-to-many class="gov.nih.nci.cananolab.domain.particle.samplecomposition.functionalization.FunctionalizingEntity"/>
		</set>
		<set name="chemicalAssociationCollection" lazy="true" inverse="true" >
			<cache usage="read-write" />
			<key column="composition_pk_id" />
			<one-to-many class="gov.nih.nci.cananolab.domain.particle.samplecomposition.chemicalassociation.ChemicalAssociation"/>
		</set>
		<many-to-one name="nanoparticleSample" class="gov.nih.nci.cananolab.domain.particle.NanoparticleSample" column="particle_sample_pk_id" unique="true" lazy="proxy" cascade="save-update"/>
	</class>
</hibernate-mapping><commit_msg>updated cascade for chemicalAssociation<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" auto-import="false">
	<class name="SampleComposition" table="composition" lazy="true" polymorphism="explicit">
		<cache usage="read-write" />
		<id name="id" type="long" column="composition_pk_id">
			<generator class="hilo">
                          <param name="table">hibernate_unique_key</param>
                          <param name="column">next_hi</param>
                        </generator>
		</id>
		<!-- Associations mapping for the SampleComposition class -->
		<set name="labFileCollection" table="composition_lab_file" lazy="true" inverse="false">
			<cache usage="read-write" />
			<key column="composition_pk_id" />
			<many-to-many class="gov.nih.nci.cananolab.domain.common.LabFile" column="file_pk_id" />
		</set>
		<set name="nanoparticleEntityCollection" lazy="true" inverse="true">
			<cache usage="read-write" />
			<key column="composition_pk_id" />
			<one-to-many class="gov.nih.nci.cananolab.domain.particle.samplecomposition.base.NanoparticleEntity"/>
		</set>
		<set name="functionalizingEntityCollection" lazy="true" inverse="true">
			<cache usage="read-write" />
			<key column="composition_pk_id" />
			<one-to-many class="gov.nih.nci.cananolab.domain.particle.samplecomposition.functionalization.FunctionalizingEntity"/>
		</set>
		<set name="chemicalAssociationCollection" lazy="true" inverse="false" cascade="all-delete-orphan">
			<cache usage="read-write" />
			<key column="composition_pk_id" />
			<one-to-many class="gov.nih.nci.cananolab.domain.particle.samplecomposition.chemicalassociation.ChemicalAssociation"/>
		</set>
		<many-to-one name="nanoparticleSample" class="gov.nih.nci.cananolab.domain.particle.NanoparticleSample" column="particle_sample_pk_id" unique="true" lazy="proxy" cascade="save-update"/>
	</class>
</hibernate-mapping>
{'fraction_non_alphanumeric': 0.1624939817043813, 'fraction_numerical': 0.003370245546461242, 'mean_word_length': 4.770833333333333, 'pattern_counts': {'":': 0, '<': 77, '<?xml version=': 2, '>': 77, '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': '4268126', 'n_tokens_mistral': 1479, 'n_tokens_neox': 1275, 'n_words': 191}