Apparently the date you get is a String, not a Date object.
You can parse the string using a SimpleDateFormat with the pattern "dd-MMM-yy", and then format the resulting Date object with another SimpleDateFormat with the pattern dd-MMM-yyyy.
Why are you storing a date value in a database as a String?
If it was a DATE then you could either format using a SimpleDateFormat (as mentioned) or change the SQL to return the DATE as a pre-formatted String.
As it stands you now have to convert the String to a Date and the back again to a String...
Just noticed as well.
Why are you using get() from ResultSet and then casting to String rather than using the getString() method on ResultSet.
You know the datatype after all.
Look! I laid an egg! Why does it smell like that? Tiny ad, does this smell weird to you?