Got a String coming in with this format: YYYY-MM-DD-HH.MM.SS.NNNNNN The Timestamp is coming from a DB2 database. I need to parse it into a java.sql.Timestamp and NOT lose a
I believe you need to do this:
Option 2 Convert to the date format pointed out in Jon Skeet's answer and use that.