File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
src/main/java/org/springframework/data/jpa/convert/threetenbp Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 46
46
* @author Oliver Gierke
47
47
* @see <a href="https://www.threeten.org/threetenbp">https://www.threeten.org/threetenbp</a>
48
48
* @since 1.8
49
+ * @deprecated since 2.4, use JSR-310 types as replacement for ThreeTenBackport.
49
50
*/
50
51
public class ThreeTenBackPortJpaConverters {
51
52
52
53
@ Converter (autoApply = true )
54
+ @ Deprecated
53
55
public static class LocalDateConverter implements AttributeConverter <LocalDate , Date > {
54
56
55
57
@ Override
@@ -64,6 +66,7 @@ public LocalDate convertToEntityAttribute(Date date) {
64
66
}
65
67
66
68
@ Converter (autoApply = true )
69
+ @ Deprecated
67
70
public static class LocalTimeConverter implements AttributeConverter <LocalTime , Date > {
68
71
69
72
@ Override
@@ -78,6 +81,7 @@ public LocalTime convertToEntityAttribute(Date date) {
78
81
}
79
82
80
83
@ Converter (autoApply = true )
84
+ @ Deprecated
81
85
public static class LocalDateTimeConverter implements AttributeConverter <LocalDateTime , Date > {
82
86
83
87
@ Override
@@ -92,6 +96,7 @@ public LocalDateTime convertToEntityAttribute(Date date) {
92
96
}
93
97
94
98
@ Converter (autoApply = true )
99
+ @ Deprecated
95
100
public static class InstantConverter implements AttributeConverter <Instant , Date > {
96
101
97
102
@ Override
@@ -106,6 +111,7 @@ public Instant convertToEntityAttribute(Date date) {
106
111
}
107
112
108
113
@ Converter (autoApply = true )
114
+ @ Deprecated
109
115
public static class ZoneIdConverter implements AttributeConverter <ZoneId , String > {
110
116
111
117
@ Override
You can’t perform that action at this time.
0 commit comments