[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-6550) NullPointerException if a <column> element is used without "not-null" attribute in HBM XML
Steve Ebersole (JIRA)
noreply at atlassian.com
Wed Aug 17 13:18:09 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list