You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN" "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> <hibernate-mapping> <class name="com.sothr.imagetools.engine.image.Image" table="Image"> <meta attribute="class-description"> This class contains the image hashes and meta data </meta> <id name="imagePath" type="string" column="path"/> <property name="thumbnailPath" column="thumbnail_path" type="string" not-null="true"/> <property name="width" column="width" type="int" not-null="true"/> <property name="height" column="height" type="int" not-null="true"/> <many-to-one name="hashes" column="hashes" unique="true" class="com.sothr.imagetools.engine.dto.ImageHashDTO" cascade="save-update, delete" not-null="true" lazy="false"/> </class> </hibernate-mapping>
|