
org.hibernate.search.annotations.impl.DocumentIdAnnotationProcessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-search-v5migrationhelper-engine Show documentation
Show all versions of hibernate-search-v5migrationhelper-engine Show documentation
Helper to migrate from Hibernate Search 5 to 6, providing partial support for Hibernate Search 5 Engine APIs on top of Hibernate Search 6
The newest version!
/*
* SPDX-License-Identifier: Apache-2.0
* Copyright Red Hat Inc. and Hibernate Authors
*/
package org.hibernate.search.annotations.impl;
import org.hibernate.search.annotations.DocumentId;
import org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.PropertyMappingAnnotationProcessor;
import org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.PropertyMappingAnnotationProcessorContext;
import org.hibernate.search.mapper.pojo.mapping.definition.programmatic.PropertyMappingStep;
@Deprecated
public class DocumentIdAnnotationProcessor implements PropertyMappingAnnotationProcessor {
@Override
public void process(PropertyMappingStep mapping, DocumentId annotation,
PropertyMappingAnnotationProcessorContext context) {
mapping.documentId();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy