Skip to content

Commit dcc9f66

Browse files
committed
clean up @Deprecation
1 parent 8ed3913 commit dcc9f66

File tree

3 files changed

+10
-6
lines changed

3 files changed

+10
-6
lines changed

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@
99
* Defines strategies for post-processing criteria query
1010
* results into a form convenient to the application.
1111
* <p>
12-
* @deprecated use {@link org.hibernate.query.TupleTransformer}
13-
* and/or {@link org.hibernate.query.ResultListTransformer}
12+
* @apiNote This entire package is considered deprecated. Use
13+
* {@link org.hibernate.query.TupleTransformer} and/or
14+
* {@link org.hibernate.query.ResultListTransformer}
1415
* which are defined in {@link org.hibernate.query}.
1516
*/
16-
@Deprecated
17+
@Remove
1718
package org.hibernate.transform;
19+
20+
import org.hibernate.Remove;

hibernate-core/src/main/java/org/hibernate/tuple/entity/CompositeGeneratorBuilder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
*/
77
package org.hibernate.tuple.entity;
88

9+
import org.hibernate.Internal;
910
import org.hibernate.dialect.Dialect;
1011
import org.hibernate.engine.spi.SharedSessionContractImplementor;
1112
import org.hibernate.generator.BeforeExecutionGenerator;
@@ -28,6 +29,7 @@
2829
/**
2930
* Handles value generation for composite properties.
3031
*/
32+
@Internal
3133
class CompositeGeneratorBuilder {
3234
private final String entityName;
3335
private final Property mappingProperty;

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
* Most contracts here have been replaced by the new runtime
1010
* {@linkplain org.hibernate.metamodel.mapping mapping model}.
1111
* <p>
12-
* @deprecated Value-generation related contracts have been replaced by
13-
* {@link org.hibernate.generator}
12+
* @apiNote This entire package (and sub-packages) is considered deprecated
1413
*/
15-
@Remove @Deprecated
14+
@Remove
1615
package org.hibernate.tuple;
1716

1817
import org.hibernate.Remove;

0 commit comments

Comments
 (0)