007design
unread,May 17, 2012, 11:01:52 AM5/17/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ORMLite Users
is there a way that i can specify that a class have it's data loaded
from a view but saved to a table? that is, any query operations would
be run against a view and any insert/update operations would be run
against a table.
i ask as this would enable me to "soft delete" records by marking a
flag column in the table and having a view configured to pull only
records which do not have this flag field. there could perhaps be a
"viewName" property on the @DatabaseTable annotation which, if
supplied, would use that view for read operations.
is this just a silly idea?
thanks,
007