<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/1.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
	<title>Hazel Nuts</title>
	<link>http://www.hazelsoft.com</link>
	<description>This is a professional blog of the founder, owner and the only employee of Hazelsoft, an innovative software company.</description>
	<pubDate>Mon, 29 Jun 2009 11:23:20 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5</generator>
	<language>en</language>

		<item>
		<title>Religion</title>
		<link>http://www.hazelsoft.com/2005/08/04/religion/</link>
		<comments>http://www.hazelsoft.com/2005/08/04/religion/#comments</comments>
		<pubDate>Thu, 04 Aug 2005 11:02:43 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Thoughts</category>
	<category>Internet</category>
		<guid>http://www.hazelsoft.com/2005/08/04/religion/</guid>
		<description><![CDATA[I just read Accessibility Only For Disabilities? article on Autistic Cuckoo. Another one like this :). I keep hearing this from everywhere: we should make the Web more accessible! Well, why should we (and who is "we")? Common argument - because "information should be free". Why?

A serious developer has to think of making money, not [...]]]></description>
			<content:encoded><![CDATA[	<p>I just read <a href="http://www.autisticcuckoo.net/archive.php?id=2005/06/27/accessibility-for-disabilities-only">Accessibility Only For Disabilities?</a> article on Autistic Cuckoo. Another one like this <img src='http://www.hazelsoft.com/wp-images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I keep hearing this from everywhere: we should make the Web more accessible! Well, why should we (and who is &#8220;we&#8221;)? Common argument - because &#8220;information should be free&#8221;. Why?</p>
	<p>A serious developer has to think of making money, not of some religious beliefs. Contrary to what many people think, software business is just like any other business - invest the money and reap the income. No place for Mother Teresa- if you don&#8217;t make money, you fall out of business. Then, should you invest your money to make your sites more accessible? Of course!</p>
	<p>Your site should make money. A simple equation: more clients = more money. Your site is not accessible? Less clients- less money. Simple as that.</p>
	<p>A digression: making pages accessible is not so hard as it seems. Coding the site in HTML Strict + CSS and remembering a few guidelines should be enough. Not a big deal, actually.</p>
	<p>Another happy conclusion from the &#8220;information should be free&#8221; slogan: all the software should be free! I liked the Joel Spolsky <a href="http://www.joelonsoftware.com/articles/StrategyLetterV.html">article</a>. It explains why the free software even exists- it exists because it actually pays to publish the software free of charge if it helps selling other software or services.</p>
	<p>And yes, I understand the difference between the &#8220;free&#8221; software as stated by GNU Foundation and &#8220;free&#8221; software, which you simply don&#8217;t have to pay for. I don&#8217;t mind the difference. Do you?
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/08/04/religion/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Join the underground</title>
		<link>http://www.hazelsoft.com/2005/07/21/join-the-underground/</link>
		<comments>http://www.hazelsoft.com/2005/07/21/join-the-underground/#comments</comments>
		<pubDate>Thu, 21 Jul 2005 10:31:27 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Internet</category>
		<guid>http://www.hazelsoft.com/2005/07/21/join-the-underground/</guid>
		<description><![CDATA[I found another online "Massive Multiplayer" online game- "The Crims". Become a criminal - a thug, a dealer, a pimp... Somewhat disgusting, but if you can forget that this is just a game, try it out and join TheCrims ]]></description>
			<content:encoded><![CDATA[	<p>I found another online &#8220;Massive Multiplayer&#8221; online game- &#8220;The Crims&#8221;. Become a criminal - a thug, a dealer, a pimp&#8230; Somewhat disgusting, but if you can forget that this is just a game, try it out and <a href="http://www2.TheCrims.com/?rid=879073">join TheCrims</a>
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/07/21/join-the-underground/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>The most important thing in application design</title>
		<link>http://www.hazelsoft.com/2005/07/18/the-most-important-thing-in-application-design/</link>
		<comments>http://www.hazelsoft.com/2005/07/18/the-most-important-thing-in-application-design/#comments</comments>
		<pubDate>Mon, 18 Jul 2005 15:44:41 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Programming</category>
	<category>Disappointments</category>
		<guid>http://www.hazelsoft.com/2005/07/18/the-most-important-thing-in-application-design/</guid>
		<description><![CDATA[Understanding what the user needs. Clear and simple. Problems? Sure...


  The client doesn't know what he wants, and even if he knows,
  he can't communicate his needs.


This is how "we" (the computer people) usually view our clients. I'd say this is absolutely wrong. The problem is that "our" interface to common people is [...]]]></description>
			<content:encoded><![CDATA[	<p>Understanding what the user needs. Clear and simple. Problems? Sure&#8230;</p>
	<ol>
	<li>The client doesn&#8217;t know what he wants, and even if he knows,</li>
	<li>he can&#8217;t communicate his needs.</li>
	</ol>
	<p>This is how &#8220;we&#8221; (the computer people) usually view our clients. I&#8217;d say this is absolutely wrong. The problem is that &#8220;our&#8221; interface to common people is rather poor. Remember, common people don&#8217;t think in terms of &#8220;processes&#8221;, &#8220;objects&#8221;, &#8220;workflow&#8221; etc. Software designers seem to forget that their clients have no technical educations, understand no programming jargon and have little interest whether the implementation uses XML, HTML or whatever. People become easily confused- just as &#8220;we&#8221; get confused when we speak with poets, for example. This confusion leads to poor design- and then, we get the &#8220;but it&#8217;s not what I wanted&#8221; problem.</p>
	<p>I&#8217;d say, when speaking with the client, to go no further than the requirements stage. That is:</p>
	<ul>
	<li>What will the software do?</li>
	<li>How to check if it does?</li>
	</ul>
	<p>That&#8217;s it. The rest is our problem.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/07/18/the-most-important-thing-in-application-design/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Transparent PNG images in IE</title>
		<link>http://www.hazelsoft.com/2005/07/03/transparent-png-images-in-ie/</link>
		<comments>http://www.hazelsoft.com/2005/07/03/transparent-png-images-in-ie/#comments</comments>
		<pubDate>Sun, 03 Jul 2005 09:53:26 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Disappointments</category>
	<category>Internet</category>
		<guid>http://www.hazelsoft.com/2005/07/03/transparent-png-images-in-ie/</guid>
		<description><![CDATA[When I yesterday put together the weather snippet, I didn't quite notice that the weather icons are in PNG format. This is no problem for me, since I use Firefox for my everyday work. However, in my "favourite" browser, the M$ Internet Explorer, the PNG transparency doesn't really render very well. Instead of a nice [...]]]></description>
			<content:encoded><![CDATA[	<p>When I yesterday put together the weather snippet, I didn't quite notice that the weather icons are in PNG format. This is no problem for me, since I use Firefox for my everyday work. However, in my "favourite" browser, the <acronym title="Microsoft">M$</acronym> Internet Explorer, the PNG transparency doesn't really render very well. Instead of a nice and smooth alpha channel we get a "127" gray, which of course ruins all the webmasters' hard work.</p>
	<p>There exists a bunch of "solutions" to this problem, using "alpha filters", chunks of javascript, server-side scripting (<a href="http://koivi.com/ie-png-transparency/">this</a> is my favourite) and the like. This is all fine, but it is a patch, not a solution- a lot of unnecessary coding, just to make one buggy browser happy. The real solution is not to use <acronym title="Internet Explorer">IE</acronym>... For the time being, I just converted all the weather .pngs to .gifs using <a href="http://www.imagemagick.org/script/index.php">ImageMagick</a>:</p>
	<div class="syntax_hilite">
<div id="code-1">
	<div>
FOR /F &quot;delims=.&quot; %%k IN <span style="color:#008800; font-weight:bold;">&#40;</span><span style="color: #808080; font-style: italic;">'dir /b .\*.png') DO (</span><br />
convert %%k.png %%k.gif<br />
<span style="color:#008800; font-weight:bold;">&#41;</span></div>
	</div>
</div>
	<p>A digression: there have been many rants about how M$ Internet Explorer is "evil", M$ is "evil" and the like. I'd say it's just a very, very old browser - there hasn't been any significant update in 5 years! No wonder the software is not up-to-date. So? So now it is the time of "the turn of the tide". More and more people use alternative browsers - <a href="http://www.mozilla.org/products/firefox/">Firefox</a>, <a href="http://www.opera.com">Opera</a> and others. And this is good. Stop complaining and download Firefox! And - <a href="http://www.spreadfirefox.com/">Spread the Word!</a></p>
	<div class="img-centering">
<a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=0&amp;t=59"><img border="0" alt="Get Firefox!" title="Get Firefox!" src="http://sfx-images.mozilla.org/affiliates/Buttons/180x60/safer.gif"/></a>
</div>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/07/03/transparent-png-images-in-ie/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Displaying weather data with a plugin</title>
		<link>http://www.hazelsoft.com/2005/07/02/displaying-weather-with-a-plugin/</link>
		<comments>http://www.hazelsoft.com/2005/07/02/displaying-weather-with-a-plugin/#comments</comments>
		<pubDate>Sat, 02 Jul 2005 23:22:35 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Programming</category>
	<category>Internet</category>
		<guid>http://www.hazelsoft.com/2005/07/02/displaying-weather-with-a-plugin/</guid>
		<description><![CDATA[One of my clients asked me to insert weather information on his website. Right, no problem. It has to be free- he added. Ooops.

Just a few institutions want to share their weather data for free (without paying money, to be precise):

  National Weather Service- data is shared through FTP connections,
  Weather Underground - [...]]]></description>
			<content:encoded><![CDATA[	<p>One of my clients asked me to insert weather information on his website. Right, no problem. It has to be free- he added. Ooops.</p>
	<p>Just a few institutions want to share their weather data for free (without paying money, to be precise):</p>
	<ul>
	<li><a href="http://weather.noaa.gov/">National Weather Service</a>- data is shared through FTP connections,</li>
	<li><a href="http://www.wunderground.com/">Weather Underground</a> - they provide a RSS feed with weather data of selected location,</li>
	<li><a href="http://www.weather.com/">weather.com</a>, which provide a XML-based API to their service.</li>
	</ul>
	<p>I've chosen the last option - and to get a grip on the solution, I put together a simple WordPress plugin to display the weather data (look to the right). The plugin has two functions:</p>
	<ol>
	<li>Caching data from weather.com - current conditions are checked once per hour; the XML file from remote server is stored locally to speed up the display process, and to satisfy the usage conditions.</li>
	<li>Parsing the XML data and displaying the result.</li>
	</ol>
	<p>It was the first time I wrote a WordPress plugin - it was quite simple, even if I haven't checked any tutorial or whatever. Just by examining other plugins it was possible to find out the plugin structure. The program however, is too alpha-ish to be presented publicly without shame. Maybe in the near future I will publish the plugin source.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/07/02/displaying-weather-with-a-plugin/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Rice with strawberries</title>
		<link>http://www.hazelsoft.com/2005/06/29/rice-with-strawberries/</link>
		<comments>http://www.hazelsoft.com/2005/06/29/rice-with-strawberries/#comments</comments>
		<pubDate>Wed, 29 Jun 2005 12:58:27 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Food</category>
		<guid>http://www.hazelsoft.com/2005/06/29/rice-with-strawberries/</guid>
		<description><![CDATA[My wife told me - "cook me some rice on milk with strawberries".

A digression: if you ever happen to come to Poland, try to do it in June/ July. It's strawberries season, and polish strawberries cannot be compared with anything else - they are just the best tasting strawberries in the World! Furthermore, you can [...]]]></description>
			<content:encoded><![CDATA[	<p>My wife told me - "cook me some rice on milk with strawberries".</p>
	<p>A digression: if you ever happen to come to Poland, try to do it in June/ July. It's strawberries season, and polish strawberries cannot be compared with anything else - they are just the best tasting strawberries in the World! Furthermore, you can buy them for as little as 2.50 zł (about .50 &euro;) for a kilo.</p>
	<p>Right, let's cook! I gathered the resources and began to wonder- how in the world do you cook rice on milk? I can cook rice in three different ways - the mundane way, the Japanese way and the Risotto way. But on milk? No idea. What is the algorithm (not very surprisingly, cooking is somewhat similar to programming)? Let's search the Internet... Nothing. Common recipe for rice on milk - "cook the rice on milk". Great. Time for experiments...</p>
	<p>Another digression: never buy "parboiled" rice. It just stinks. So does rice in "handy bags". Simple "long grained" rice in paper bags (the cheapest one) does the trick.</p>
	<p>Ad rem: one cup rice, three cups milk. A tablespoon of butter. A tablespoon of sugar. Put in a pan, boil for 30 mins. And you know? It worked!</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/06/29/rice-with-strawberries/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Network installers</title>
		<link>http://www.hazelsoft.com/2005/06/26/network-installers/</link>
		<comments>http://www.hazelsoft.com/2005/06/26/network-installers/#comments</comments>
		<pubDate>Sun, 26 Jun 2005 12:31:51 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Software</category>
	<category>Thoughts</category>
		<guid>http://www.hazelsoft.com/2005/06/26/network-installers/</guid>
		<description><![CDATA[Have I ever mentioned network installers? These little programs you download, which in turn download all the rest and install the software? Ain't that cute... but it's wrong! Imagine you have to install the software on 5 different computers- and instead of burning a CD-ROM with installation files, you have to download them 5 times [...]]]></description>
			<content:encoded><![CDATA[	<p>Have I ever mentioned network installers? These little programs you download, which in turn download all the rest and install the software? Ain't that cute... but it's wrong! Imagine you have to install the software on 5 different computers- and instead of burning a CD-ROM with installation files, you have to download them 5 times - of which 4 are clearly not needed. Or better, imagine you have no connection to Internet...</p>
	<p>Well, I just had to use Another Network Installer. The software was <a href="http://lab.msdn.microsoft.com/express/visualc/default.aspx">Microsoft Visual C++ 2005 Beta</a>. The installer just plain didn't work. It kept trying to contact the download server and... nada, nothing. WTF?</p>
	<p>Oh well, it's not a problem, I can use different C++ compiler, as I need it only for a small project. But, being the person I am, I couldn't let go. I kept digging, and finally succeeded. The problem was two-fold:</p>
	<ul>
	<li>I had to upgrade the <acronym title="Background Intelligent Transfer Service">BITS</acronym> service. Of course the VC++ installer cannot just use a plain socket connection, oh no - it has to use some Microsoft only solutions.</li>
	<li>I had to disable my personal firewall for the downloading time. The BITS tried to use svchost service, which I had permanently banned from the Internet, as the only thing it did was shutting down the machine because of some mysterious viruses. Oh well, at least now I know another use of svchost..</li>
	</ul>
	<p>Have I mentioned I had to restart the computer after the installation? Another story...
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/06/26/network-installers/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>Privacy issues</title>
		<link>http://www.hazelsoft.com/2005/06/23/privacy-issues/</link>
		<comments>http://www.hazelsoft.com/2005/06/23/privacy-issues/#comments</comments>
		<pubDate>Thu, 23 Jun 2005 21:47:33 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Internet</category>
		<guid>http://www.hazelsoft.com/2005/06/23/privacy-issues/</guid>
		<description><![CDATA[Ever wondered what happens with the data you submit in all the "registration forms" you encounter on the Web? Is it ever used? If no - why bother filling them? If yes - think hard, do you really that want to share your personal data?

The problem with personal data is not so big, because you [...]]]></description>
			<content:encoded><![CDATA[	<p>Ever wondered what happens with the data you submit in all the "registration forms" you encounter on the Web? Is it ever used? If no - why bother filling them? If yes - think hard, do you really <strong>that</strong> want to share your personal data?</p>
	<p>The problem with personal data is not so big, because you can just make up some gibberish. However, you almost always need to submit your email - which is a piece of data you really shouldn't give away so easily. You don't like spam, do you?</p>
	<p>One-time email is the answer. Web pages like <a href="http://www.dodgeit.com/">dodgeit</a>, <a href="http://www.mailinator.com/">Mailinator</a>, <a href="http://www.spamgourmet.com/">spamgourmet</a> and <a href="http://spambob.com/">Spam Bob</a> can provide you with a disposable e-mail, which will be used just once - to confirm registration or whatever. You register, the e-mail address gets dumped and everybody's happy.</p>
	<p>Or, if registration forms just drive you nuts, use <a href="http://www.bugmenot.com/">bugmenot</a>. This website maintains a database of identities which can be used to bypass the otherwise compulsory registration. They even provide a Firefox plugin for this!</p>
	<p>Of course, there is an ethical side to this. A discussion can be found <a href="http://www.poynter.org/article_feedback/article_feedback_list.asp?id=60149">here</a>. I guess you'll just have to decide by yourself.
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/06/23/privacy-issues/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>A programming gem</title>
		<link>http://www.hazelsoft.com/2005/06/14/a-programming-gem/</link>
		<comments>http://www.hazelsoft.com/2005/06/14/a-programming-gem/#comments</comments>
		<pubDate>Tue, 14 Jun 2005 22:32:49 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Programming</category>
		<guid>http://www.hazelsoft.com/2005/06/14/a-programming-gem/</guid>
		<description><![CDATA[While being a little offset because of some private matters, I began to learn (in what's left of my free time) a new programming language.

The language is Ruby, developed by a single japanese guy. It seems to be something between Smalltalk and Perl - with quite simple syntax, full object orientation, exception handling and what [...]]]></description>
			<content:encoded><![CDATA[	<p>While being a little offset because of some <a href="http://www.hazelsoft.com/private/galeria.php?galeria=jest">private matters</a>, I began to learn (in what's left of my free time) a new programming language.</p>
	<p>The language is <a href="http://www.ruby-lang.org/en/">Ruby</a>, developed by a single japanese guy. It seems to be something between Smalltalk and Perl - with quite simple syntax, full object orientation, exception handling and what not.</p>
	<p>First impressions -  the syntax is still a bit disturbing for me, some concepts are unfamiliar, some things seem to be overly complicated - but generally nicer than Perl, and closer to shell scripts than Python. Promising.</p>
	<p>Some additional resources can be found on <a href="http://www.rubycentral.com/">Ruby Central</a>. Another thing worth taking a look is <a href="http://www.rubyonrails.org/">Rails</a>, a open-source web framework written entirely in Ruby.</p>
	<p>For the moment however, I'll stick with <a href="http://www.python.org/">Python</a> as a scripting language of choice - but you never know...
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/06/14/a-programming-gem/feed/</wfw:commentRSS>
	</item>
		<item>
		<title>One of the reasons I don&#8217;t like Oracle</title>
		<link>http://www.hazelsoft.com/2005/05/28/one-of-the-reasons-i-dont-like-oracle/</link>
		<comments>http://www.hazelsoft.com/2005/05/28/one-of-the-reasons-i-dont-like-oracle/#comments</comments>
		<pubDate>Sat, 28 May 2005 23:00:52 +0000</pubDate>
		<dc:creator>LL</dc:creator>
		
	<category>Programming</category>
	<category>Disappointments</category>
		<guid>http://www.hazelsoft.com/2005/05/28/one-of-the-reasons-i-dont-like-oracle/</guid>
		<description><![CDATA[Have you ever worked with clobs (or blobs, doesn't matter) in your database? Well, I did. And while it generally poses no problems in any database I know, in Oracle it is cumbersome at best. Would you expect this to work?

[SQL]INSERT INTO table (id, clob_col) 
		VALUES (1, 'A very long line...');[/SQL]

Hmm, I would. For some [...]]]></description>
			<content:encoded><![CDATA[	<p>Have you ever worked with clobs (or blobs, doesn't matter) in your database? Well, I did. And while it generally poses no problems in any database I know, in Oracle it is cumbersome at best. Would you expect this to work?</p>
	<div class="syntax_hilite">
<div id="sql-3">
	<div><span style="color: #993333; font-weight: bold;">INSERT</span> <span style="color: #993333; font-weight: bold;">INTO</span> <span style="color: #993333; font-weight: bold;">TABLE</span> <span style="color:#008800; font-weight:bold;">&#40;</span>id, clob_col<span style="color:#008800; font-weight:bold;">&#41;</span> <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #993333; font-weight: bold;">VALUES</span> <span style="color:#008800; font-weight:bold;">&#40;</span><span style="color:#800000;">1</span>, <span style="color: #ff0000;">'A very long line...'</span><span style="color:#008800; font-weight:bold;">&#41;</span>;</div>
	</div>
</div>
	<p>Hmm, I would. For some misterious reasons it works everywhere - but not in Oracle! If the line is longer than 2499 characters (in version 8.something, maybe it's different in other versions), all you get is a friendly error message. What to do? Write a program, say, in Java. There is about 2.7 million ways to do it, of which this is one of the easiest:</p>
	<div class="syntax_hilite">
<div id="java-2">
	<div>
<span style="color:#FF6600;">//say we already have a connection and a statement object</span><br />
<span style="color:#FF6600;">//this is needed. I don't know why.</span><br />
connection.<span style="color: #006600;">setAutoCommit</span><span style="color:#008800; font-weight:bold;">&#40;</span><span style="color: #000000; font-weight: bold;">false</span><span style="color:#008800; font-weight:bold;">&#41;</span>;<br />
<span style="color:#FF6600;">//insert row with empty clob</span><br />
statement.<span style="color: #006600;">executeQuery</span><span style="color:#008800; font-weight:bold;">&#40;</span><span style="color: #ff0000;">"insert into table(id, clob_col) "</span>+<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"values (667, EMPTY_CLOB()) "</span>;<br />
<span style="color:#FF6600;">//get the Clob object back from DB</span><br />
<a href="http://www.google.com/search?q=allinurl%3Aresultset+java.sun.com&#038;bntl=1"><span style="color:#666699; font-weight: bold;">ResultSet</span></a> rs = stat.<span style="color: #006600;">executeQuery</span><span style="color:#008800; font-weight:bold;">&#40;</span><span style="color: #ff0000;">"select clob_col "</span>+<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"from table "</span>+<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="color: #ff0000;">"where id = 667&nbsp; for update"</span><span style="color:#008800; font-weight:bold;">&#41;</span>;<br />
rs.<span style="color: #006600;">next</span><span style="color:#008800; font-weight:bold;">&#40;</span><span style="color:#008800; font-weight:bold;">&#41;</span>;<br />
<a href="http://www.google.com/search?q=allinurl%3Aclob+java.sun.com&#038;bntl=1"><span style="color:#666699; font-weight: bold;">Clob</span></a> c = rs.<span style="color: #006600;">getClob</span><span style="color:#008800; font-weight:bold;">&#40;</span><span style="color:#800000;">1</span><span style="color:#008800; font-weight:bold;">&#41;</span>;<br />
<span style="color:#FF6600;">//and finally - this is it!&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><br />
<span style="color:#008800; font-weight:bold;">&#40;</span><span style="color:#008800; font-weight:bold;">&#40;</span>oracle.<span style="color: #006600;">sql</span>.<span style="color: #006600;">CLOB</span><span style="color:#008800; font-weight:bold;">&#41;</span>c<span style="color:#008800; font-weight:bold;">&#41;</span>.<span style="color: #006600;">putString</span><span style="color:#008800; font-weight:bold;">&#40;</span><span style="color:#800000;">1</span>, <span style="color: #ff0000;">"OMG"</span><span style="color:#008800; font-weight:bold;">&#41;</span>;<br />
<span style="color:#FF6600;">//commit the whole thing&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </span><br />
conn.<span style="color: #006600;">commit</span><span style="color:#008800; font-weight:bold;">&#40;</span><span style="color:#008800; font-weight:bold;">&#41;</span>;<br />
&nbsp;</div>
	</div>
</div>
	<p>So much fun...
</p>
]]></content:encoded>
			<wfw:commentRSS>http://www.hazelsoft.com/2005/05/28/one-of-the-reasons-i-dont-like-oracle/feed/</wfw:commentRSS>
	</item>
	</channel>
</rss>
