'How to convert a string into LocalDate formate?

I am using java 1.8 and using java.time API

I am getting date from my bean as String format in the form dd/MM/YYYY

07/01/2017

. And I want the same formate When converted to localDate.

The requirement is to store it in a database column with datatype as date.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source