Skip to Content

How to define method witch returning an array in View, using method wizard

Dear experts.

I would like to define method which returning an array in View.

When View is opened, in "Methods" tab push "new" button, then select "Method" in Method Type window,

push "Next" but in Method Properties window Array Type checkbox is disabled. So, it is not possible to

define method with returning array type.

Please anybody, help me to resolve this problem.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 15, 2008 at 06:49 AM

    Hi,

    in the methods tab select New, method and Next> select the ... button next to return type> choose Java native type>click browse> type array and select java.sql.Array (you can also choose string etc). then your Arra type check box will be enabled

    Edited by: Aishwarya Sharma on Oct 15, 2008 8:49 AM

    Edited by: Aishwarya Sharma on Oct 15, 2008 8:51 AM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 06:49 AM

    Hi

    While creating method, you can see a check box over there as array type just check it that array type check box,

    or

    You can selet java native type as array by selecting "java native type"

    thanks

    anup

    Edited by: Anup Bharti on Oct 15, 2008 8:50 AM

    Edited by: Anup Bharti on Oct 15, 2008 8:51 AM

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 06:58 AM

    Hi,

    Use java Native type.

    Regards

    Ayyapparaj

    Add comment
    10|10000 characters needed characters exceeded