Can anyone see why when i set driverstatus.activeStatus = false; this does
not get persisted to the data store?
Query stopalertquery = pm.newQuery(Driver.class);
stopalertquery.setFilter("mobileCarrierEmail == mobileCarrierEmailParam");
stopalertquery.declareParameters("String mobileCarrierEmailParam"); // check
open status
List<Driver> driverInactiveresults = (List<Driver>)
stopalertquery.execute(sendToEmail); if
(driverInactiveresults.iterator().hasNext()) {
log.severe("number of drivers foud : "+ driverInactiveresults.size());
for (Driver driverstatus : driverInactiveresults) {
driverstatus.activeStatus = false;
pm.makePersistent(driverstatus);
}
}
stopalertquery.closeAll();
pm.close();
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" 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/google-web-toolkit?hl=en.