Package google.registry.persistence
Annotation Type WithVKey
-
@Target(TYPE) public @interface WithVKey
Annotation forEntity
that can be saved as a foreign key in the form of aVKey
in another table.A
AttributeConverter
namedVKeyConverter_[EntityClassSimpleName]
will be automatically generated bygoogle.registry.processors.VKeyProcessor
, this class must be manually added topersistence.xml
in order for it to be picked up by Hibernate.
-
-
Element Detail
-
value
java.lang.Class<? extends java.io.Serializable> value
The type of the SQL primary ID of the entity that is saved in theVKey
-
-