Skip to content

Commit 3fa242c

Browse files
committed
add some missing package descriptors
and mark two packages @deprecated
1 parent e760ad7 commit 3fa242c

File tree

7 files changed

+54
-5
lines changed

7 files changed

+54
-5
lines changed

hibernate-core/src/main/java/org/hibernate/dialect/hint/package-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*/
55

66
/**
7-
* @deprecated Moved to {@link org.hibernate.dialect.Dialect}
7+
* @apiNote Moved to {@link org.hibernate.dialect.Dialect}
88
*/
9+
@Deprecated(forRemoval = true)
910
package org.hibernate.dialect.hint;

hibernate-core/src/main/java/org/hibernate/mapping/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* <li>It is the responsibility of the metadata binders in the package
2727
* {@link org.hibernate.boot.model.internal} to process a set of
2828
* annotated classes and produce fully-initialized mapping model
29-
* objects. This is in itself a complicated multi-phase process,
29+
* objects. This is in itself a complicated multiphase process,
3030
* since, for example, the type of an association mapping in one
3131
* entity cannot be fully assigned until the target entity has
3232
* been processed.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
* Copyright Red Hat Inc. and Hibernate Authors
4+
*/
5+
/**
6+
* The {@link org.hibernate.query.range.Range} framework.
7+
*
8+
* @see org.hibernate.query.range.Range
9+
*
10+
* @since 7
11+
*/
12+
@Incubating
13+
package org.hibernate.query.range;
14+
15+
import org.hibernate.Incubating;
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
* Copyright Red Hat Inc. and Hibernate Authors
4+
*/
5+
/**
6+
* The {@link org.hibernate.query.restriction.Restriction} framework.
7+
*
8+
* @see org.hibernate.query.restriction.Restriction
9+
* @see org.hibernate.query.restriction.Path
10+
*
11+
* @since 7
12+
*/
13+
@Incubating
14+
package org.hibernate.query.restriction;
15+
16+
import org.hibernate.Incubating;

hibernate-core/src/main/java/org/hibernate/tuple/package-info.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
/**
77
* Most contracts here have been replaced by the new runtime
88
* {@linkplain org.hibernate.metamodel.mapping mapping model}.
9-
* <p>
10-
* @apiNote This entire package (and sub-packages) is considered deprecated
9+
*
10+
* @apiNote This entire package (and subpackages) is considered
11+
* deprecated and will be removed
1112
*/
12-
@Remove
13+
@Remove @Deprecated(forRemoval = true)
1314
package org.hibernate.tuple;
1415

1516
import org.hibernate.Remove;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
* Copyright Red Hat Inc. and Hibernate Authors
4+
*/
5+
/**
6+
* SPIs related to {@link org.hibernate.type.descriptor.java.JavaType}.
7+
*/
8+
package org.hibernate.type.descriptor.java.spi;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
* SPDX-License-Identifier: Apache-2.0
3+
* Copyright Red Hat Inc. and Hibernate Authors
4+
*/
5+
/**
6+
* SPIs related to {@link org.hibernate.type.descriptor.jdbc.JdbcType}.
7+
*/
8+
package org.hibernate.type.descriptor.jdbc.spi;

0 commit comments

Comments
 (0)