with JAVA, i've got the resultSet from Database.
and i want to assign their values to the object that i defined.

But in some column values that are defined as %String and 'not required'
comes as null object.
it makes runtime exceptions.

i want to set the initial value "" if the property is null.
Adding 'if statement' in java code for every properties works, but it's too
wasty.

What can i do to set the default value?



Reply via email to