<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Question of the Day - Persistence category</title>
  <link>http://enigmastation.com:80/pebble/qotd/categories/Persistence/</link>
  <description>Interesting questions and answers on Java</description>
  <language>en</language>
  <copyright>Joseph Ottinger</copyright>
  <lastBuildDate>Wed, 03 Dec 2008 14:32:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>Horrible JDBC Code and What&#039;s Wrong With It</title>
    <link>http://enigmastation.com:80/pebble/qotd/2008/11/12/1226498040000.html</link>
    
      
      
        <description>
          Ah, Efficiency: Thou art a goddess who deserves worship, adulation, sacrifice, but thou art also a goddess who gets said worship, adulation, and sacrifice in all the wrong ways. Here&#039;s some JDBC code validating a login, trying to be good code (I think!)... that gets it wrong in almost every way possible.&lt;p&gt;&lt;a href=&#034;http://enigmastation.com:80/pebble/qotd/2008/11/12/1226498040000.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
    
    
    <category>Persistence</category>
    
    <comments>http://enigmastation.com:80/pebble/qotd/2008/11/12/1226498040000.html#comments</comments>
    <guid isPermaLink="true">http://enigmastation.com:80/pebble/qotd/2008/11/12/1226498040000.html</guid>
    <pubDate>Wed, 12 Nov 2008 13:54:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Are JDBC statements portable across databases?</title>
    <link>http://enigmastation.com:80/pebble/qotd/2008/11/10/1226318820000.html</link>
    
      
      
        <description>
          Ah, JDBC. Sometimes, people want to write JDBC code, because SQL is friendly and safe; then they discover that they actually don&#039;t want to deploy on MySQL after all, and they run into problems. The question is usually formed in this way: &#034;If I write my SQL in a prepared statement, is it going to work the same way in $OTHER_DATABASE?&#034;&lt;p&gt;&lt;a href=&#034;http://enigmastation.com:80/pebble/qotd/2008/11/10/1226318820000.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
    
    
    <category>Architecture</category>
    
    <category>Persistence</category>
    
    <comments>http://enigmastation.com:80/pebble/qotd/2008/11/10/1226318820000.html#comments</comments>
    <guid isPermaLink="true">http://enigmastation.com:80/pebble/qotd/2008/11/10/1226318820000.html</guid>
    <pubDate>Mon, 10 Nov 2008 12:07:00 GMT</pubDate>
  </item>
  
  <item>
    <title>How can I automatically expire data from a database?</title>
    <link>http://enigmastation.com:80/pebble/qotd/2008/08/30/1220106540000.html</link>
    
      
      
        <description>
          Another fairly common question: how can I expire data from a database? This is a case of applying lipstick to a pig: there are ways, to be sure, but the real problem is that you&#039;re using a database - a permanent datastore - to handle data that&#039;s short-lived.&lt;p&gt;&lt;a href=&#034;http://enigmastation.com:80/pebble/qotd/2008/08/30/1220106540000.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
    
    
    <category>Architecture</category>
    
    <category>Persistence</category>
    
    <comments>http://enigmastation.com:80/pebble/qotd/2008/08/30/1220106540000.html#comments</comments>
    <guid isPermaLink="true">http://enigmastation.com:80/pebble/qotd/2008/08/30/1220106540000.html</guid>
    <pubDate>Sat, 30 Aug 2008 14:29:00 GMT</pubDate>
  </item>
  
  <item>
    <title>My data structures have changed - how can I migrate my data model?</title>
    <link>http://enigmastation.com:80/pebble/qotd/2008/08/28/1219954260000.html</link>
    
      
      
        <description>
          Sometimes, people design data structures, persisted entities, only to find that - &lt;strong&gt;gasp!&lt;/strong&gt; - their data structures are more fluid than they expected. When all of your data is transient - meaning that it can be destroyed safely - that&#039;s no big deal, because you just drop the tables in question (or the whole database) and start over. (Sound familiar, Rails fans?) Sometimes, that&#039;s not enough - so what do you do?&lt;p&gt;&lt;a href=&#034;http://enigmastation.com:80/pebble/qotd/2008/08/28/1219954260000.html&#034;&gt;Read more...&lt;/a&gt;&lt;/p&gt;
        </description>
      
    
    
    
    <category>Architecture</category>
    
    <category>Persistence</category>
    
    <category>Serverside Coding</category>
    
    <comments>http://enigmastation.com:80/pebble/qotd/2008/08/28/1219954260000.html#comments</comments>
    <guid isPermaLink="true">http://enigmastation.com:80/pebble/qotd/2008/08/28/1219954260000.html</guid>
    <pubDate>Thu, 28 Aug 2008 20:11:00 GMT</pubDate>
  </item>
  
  </channel>
</rss>
