<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-2015721107059280399.post862167374937002544..comments</id><updated>2007-05-12T16:11:53.898-07:00</updated><category term='oedilf'/><category term='crunchbang'/><category term='beer'/><category term='roald dahl'/><category term='rubyquiz'/><category term='continuous integration'/><category term='hackety hack'/><category term='news'/><category term='clojure'/><category term='movies'/><category term='books'/><category term='recruiting'/><category term='metric_fu'/><category term='google appengine'/><category term='aon'/><category term='osbridge'/><category term='kansas'/><category term='selenium'/><category term='cartoons'/><category term='art'/><category term='open source'/><category term='pycon'/><category term='chrome'/><category term='bazaar'/><category term='c#'/><category term='chirb'/><category term='firefox'/><category term='open source bridge'/><category term='ppa'/><category term='hippie comfort food'/><category term='society'/><category term='chipy'/><category term='software craftsmanship'/><category term='baking'/><category term='migrations'/><category term='rails'/><category term='nintendo'/><category term='diagrams'/><category term='vim'/><category term='launchpad'/><category term='alan kay'/><category term='xp'/><category term='fixtures'/><category term='java'/><category term='rock'/><category term='gnu/linux'/><category term='gpi'/><category term='css3'/><category term='dungeons and dragons'/><category term='apt'/><category term='cucumber'/><category term='thoughtworks'/><category term='lambda'/><category term='bash'/><category term='wordpress'/><category term='pair programming'/><category term='resume'/><category term='obama'/><category term='io'/><category term='ctags'/><category term='wes anderson'/><category term='x10'/><category term='rubymine'/><category term='sikuli'/><category term='mac'/><category term='darfur'/><category term='railsconf'/><category term='lambdaj'/><category term='heroku'/><category term='race'/><category term='ubuntu'/><category term='testing'/><category term='lolcats'/><category term='prototype'/><category term='subversion'/><category term='google'/><category term='screencast'/><category term='data mapper'/><category term='ruby'/><category term='ninjas'/><category term='textmate sucks nyah nyah nyah'/><category term='media'/><category term='activerecord'/><category term='javascript'/><category term='tex'/><category term='google api'/><category term='snozberries'/><category term='magic'/><category term='apple'/><category term='quote'/><category term='os x'/><category term='github'/><category term='youtube'/><category term='angry drunken dwarves'/><category term='gcs'/><category term='gosu'/><category term='python'/><category term='chipmunk'/><category term='chicago'/><category term='cruisecontrol'/><category term='bach'/><category term='ioke'/><category term='debian'/><category term='windows'/><category term='bea'/><category term='london'/><category term='inkscape'/><category term='jmx'/><category term='rake'/><category term='database'/><category term='linux'/><category term='shoes'/><category term='arduino'/><category term='engine yard'/><category term='ant'/><category term='soap'/><category term='oscon'/><category term='smalltalk'/><category term='programming'/><category term='politics'/><category term='metaprogramming'/><category term='games'/><category term='music'/><category term='blog'/><category term='shellsink'/><category term='literature'/><category term='regex'/><category term='jquery'/><category term='wikipedia'/><category term='unicorns'/><category term='blogger'/><category term='gdp'/><category term='food'/><category term='twitter'/><category term='zsh'/><category term='poetry'/><category term='mingle'/><category term='weird'/><category term='project management'/><category term='nsbe'/><title type='text'>Comments on Cuberick: SQL Views: quick fixes and complementary ORM</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.cuberick.com/feeds/862167374937002544/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2015721107059280399/862167374937002544/comments/default'/><link rel='alternate' type='text/html' href='http://www.cuberick.com/2007/04/sql-views-quick-fixes-and-complementary.html'/><author><name>Shlomo</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2015721107059280399.post-4613979928033114964</id><published>2007-05-12T16:11:00.001-07:00</published><updated>2007-05-12T16:11:00.001-07:00</updated><title type='text'>The key here was that I didn’t have to write or up...</title><content type='html'>The key here was that I didn’t have to write or update the DB. Read-only, so there really weren’t any hoops. The only trick was getting the primary keys on the views right. At one point I just used the row count from my select statement to create a primary key (the key wasn’t actually being used by any other tables so I was just jumping through one of ActiveRecord’s hoops).</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2015721107059280399/862167374937002544/comments/default/4613979928033114964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2015721107059280399/862167374937002544/comments/default/4613979928033114964'/><link rel='alternate' type='text/html' href='http://www.cuberick.com/2007/04/sql-views-quick-fixes-and-complementary.html?showComment=1179011460001#c4613979928033114964' title=''/><author><name>josh</name><uri>http://www.blogger.com/profile/01165462366964097266</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cuberick.com/2007/04/sql-views-quick-fixes-and-complementary.html' ref='tag:blogger.com,1999:blog-2015721107059280399.post-862167374937002544' source='http://www.blogger.com/feeds/2015721107059280399/posts/default/862167374937002544' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1247182692'/></entry><entry><id>tag:blogger.com,1999:blog-2015721107059280399.post-6387921823190158007</id><published>2007-05-12T16:11:00.000-07:00</published><updated>2007-05-12T16:11:00.000-07:00</updated><title type='text'>Anders Norås &lt;br&gt;&lt;br&gt;Whether you can use views for...</title><content type='html'>Anders Norås &lt;BR/&gt;&lt;BR/&gt;Whether you can use views for persistence depends on which database you’re using. Oracle has materialized views which allows updates to some extent and Microsoft SQL Server supports “updateble views”. I did some experimentation with ORM and views a while ago (http://andersnoras.com/blogs/anoras/archive/2007/03/01/nhibernate-mapping-a-class-to-several-tables.aspx) and found that you have to jump through quick a few hoops to achieve this.&lt;BR/&gt;&lt;BR/&gt;Regards,&lt;BR/&gt;Anders</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2015721107059280399/862167374937002544/comments/default/6387921823190158007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2015721107059280399/862167374937002544/comments/default/6387921823190158007'/><link rel='alternate' type='text/html' href='http://www.cuberick.com/2007/04/sql-views-quick-fixes-and-complementary.html?showComment=1179011460000#c6387921823190158007' title=''/><author><name>josh</name><uri>http://www.blogger.com/profile/01165462366964097266</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cuberick.com/2007/04/sql-views-quick-fixes-and-complementary.html' ref='tag:blogger.com,1999:blog-2015721107059280399.post-862167374937002544' source='http://www.blogger.com/feeds/2015721107059280399/posts/default/862167374937002544' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1247182692'/></entry><entry><id>tag:blogger.com,1999:blog-2015721107059280399.post-4313291655560004162</id><published>2007-05-12T16:10:00.000-07:00</published><updated>2007-05-12T16:10:00.000-07:00</updated><title type='text'></title><content type='html'>This comment has been removed by the author.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2015721107059280399/862167374937002544/comments/default/4313291655560004162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2015721107059280399/862167374937002544/comments/default/4313291655560004162'/><author><name>josh</name><uri>http://www.blogger.com/profile/01165462366964097266</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.cuberick.com/2007/04/sql-views-quick-fixes-and-complementary.html' ref='tag:blogger.com,1999:blog-2015721107059280399.post-862167374937002544' source='http://www.blogger.com/feeds/2015721107059280399/posts/default/862167374937002544' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1247182692'/></entry></feed>
