[hibernate-dev] is it valid that having an attribute in orm.xml which doesn't exist in the pojo?

Strong Liu stliu at hibernate.org
Mon Jul 15 02:38:58 EDT 2013


hibernate-core/src/test/resources/org/hibernate/test/annotations/xml/ejb3/orm.xml

this orm.xml has :

<basic name="unknownProperty"/>

but this attribute doesn't exist in the pojo, what should we do in this case?

BTW the old metamodel / configuration seems just ignore it
-------------------------
Best Regards,

Strong Liu <stliu at hibernate.org>
http://about.me/stliu/bio





More information about the hibernate-dev mailing list