ObjectDB ObjectDB

Key.types - JDO annotation element

Annotation Element
javax.jdo.annotations.Key
Class[] types

Types of the keys. This can be determined if using JDK1.5 generics but is required otherwise. Multiple types can be specified if the implementation supports multiple types.
Returns:
the types of keys
Default value:
{}
Since:
JDO 2.1