<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>

	<typedef name="SignupStatus" class="uk.ac.ox.oucs.vle.GenericEnumUserType">
		<param name="enumClass">uk.ac.ox.oucs.vle.CourseSignupService$Status</param>
	</typedef>

	<class name="uk.ac.ox.oucs.vle.CourseDepartmentDAO" table="course_department">
		<!-- create the primary key id -->
		<id name="code" type="string">
			<column name="code" length="32"/>
		</id>
		<property name="name" type="string" length="256" />
		<property name="approve" type="boolean"/>
		<set name="approvers" inverse="false" lazy="true" table="course_department_approver">
			<key column="department" not-null="true"/>
			<element column="approver" type="string" length="64" />
		</set>
	</class>
	
	<class name="uk.ac.ox.oucs.vle.CourseSubunitDAO" table="course_subunit">
		<!-- create the primary key id -->
		<id name="subunitCode" type="string">
			<column name="subunitCode" length="32"/>
		</id>
		<property name="subunitName" type="string" length="256" />
		<property name="departmentCode" type="string" length="32"/>
	</class>
	
	<class name="uk.ac.ox.oucs.vle.CourseOucsDepartmentDAO" table="course_oucs_department">
		<!-- create the primary key id -->
		<id name="cardCode" type="string">
			<column name="cardCode" length="6"/>
		</id>
		<property name="oucsCode" type="string" length="32" />
		<property name="nickName" type="string" length="256" />
		<property name="fullName" type="string" length="256" />
		<property name="f4Char" type="string" length="4" />
		<property name="mailer" type="string" length="32" />
		<property name="t2Char" type="string" length="2" />
	</class>
	
		<class name="uk.ac.ox.oucs.vle.CourseUserPlacementDAO" table="course_user_placement">
		<!-- create the primary key id -->
		<id name="userId" type="string">
			<column name="userId" length="64"/>
		</id>
		<property name="placementId" type="string" length="256" />
	</class>
	
	<class name="uk.ac.ox.oucs.vle.CourseCategoryDAO" table="course_group_category">
		<!-- create the primary key id -->
		<id name="categoryId" type="int">
			<column name="categoryId" />
			<generator class="increment"/>
		</id>
		<property name="groupId" type="string" length="256" /><commit_msg>WL-1848 Correct schema for Hibernate Startup.<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>

	<typedef name="SignupStatus" class="uk.ac.ox.oucs.vle.GenericEnumUserType">
		<param name="enumClass">uk.ac.ox.oucs.vle.CourseSignupService$Status</param>
	</typedef>

	<class name="uk.ac.ox.oucs.vle.CourseDepartmentDAO" table="course_department">
		<!-- create the primary key id -->
		<id name="code" type="string">
			<column name="code" length="32"/>
		</id>
		<property name="name" type="string" length="256" />
		<property name="approve" type="boolean"/>
		<set name="approvers" inverse="false" lazy="true" table="course_department_approver">
			<key column="department" not-null="true"/>
			<element column="approver" type="string" length="64" />
		</set>
	</class>
	
	<class name="uk.ac.ox.oucs.vle.CourseSubunitDAO" table="course_subunit">
		<!-- create the primary key id -->
		<id name="subunitCode" type="string">
			<column name="subunitCode" length="32"/>
		</id>
		<property name="subunitName" type="string" length="256" />
		<property name="departmentCode" type="string" length="32"/>
	</class>
	
	<class name="uk.ac.ox.oucs.vle.CourseOucsDepartmentDAO" table="course_oucs_department">
		<!-- create the primary key id -->
		<id name="cardCode" type="string">
			<column name="cardCode" length="6"/>
		</id>
		<property name="oucsCode" type="string" length="32" />
		<property name="nickName" type="string" length="256" />
		<property name="fullName" type="string" length="256" />
		<property name="f4Char" type="string" length="4" />
		<property name="mailer" type="string" length="32" />
		<property name="t2Char" type="string" length="2" />
	</class>
	
		<class name="uk.ac.ox.oucs.vle.CourseUserPlacementDAO" table="course_user_placement">
		<!-- create the primary key id -->
		<id name="userId" type="string">
			<column name="userId" length="64"/>
		</id>
		<property name="placementId" type="string" length="256" />
	</class>
	
	<class name="uk.ac.ox.oucs.vle.CourseCategoryDAO" table="course_group_category">
		<!-- create the primary key id -->
		<id name="categoryId" type="int">
			<column name="categoryId" />
			<generator class="increment"/>
		</id>
		<property name="groupId" type="string" length="255" />
{'fraction_non_alphanumeric': 0.1967281879194631, 'fraction_numerical': 0.01929530201342282, 'mean_word_length': 4.991206030150754, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 2, '>': 109, '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': '1885556', 'n_tokens_mistral': 1841, 'n_tokens_neox': 1619, 'n_words': 321}