One of the frequent question that comes up for ORM is – Can I use database Views instead of the table? And the answer is “of course”! From ORM perspective, there is no difference between database view and a table. Any query that ORM generates will work on the views in the same way as it does on a table. So while defining the persistence metadata for your CFC, just use the view name instead of the table name and you should be all set.
Of course views are used just for the query and not for the insert/update/delete. Hence method like EntitySave/EntityDelete which will try to do insert/update/delete on View will not change the view and would throw an error at the time of flushing the ORM session.

#1 by Sean Coyne on September 15th, 2009
| Quote
So long as the underlying view is an updatable view, that is.
Pingback: Can PHP generate an HTML page by changing url? I’ve noticed on some sites there are numbers after the php. | Open Source Server Monitoring
#2 by Henry Jackson on May 3rd, 2011
| Quote
“So long as the underlying view is an updatable view, that is.” – Exactly.
Maybe he just forgot to mention it in this post.
Cheers!
#3 by Vanessa Myers on May 3rd, 2011
| Quote
So long as the underlying view is an updatable view, that is.
You got a point in there, Sean!
#4 by My Morning Sickness Remedies on June 6th, 2011
| Quote
I’m with Vanessa and Henry on this one… so long as the underlying view is an updatable view that is
/Nabil, a developer from Sweden.
#5 by Nabil on August 1st, 2011
| Quote
Hey, Rupesh! What’s the name of the theme you’re using on this blog?
I’d love to know…
#6 by SEO Link Building on September 1st, 2011
| Quote
This is a note to the webmaster. Please check out my friend’s website, he is offering a very good program that you may be intrested in. Does your website not get hardly any traffic or not rank for keywords with Google? Well he can help! He can provide you with safe tiered link building system! This will help your rankings in the search engines and make your website more visible to your target audience. Take a quick look as I am sure you will be interested. http://www.backlinkhorsepower.com
#7 by 20Pocasangre@gmail.com on November 12th, 2011
| Quote
I’d ought to seek advice from you here. Which is not something I do! I love reading an post that could make folks feel. Also, several thanks allowing me to comment!
Trackback: Bottega Veneta bags