<?xml version="1.0" encoding="UTF-8"?>  
<hibernate-mapping xmlns="http://www.hibernate.org/xsd/hibernate-mapping"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.hibernate.org/xsd/hibernate-mapping
        http://www.hibernate.org/xsd/hibernate-mapping/hibernate-mapping-4.0.xsd">
	<class entity-name="com.beecode.inz.query.scene.CustomScene" table="inz_query_custom_scene">
		<tuplizer entity-mode="dynamic-map" class="com.beecode.bcp.store.hibernate.KObjectEntityTuplizer"/>
		<id name="id" type="uuid-binary" column="id" length="16">
			<generator class="uuid2" />
		</id>
		<property name="title" type="nstring" column="title" not-null="true" length="100" />
		<many-to-one name="staff" entity-name="com.beecode.bap.staff.datamodel.Staff" fetch="select">
			<column name="staff_id"  not-null="false"/>
		</many-to-one>
		<property name="metadataName" type="nstring" not-null="false">
			<column name="metadata_name" length="100"></column>
		</property>
		<property name="content" type="text" not-null="false">
			<column name="content" sql-type="text"></column>
		</property>
		<query name="Query_CustomScene_all"><![CDATA[from com.beecode.inz.query.scene.CustomScene]]></query>
	</class>
</hibernate-mapping>