<?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="AlbumExternalLink" table="album_link_external" dynamic-update="true">
		<id name="id" column="id">
			<generator class="native" />
		</id>
		<property name="name" />
		<property name="href" />
		<property name="img" />
		<property name="target" />
		<property name="deled" />
		
		<many-to-one name="album" column="albumID" lazy="false" cascade="none" fetch="select" 
			outer-join="true" class="Album" />
	</class>
</hibernate-mapping>
