<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for StudyJava.org</title>
	<atom:link href="http://studyjava.org/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://studyjava.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Thu, 15 Mar 2012 13:22:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>Comment on BSNL Data Card by SOHAN</title>
		<link>http://studyjava.org/general/bsnl-data-card/comment-page-1#comment-412</link>
		<dc:creator>SOHAN</dc:creator>
		<pubDate>Thu, 15 Mar 2012 13:22:08 +0000</pubDate>
		<guid isPermaLink="false">http://studyjava.org/?p=145#comment-412</guid>
		<description>BUY ANDRIOD TABLET MOBILE IN PANIPAT PLEASE CONTACT 9253125203</description>
		<content:encoded><![CDATA[<p>BUY ANDRIOD TABLET MOBILE IN PANIPAT PLEASE CONTACT 9253125203</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Convert String to Blob and Blob to String by Geethu</title>
		<link>http://studyjava.org/client-side-scripts/convert-string-to-blob-and-blob-to-string/comment-page-1#comment-411</link>
		<dc:creator>Geethu</dc:creator>
		<pubDate>Thu, 08 Mar 2012 04:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://studyjava.org/?p=313#comment-411</guid>
		<description>I am getting an exception when I use this code .

package com.cms.model;
import org.hibernate.*;
import java.sql.*;
import java.sql.SQLException;

public class blob_to_string {
	public static void main(String args[]){
		
                String data = &quot;hello world&quot;;
		Blob blob = Hibernate.createBlob(data.getBytes());
		
		byte[] bdata;
		try {
			bdata = blob.getBytes(1, (int)blob.length());
			String data1 = new String(bdata);
			System.out.println(data1);
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			System.out.println(&quot;ERROR&quot;);
			e.printStackTrace();
		}
	}

}


Exception in thread &quot;main&quot; java.lang.UnsupportedOperationException: Blob may not be manipulated from creating session
at org.hibernate.lob.BlobImpl.excep(BlobImpl.java:104)
	at org.hibernate.lob.BlobImpl.getBytes(BlobImpl.java:50)
	at org.hibernate.lob.SerializableBlob.getBytes(SerializableBlob.java:69)
	at com.cms.model.blob_to_string.main(blob_to_string.java:15)</description>
		<content:encoded><![CDATA[<p>I am getting an exception when I use this code .</p>
<p>package com.cms.model;<br />
import org.hibernate.*;<br />
import java.sql.*;<br />
import java.sql.SQLException;</p>
<p>public class blob_to_string {<br />
	public static void main(String args[]){</p>
<p>                String data = &#8220;hello world&#8221;;<br />
		Blob blob = Hibernate.createBlob(data.getBytes());</p>
<p>		byte[] bdata;<br />
		try {<br />
			bdata = blob.getBytes(1, (int)blob.length());<br />
			String data1 = new String(bdata);<br />
			System.out.println(data1);<br />
		} catch (SQLException e) {<br />
			// TODO Auto-generated catch block<br />
			System.out.println(&#8220;ERROR&#8221;);<br />
			e.printStackTrace();<br />
		}<br />
	}</p>
<p>}</p>
<p>Exception in thread &#8220;main&#8221; java.lang.UnsupportedOperationException: Blob may not be manipulated from creating session<br />
at org.hibernate.lob.BlobImpl.excep(BlobImpl.java:104)<br />
	at org.hibernate.lob.BlobImpl.getBytes(BlobImpl.java:50)<br />
	at org.hibernate.lob.SerializableBlob.getBytes(SerializableBlob.java:69)<br />
	at com.cms.model.blob_to_string.main(blob_to_string.java:15)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Java Magic Number by Somilan Ganguly</title>
		<link>http://studyjava.org/general/java-magic-number/comment-page-1#comment-409</link>
		<dc:creator>Somilan Ganguly</dc:creator>
		<pubDate>Thu, 23 Feb 2012 13:38:06 +0000</pubDate>
		<guid isPermaLink="false">http://studyjava.org/?p=306#comment-409</guid>
		<description>I&#039;ve always used the term &quot;magic number&quot; differently, as an obscure value stored within a data structure which can be verified as a quick validity check. For example gzip files contain 0x1f8b08 as their first three bytes, Java class files start with 0xcafebabe, etc.

You often see magic numbers embedded in file formats, because files can be sent around rather promiscuously and lose any metadata about how they were created. However magic numbers are also sometimes used for in-memory data structures, like ioctl() calls.

A quick check of the magic number before processing the file or data structure allows one to signal errors early, rather than schlep all the way through potentially lengthy processing in order to announce that the input was complete balderdash.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve always used the term &#8220;magic number&#8221; differently, as an obscure value stored within a data structure which can be verified as a quick validity check. For example gzip files contain 0x1f8b08 as their first three bytes, Java class files start with 0xcafebabe, etc.</p>
<p>You often see magic numbers embedded in file formats, because files can be sent around rather promiscuously and lose any metadata about how they were created. However magic numbers are also sometimes used for in-memory data structures, like ioctl() calls.</p>
<p>A quick check of the magic number before processing the file or data structure allows one to signal errors early, rather than schlep all the way through potentially lengthy processing in order to announce that the input was complete balderdash.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on BSNL Data Card by sohan</title>
		<link>http://studyjava.org/general/bsnl-data-card/comment-page-1#comment-406</link>
		<dc:creator>sohan</dc:creator>
		<pubDate>Sat, 04 Feb 2012 14:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://studyjava.org/?p=145#comment-406</guid>
		<description>BUY DATA CARD FOR ANDROID TABLET /PC/TAB MY CELL NO IS 9253125203</description>
		<content:encoded><![CDATA[<p>BUY DATA CARD FOR ANDROID TABLET /PC/TAB MY CELL NO IS 9253125203</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Linux OS by Julian</title>
		<link>http://studyjava.org/general/types-of-linux-os/comment-page-1#comment-405</link>
		<dc:creator>Julian</dc:creator>
		<pubDate>Wed, 01 Feb 2012 07:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://studyjava.org/?p=295#comment-405</guid>
		<description>sweet info about Linux,i&#039;m now moving into it for control,programming and automation purposes though i need some help,is the SUSE Linux user friendly?does it have much of the graphical user interface?</description>
		<content:encoded><![CDATA[<p>sweet info about Linux,i&#8217;m now moving into it for control,programming and automation purposes though i need some help,is the SUSE Linux user friendly?does it have much of the graphical user interface?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on BSNL Data Card by Pradeep</title>
		<link>http://studyjava.org/general/bsnl-data-card/comment-page-1#comment-403</link>
		<dc:creator>Pradeep</dc:creator>
		<pubDate>Tue, 24 Jan 2012 16:00:24 +0000</pubDate>
		<guid isPermaLink="false">http://studyjava.org/?p=145#comment-403</guid>
		<description>I am from orissa, puri. I want to buy a bsnl data card with unlimited plans. If any one can help me so please call me in this nos MOB : 9692196244</description>
		<content:encoded><![CDATA[<p>I am from orissa, puri. I want to buy a bsnl data card with unlimited plans. If any one can help me so please call me in this nos MOB : 9692196244</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Linux OS by saurabh bhurle</title>
		<link>http://studyjava.org/general/types-of-linux-os/comment-page-1#comment-402</link>
		<dc:creator>saurabh bhurle</dc:creator>
		<pubDate>Wed, 11 Jan 2012 06:20:05 +0000</pubDate>
		<guid isPermaLink="false">http://studyjava.org/?p=295#comment-402</guid>
		<description>I like this fedora operating system
and like the all linux operating system</description>
		<content:encoded><![CDATA[<p>I like this fedora operating system<br />
and like the all linux operating system</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Linux OS by pardeep</title>
		<link>http://studyjava.org/general/types-of-linux-os/comment-page-1#comment-401</link>
		<dc:creator>pardeep</dc:creator>
		<pubDate>Sat, 07 Jan 2012 05:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://studyjava.org/?p=295#comment-401</guid>
		<description>thankc lot to providing us the knowledge about the linux types ,,,,,,,,
please giving the ans of my question.
if we install the windows OS Xp and ubuntu operating system on same pc, then which is the best option, first to install on same drive or second to install on different drives ??........what is the  problems facing when used anyone option ??.....any problem user need can be  face, when install on the same drive in same computer ??........................</description>
		<content:encoded><![CDATA[<p>thankc lot to providing us the knowledge about the linux types ,,,,,,,,<br />
please giving the ans of my question.<br />
if we install the windows OS Xp and ubuntu operating system on same pc, then which is the best option, first to install on same drive or second to install on different drives ??&#8230;&#8230;..what is the  problems facing when used anyone option ??&#8230;..any problem user need can be  face, when install on the same drive in same computer ??&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Linux OS by amit</title>
		<link>http://studyjava.org/general/types-of-linux-os/comment-page-1#comment-400</link>
		<dc:creator>amit</dc:creator>
		<pubDate>Thu, 15 Dec 2011 15:29:26 +0000</pubDate>
		<guid isPermaLink="false">http://studyjava.org/?p=295#comment-400</guid>
		<description>hi, can any one help me regarding, actually i am using Ubuntu Linux distribution, but  now i have forgot the password, what should i do?</description>
		<content:encoded><![CDATA[<p>hi, can any one help me regarding, actually i am using Ubuntu Linux distribution, but  now i have forgot the password, what should i do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Types of Linux OS by Your Mom</title>
		<link>http://studyjava.org/general/types-of-linux-os/comment-page-1#comment-399</link>
		<dc:creator>Your Mom</dc:creator>
		<pubDate>Sat, 03 Dec 2011 00:20:11 +0000</pubDate>
		<guid isPermaLink="false">http://studyjava.org/?p=295#comment-399</guid>
		<description>Sorry for the name..Lawl.
Anyways I completely agree with the information provided. The only thing you should&#039;ve mentioned was in RedHat Linux. It is considered &quot;Freeware&quot;, but the branding just provides long term support and a fancy box. You can search the web for the parts of RedHat, but overall Ubuntu is the best either way.
Nice job!</description>
		<content:encoded><![CDATA[<p>Sorry for the name..Lawl.<br />
Anyways I completely agree with the information provided. The only thing you should&#8217;ve mentioned was in RedHat Linux. It is considered &#8220;Freeware&#8221;, but the branding just provides long term support and a fancy box. You can search the web for the parts of RedHat, but overall Ubuntu is the best either way.<br />
Nice job!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
