]
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: