Re: JodaDateTime and mySQL update.
Re: JodaDateTime and mySQL update.
- Subject: Re: JodaDateTime and mySQL update.
- From: James Cicenia <email@hidden>
- Date: Wed, 19 Jun 2013 09:59:44 -0500
Red herring... something else going on.
I have a rest direction action and do the following in the action:
EOEditingContext ec = ERXEC.newEditingContext();
Device device = getDevice(ec,hwid,ppAppKey);
device.setLastReportedLongitude(new Double(json.get("lng").toString().replace("\"", "")));
device.setLastReportedLatitude(new Double(json.get("lat").toString().replace("\"", "")));
device.setDateModified(new DateTime());// I can remove this and it still fails.
ec.saveChanges();
Thoughts?
_______________________________________________
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