diff --git a/core/src/main/java/google/registry/model/tld/label/DomainLabelEntry.java b/core/src/main/java/google/registry/model/tld/label/DomainLabelEntry.java index 595ef72f3..58dd2fe5b 100644 --- a/core/src/main/java/google/registry/model/tld/label/DomainLabelEntry.java +++ b/core/src/main/java/google/registry/model/tld/label/DomainLabelEntry.java @@ -20,10 +20,10 @@ import static google.registry.util.DomainNameUtils.canonicalizeDomainName; import static google.registry.util.PreconditionsUtils.checkArgumentNotNull; import com.google.common.net.InternetDomainName; -import com.googlecode.objectify.annotation.Id; import google.registry.model.Buildable.GenericBuilder; import google.registry.model.ImmutableObject; import javax.persistence.Column; +import javax.persistence.Id; import javax.persistence.MappedSuperclass; /** @@ -36,13 +36,12 @@ public abstract class DomainLabelEntry, D extends Domain extends ImmutableObject implements Comparable { @Id - @javax.persistence.Id @Column(name = "domainLabel", nullable = false) String domainLabel; /** * Returns the label of the field, which also happens to be used as the key for the Map object - * that is serialized from Datastore. + * that is serialized from the database. */ public String getDomainLabel() { return domainLabel;