Hibernate mapping files used with MD4J must satisfy a set of requirements:
class attribute is mandatory for many-to-many elements and the
corresponding value must be the name of the associated class.id and property elements must have a valid type attribute.md4j:render-as-image flag to render a property as an img tag
in JSP (or whatnot) views:
<property name="logo" type="string" not-null="false">
<meta attribute="md4j:render-as-image">true</meta>
</property>