This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Please can anyone help for the following problem. I am using mysql as database and want to retrieve values from a table which have enum as one of the columns. when I get the value in the resultset and try to store it in a string, the value returned by the rs.getString(<column-name> is null.
how should I convert the enum value of mysql to java string ? mysql docs says that the queries for enum returns string object.
We're pleased to have you here with us on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.