diff --git a/L3 Connecting To Data Sources/exercises/solution/lesson3/src/main/java/com/udacity/jdnd/course3/lesson3/data/Delivery.java b/L3 Connecting To Data Sources/exercises/solution/lesson3/src/main/java/com/udacity/jdnd/course3/lesson3/data/Delivery.java index 16448c7..9b92873 100644 --- a/L3 Connecting To Data Sources/exercises/solution/lesson3/src/main/java/com/udacity/jdnd/course3/lesson3/data/Delivery.java +++ b/L3 Connecting To Data Sources/exercises/solution/lesson3/src/main/java/com/udacity/jdnd/course3/lesson3/data/Delivery.java @@ -19,7 +19,7 @@ public class Delivery { @Column(name = "address_full", length = 500) private String address; private LocalDateTime deliveryTime; - @Type(type = "yes_no") + @Convert(converter = org.hibernate.type.NumericBooleanConverter.class) private Boolean completed = false; // changed CascadeType to ALL