soundasleep / iaml

Automatically exported from code.google.com/p/iaml
3 stars 1 forks source link

Ignore DomainIterator named query parameters if the query does not use named parameters #276

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a DomainIterator with a query 'x = ?'
2. Insert a parameter named 'x'
3. Generate the application and access the iterator

What is the expected output? What do you see instead?
Expected: The Iterator works successfully
Actual: An exception is displayed: bind or column index out of range

As a workaround, the query can be changed to 'x = :x' as a named query 
parameter, but this should be avoided if possible. 

For example, if there are no named query parameters in the DomainIterator 
query, then all the named parameters should be converted to numeric parameters.

Original issue reported on code.google.com by soundasleep on 26 Jul 2011 at 1:51

GoogleCodeExporter commented 9 years ago
mass tagging old issues to future work

Original comment by soundasleep on 26 Sep 2011 at 9:54