]
Steve Ebersole updated HHH-6550:
--------------------------------
Fix Version/s: (was: 4.0.0.CR1)
metamodel
NullPointerException if a <column> element is used without
"not-null" attribute in HBM XML
------------------------------------------------------------------------------------------
Key: HHH-6550
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6550
Project: Hibernate Core
Issue Type: Bug
Components: metamodel
Reporter: Gail Badner
Assignee: Steve Ebersole
Fix For: metamodel
To reproduce, add a column element to the "name" property in:
hibernate-core/src/test/java/org/hibernate/metamodel/binding/SimpleEntity.hbm.xml
and run org.hibernate.metamodel.binding.BasicHbmBindingTests .
For example:
<property name="name">
<column name="name"/>
</property>
IIRC, after adding "not-null" attribute, the test will still fail with an NPE
due to a different attribute that has no default.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: