Hi Lukas, I'm generating a query that ends up being rejected by the db and would like to know exactly what query is being executed (including bind parameters).
The thing is, looking at the string representation of the SelectLimitStep (on which I invoke fetchLazy()) via the debugger, the generated query appears to be correct - that is, I can copy and paste it directly into sqlplus and it gives exactly the expected result (connected as the same user to the same database as the test code is). In fact, in writing this, I realised that I could solve the issue as follows: SelectLimitStep query = generateQuery(); String sql = query.toString(); // new db.fetchLazy(sql); // was query.fetchLazy(); So, for now, I'll go with this workaround, but it would be nice to know what's being executed in the original case. Cheers, Anthony
