-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 6
-
Component/s: core-libs
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.