@Retention(value=RUNTIME) @Target(value=TYPE) public @interface KeyClass
The names of the fields or properties in the primary key class and the primary key fields or properties of the EntityType must correspond and their types must be the same.
Key
Modifier and Type | Required Element and Description |
---|---|
Class<? extends Serializable> |
value |
public abstract Class<? extends Serializable> value
Copyright © 2013–2018 The Apache Software Foundation. All rights reserved.