One of my actions in a module calls the *RetrievebyPK method* and generated
0 results.
I've used the debug mode and I discovered a *wrong generated sql-query*.

SELECT menu_items.ID, menu_items.CATEGORY_ID, menu_items.PRODUCT_NAME,
menu_items.OWNER_ID, ... WHERE menu_items.ID IS NULL


I can't understand the where-clause (where menu_items.ID is null) because
menu_items.ID is the primary key with auto-increment option.
I double check the schema.xml file, I regenerated the model, reinsert
sql-query.

Everything seems to be alright. Where is the problem with my (crud)
generated query?
I appreciate your help! [image: Cool]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to