Illudium PU-36 Code Generator - generated code based on database tables.
DAO has a blank WHERE statement or clause.
This is due to not having a primary key in the table. Once the primary key is set in the table, regenerate your DAO with the Illudium PU-36 Code Generator.
Debugging Illudium PU-36 Hints
Remove the <cftry> and <cfcatch> in the generated DAO and use <cfdump abort=true> statements. This will help publish the errors in assisting to debug.
In the generated bean CFC, the primary key or ID is identified as a string:
This created some issues for me, conflicting with the database which had the ID as an INTEGER. I just changed it to represent as numeric.
Also, in the bean's init function,
change the ID argument from string:
to numeric: