Reverse String In Java Using Function With Sql