<?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 package="com.lerx.entities">
	<class name="AlbumArticleAtta" table="atta_album_article" dynamic-update="true">
		<id name="id" column="id">
			<generator class="native" />
		</id>
		<property name="title" />
		<property name="tmpID" />
		
		<many-to-one name="article" column="articleID" lazy="false" cascade="none" fetch="select" 
			outer-join="true" class="AlbumArticle" />
		<many-to-one name="uf" column="ufID" lazy="false" cascade="none" fetch="select" 
			outer-join="true" class="UploadedFile" />
	</class>
</hibernate-mapping>
