[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-7100) ColumnAttributeSourceImpl.isNullable() returns true for collection key and basic element columns
Gail Badner (JIRA)
noreply at atlassian.com
Mon Feb 27 18:05:48 EST 2012
[ https://hibernate.onjira.com/browse/HHH-7100?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gail Badner resolved HHH-7100.
------------------------------
Resolution: Fixed
Fixed in metamodel branch.
> ColumnAttributeSourceImpl.isNullable() returns true for collection key and basic element columns
> ------------------------------------------------------------------------------------------------
>
> Key: HHH-7100
> URL: https://hibernate.onjira.com/browse/HHH-7100
> Project: Hibernate ORM
> Issue Type: Bug
> Components: metamodel
> Reporter: Gail Badner
> Assignee: Gail Badner
> Fix For: 5.0.0
>
>
> Not absolutely sure about this, but I think ColumnAttributeSourceImpl.isNullable() should return:
> - TruthValue.UNKNOWN for collection key column.
> - TruthValue.UNKNOWN for a basic collection element column, unless explicitly specified in the mapping
> If ColumnAttributeSourceImpl.isNullable() returns TruthValue.UNKNOWN, then ColumnBindingDefaults.areValuesNullableByDefault() can be used to provide the proper 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