@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface CollectionId
Describe an identifier column for a bag (ie an idbag).
EXPERIMENTAL: the structure of this annotation might slightly change (generator() mix strategy and generator
Column[]
columns
String
generator
Type
type
public abstract Column[] columns
Collection id column(s).
public abstract Type type
id type, type.type() must be set.
public abstract String generator
The generator name. For example 'identity' or a defined generator name
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.