I'm trying to import data from a non-mapper-based database to one that is. I'm 
reading data with DB.exec and trying to save it using Mapper, but it's not 
getting saved. I'm guessing that since I'm setting the id (in runSafe) it 
thinks it needs to do an update, not an insert.  Is there a workaround? Also, 
doesn't this scenario break the logic of MetaMapper.saved_?() ? Wouldn't it 
make more sense to have a saved flag that is cleared by default and set when 
it's created as a result of a find, and after it's saved?

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

Reply via email to