cannot update imported DB entries; can update new ones
cannot update imported DB entries; can update new ones
- Subject: cannot update imported DB entries; can update new ones
- From: Jeremy Matthews <email@hidden>
- Date: Thu, 30 Sep 2004 09:12:48 -0400
OK, I've got my WO app running. I created a new entry component (works fine), a view/delete component (sorta works) that passes an entry to another component for editing. I can create new DB entries, view/delete, and edit just fine.
However, when I take an entry that I imported directly into MySQL (via CocoaMySQL), it will display and delete fine. And when I click on the "Editing" link I setup, it passes the values accordingly. But then, after changing some values, I try to save and hit a WO error message:
com.webobjects.eoaccess.EOGeneralAdaptorException: updateValuesInRowDescribedByQualifier -- com.webobjects.jdbcadaptor.JDBCChannel method failed to update row in database
updateValuesInRowDescribedByQualifier -- com.webobjects.jdbcadaptor.JDBCChannel method failed to update row in database
I can edit newly created entries, but not imported ones. All the values are imported under the correct fields, so this is a little confusing. I do have two hidden values (mem_type and "comm_type) that are not visible nor editable, nor anywhere in the form. But this shouldn't matter, right? It's the only difference I can think of between existing (imported) entries and newly created ones.
Oh, and if anyone has a good intro on sorting by columns for a WORep, I'd love to learn a bit more...
Thanks,
Jeremy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden