Skip to content

Commit a9fb252

Browse files
committed
deprecate @FractionalSeconds
1 parent 25ddb64 commit a9fb252

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

hibernate-core/src/main/java/org/hibernate/annotations/FractionalSeconds.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,17 @@
3232
* @see java.sql.Timestamp
3333
* @see java.util.Calendar
3434
*
35+
* @since 6.5
36+
*
37+
* @deprecated Use {@link jakarta.persistence.Column#secondPrecision} which was introduced
38+
* in JPA 3.2
39+
*
3540
* @author Steve Ebersole
3641
*/
3742
@Target({METHOD, FIELD})
3843
@Retention( RUNTIME)
3944
@Incubating
45+
@Deprecated(since = "7.0", forRemoval = true)
4046
public @interface FractionalSeconds {
4147
/**
4248
* The fractional precision for the associated seconds. Generally this will be one of<ul>

0 commit comments

Comments
 (0)