I do getString() form enum fields. You should always
retreive something the getString() (or getInt()) parse
your data, so you should retreiev your "red".
what do you retreive so far?
--- Monika André-Jönsson
<moni...@factum.se> wrote:
Hello,
I have a problem when I want to retrieve an enum
from my MySQL database. I use
resultset.getString("Type") were Type is the name
of the field where I store the enum value. I.e, I
try to get a string value back from the Type
field and store it in a java string object. But
neither getString or getInt works to retrieve the
answer, that should be a string like "red".
Please, can anyone help me???
/Monika