-
Bug
-
Resolution: Fixed
-
P2
-
6
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.
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.