<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 default-lazy="false">
	<class name="org.sakaiproject.assignment.api.model.AssignmentAllPurposeItemAccess" table="ASSIGN_ALL_PUR_ITEM_ACCESS_T">
       
       <id name="id" column="ID" type="long">
					<generator class="native">
						<param name="sequence">ASSIGN_AP_ACCESS_S</param>
					</generator>
		</id>
       <property name="access" type="java.lang.String" not-null="true" unique-key="uniqueAccessItem">
            <column name="access" />
        </property>
        
         <!--  This maps to the ASSIGNMENT_MODEL_ANSWER_ITEM_T table -->
        <many-to-one name="assignmentAllPurposeItem" column="ASN_ALL_PURPOSE_ITEM_ID" unique-key="uniqueAccessItem"
        	class="org.sakaiproject.assignment.api.model.AssignmentAllPurposeItem"
        	not-null="true" index="ASSIGN_ALL_PURPOSE_ITEM_ACCESS_I" />
    </class>
    
    <query name = "findAccessByAllPurposeItem">
			<![CDATA[
			select access
			from AssignmentAllPurposeItemAccess a
			where a.assignmentAllPurposeItem = :item
		]]>
	</query>
    
</hibernate-mapping><commit_msg>fix to SAK-14367:ASSIGN_ALL_PUR_ITEM_ACCESS_T table using oracle reserved keyword<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 default-lazy="false">
	<class name="org.sakaiproject.assignment.api.model.AssignmentAllPurposeItemAccess" table="ASSIGN_ALL_PUR_ITEM_ACCESS_T">
       
       <id name="id" column="ID" type="long">
					<generator class="native">
						<param name="sequence">ASSIGN_AP_ACCESS_S</param>
					</generator>
		</id>
       <property name="access" type="java.lang.String" not-null="true" unique-key="uniqueAccessItem">
            <column name="ITEM_ACCESS" />
        </property>
        
         <!--  This maps to the ASSIGNMENT_MODEL_ANSWER_ITEM_T table -->
        <many-to-one name="assignmentAllPurposeItem" column="ASN_ALL_PURPOSE_ITEM_ID" unique-key="uniqueAccessItem"
        	class="org.sakaiproject.assignment.api.model.AssignmentAllPurposeItem"
        	not-null="true" index="ASSIGN_ALL_PURPOSE_ITEM_ACCESS_I" />
    </class>
    
    <query name = "findAccessByAllPurposeItem">
			<![CDATA[
			select access
			from AssignmentAllPurposeItemAccess a
			where a.assignmentAllPurposeItem = :item
		]]>
	</query>
    
</hibernate-mapping>
{'fraction_non_alphanumeric': 0.13683010262257697, 'fraction_numerical': 0.007221588749524895, 'mean_word_length': 3.7423423423423423, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 2, '>': 43, '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': '3116221', 'n_tokens_mistral': 967, 'n_tokens_neox': 860, 'n_words': 130}