Java : convert long to Timestamp
Yes, there's a constructor for Timestamp that takes a long as a parameter. http://docs.oracle.com/javase/6/docs/api/java/sql/Timestamp.html#Timestamp(long)
See: Timestamp.Timestamp(long)
:
new Timestamp(someLong)
The constructor is doing that:
Timestamp(long time)