ehonsey
02/10/2017, 4:41 PMjava.sql.Date
. Although I have an import for that class in the calling class, when I call Date.from(Instant)
the compiler is inferring java.util.Date
instead of java.sql.Date
. I had to give a type hint. I would have expected the compiler to make this inference based on the type of the target field.
Slack Conversation
Thank you for your assistance, by the way 👍