[
https://hibernate.onjira.com/browse/HHH-7100?page=com.atlassian.jira.plug...
]
Gail Badner updated HHH-7100:
-----------------------------
Description:
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.
was:ColumnAttributeSourceImpl.isNullable() should return false for collection key
column.
Summary: ColumnAttributeSourceImpl.isNullable() returns true for collection key
and basic element columns (was: ColumnAttributeSourceImpl.isNullable() returns true for
collection key)
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
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