@CollectionId does not force the id column to not-null

Description

@CollectionId describes an identifier column for a bag (ie an idbag).
but it does not force the id to be not null.

this can be reproduced by org.hibernate.test.annotations.collectionelement.indexedCollection.IndexedCollectionOfElementsTest on DB2 (because of DB2 has more restrict validation seems, it does not allow nullable column to be primary key)

Environment

None

Activity

Show:
Strong Liu
April 27, 2010, 9:50 AM
Steve Ebersole
March 21, 2011, 7:08 PM

Bulk closing stale resolved issues

Assignee

Strong Liu

Reporter

Strong Liu

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure