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

<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
        "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">

<hibernate-mapping default-cascade="none">
    <class name="ubic.gemma.model.common.auditAndSecurity.curation.CurationDetails" table="CURATION_DETAILS"
           dynamic-insert="false" dynamic-update="false">
        <cache usage="read-write"/>
        <id name="id" type="java.lang.Long" unsaved-value="null">
            <column name="ID" sql-type="BIGINT"/>
            <generator class="native">
            </generator>
        </id>
        <many-to-one name="lastTroubledEvent" class="ubic.gemma.model.common.auditAndSecurity.AuditEventImpl"
                     cascade="all" lazy="false">
            <column name="TROUBLE_AUDIT_EVENT_FK" not-null="false" sql-type="BIGINT" unique="true"/>
        </many-to-one>
        <many-to-one name="lastNeedsAttentionEvent" class="ubic.gemma.model.common.auditAndSecurity.AuditEventImpl"
                     cascade="all" lazy="false">
            <column name="ATTENTION_AUDIT_EVENT_FK" not-null="false" sql-type="BIGINT" unique="true"/>
        </many-to-one>
        <many-to-one name="lastNoteUpdateEvent" class="ubic.gemma.model.common.auditAndSecurity.AuditEventImpl"
                     cascade="all" lazy="false">
            <column name="NOTE_AUDIT_EVENT_FK" not-null="false" sql-type="BIGINT" unique="true"/>
        </many-to-one>
        <property name="lastUpdated" type="java.util.Date">
            <column name="LAST_UPDATED" not-null="true" unique="false" sql-type="DATETIME"/>
        </property>
        <property name="troubled" type="java.lang.Boolean">
            <column name="TROUBLED" not-null="true" unique="false" sql-type="TINYINT"/>
        </property>
        <property name="needsAttention" type="java.lang.Boolean">
            <column name="NEEDS_ATTENTION" not-null="true" unique="false" sql-type="TINYINT"/>
        </property>
        <property name="curationNote" type="java.lang.String">
            <column name="NOTE" not-null="false" unique="false"
                    sql-type="VARCHAR(255) character set latin1 collate latin1_swedish_ci"/>
        </property>
    </class>
</hibernate-mapping><commit_msg>Work on git Issue #1 -  Model - fix in CurationDetails hbm<commit_after><?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
        "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">

<hibernate-mapping default-cascade="none">
    <class name="ubic.gemma.model.common.auditAndSecurity.curation.CurationDetails" table="CURATION_DETAILS"
           dynamic-insert="false" dynamic-update="false">
        <cache usage="read-write"/>
        <id name="id" type="java.lang.Long" unsaved-value="null">
            <column name="ID" sql-type="BIGINT"/>
            <generator class="native">
            </generator>
        </id>
        <many-to-one name="lastTroubledEvent" class="ubic.gemma.model.common.auditAndSecurity.AuditEventImpl"
                     cascade="all" lazy="false">
            <column name="TROUBLE_AUDIT_EVENT_FK" not-null="false" sql-type="BIGINT" unique="true"/>
        </many-to-one>
        <many-to-one name="lastNeedsAttentionEvent" class="ubic.gemma.model.common.auditAndSecurity.AuditEventImpl"
                     cascade="all" lazy="false">
            <column name="ATTENTION_AUDIT_EVENT_FK" not-null="false" sql-type="BIGINT" unique="true"/>
        </many-to-one>
        <many-to-one name="lastNoteUpdateEvent" class="ubic.gemma.model.common.auditAndSecurity.AuditEventImpl"
                     cascade="all" lazy="false">
            <column name="NOTE_AUDIT_EVENT_FK" not-null="false" sql-type="BIGINT" unique="true"/>
        </many-to-one>
        <property name="lastUpdated" type="java.util.Date">
            <column name="LAST_UPDATED" not-null="false" unique="false" sql-type="DATETIME"/>
        </property>
        <property name="troubled" type="java.lang.Boolean">
            <column name="TROUBLED" not-null="true" unique="false" sql-type="TINYINT"/>
        </property>
        <property name="needsAttention" type="java.lang.Boolean">
            <column name="NEEDS_ATTENTION" not-null="true" unique="false" sql-type="TINYINT"/>
        </property>
        <property name="curationNote" type="java.lang.String">
            <column name="NOTE" not-null="false" unique="false"
                    sql-type="VARCHAR(255) character set latin1 collate latin1_swedish_ci"/>
        </property>
    </class>
</hibernate-mapping>
{'fraction_non_alphanumeric': 0.15957903780068727, 'fraction_numerical': 0.0053694158075601375, 'mean_word_length': 2.970161977834612, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 2, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3115792', 'n_tokens_mistral': 1530, 'n_tokens_neox': 1453, 'n_words': 222}