deprecate unused class org.hibernate.mapping.IdGenerator

This commit is contained in:
Gavin 2022-12-01 12:04:27 +01:00 committed by Gavin King
parent 99cbd9a24a
commit 4aadbe801c
1 changed files with 6 additions and 0 deletions

View File

@ -5,6 +5,9 @@
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>. * See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/ */
package org.hibernate.mapping; package org.hibernate.mapping;
import org.hibernate.Remove;
import java.io.Serializable; import java.io.Serializable;
import java.util.Properties; import java.util.Properties;
@ -13,7 +16,10 @@ import java.util.Properties;
* Useful to keep named generator in annotations * Useful to keep named generator in annotations
* *
* @author Emmanuel Bernard * @author Emmanuel Bernard
*
* @deprecated this class is no longer used
*/ */
@Deprecated(since = "6.2") @Remove
public class IdGenerator implements Serializable { public class IdGenerator implements Serializable {
private String name; private String name;
private String identifierGeneratorStrategy; private String identifierGeneratorStrategy;