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 4646 * @author Oliver Gierke
4747 * @see <a href="https://www.threeten.org/threetenbp">https://www.threeten.org/threetenbp</a>
4848 * @since 1.8
49+ * @deprecated since 2.4, use JSR-310 types as replacement for ThreeTenBackport.
4950 */
5051public class ThreeTenBackPortJpaConverters {
5152
5253 @ Converter (autoApply = true )
54+ @ Deprecated
5355 public static class LocalDateConverter implements AttributeConverter <LocalDate , Date > {
5456
5557 @ Override
@@ -64,6 +66,7 @@ public LocalDate convertToEntityAttribute(Date date) {
6466 }
6567
6668 @ Converter (autoApply = true )
69+ @ Deprecated
6770 public static class LocalTimeConverter implements AttributeConverter <LocalTime , Date > {
6871
6972 @ Override
@@ -78,6 +81,7 @@ public LocalTime convertToEntityAttribute(Date date) {
7881 }
7982
8083 @ Converter (autoApply = true )
84+ @ Deprecated
8185 public static class LocalDateTimeConverter implements AttributeConverter <LocalDateTime , Date > {
8286
8387 @ Override
@@ -92,6 +96,7 @@ public LocalDateTime convertToEntityAttribute(Date date) {
9296 }
9397
9498 @ Converter (autoApply = true )
99+ @ Deprecated
95100 public static class InstantConverter implements AttributeConverter <Instant , Date > {
96101
97102 @ Override
@@ -106,6 +111,7 @@ public Instant convertToEntityAttribute(Date date) {
106111 }
107112
108113 @ Converter (autoApply = true )
114+ @ Deprecated
109115 public static class ZoneIdConverter implements AttributeConverter <ZoneId , String > {
110116
111117 @ Override
You can’t perform that action at this time.
0 commit comments