Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6462447

select/update query sharing parameter throws ArrayIndexOutOfBoundException

XMLWordPrintable

    • b95
    • 6
    • b98
    • generic
    • generic

      Code :

      interface I_Query005 extends BaseQuery {
          @Select(sql="SELECT * from query005 where firstName=?1 and lastName=?1")
          DataSet<Player> getPlayer(String fName);
      }


      This select statement will not work and throw ArrayIndexOutOfBoundException as both parameters need to be initialized by same argument.

      This is applicable for update statement as well.

            kssaxena Kshitiz Saxena (Inactive)
            kssaxena Kshitiz Saxena (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: