I have the following code:
def pessoaIds = [1, 2, 3, 4, 5]
def query = "SELECT * FROM Pessoa WHERE id IN(?)"
def pessoaList = sql.rows(query, [pessoaIds])
In this case "PersonList" returns an empty list;
def query = "SELECT * FROM Pessoa...
asked by
16.03.2015 / 17:29