Spring Hibernate Convert int to String in hexadecimal

To convert int to String in hexadecimal format, you can use the code:

Integer.toHexString(int_number)