I had this thread running over on the coldbox list because the
original problem was CB related, but now I am to the point where it is
strictly transfer. I was using a users table there but now trying with
a client table.
I am having an issue on a new app where when I call transfer.save and
pass an object that has an ID field with a value, transfer is trying
to do an insert instead of an update. Win 2003, IIS, mySQL 5.01, CF
8.01 and all latest releases of CS, CB and xFer.
oclientBean = oService.getclient(0);
getPlugin("beanFactory").populateBean(oclientBean);
t = getPlugin("ioc").getBean("transfer").getTransfer();
t.save(oclientBean);
Before I do the save, I have dumped the object and it is of type
model.decorator.client and I have dumped the getMemento() to verify
that my clientID has a value.
Here are the first couple of lines from the transfer.xml for this
object:
<object name="client" table="client"
decorator="model.decorator.client">
<id name="clientID" type="numeric" generate="false" />
Anyone have any ideas on this one?
--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer
You received this message because you are subscribed to the Google Groups
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---