ibbi

try setting the value in the Cache class

property p1 as %String[initialexpression=""];

Though I am not expecting it to work:{

had some similar stuff with the XML projection and Marvin had to add
an extra parameter in the class to control the behaviour og Null/""

Peter



On Sat, 31 Jul 2004 22:49:16 +0900, "ibbi" <[EMAIL PROTECTED]> wrote:

>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