<?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 on: First Hibernate Tutorial –Get Hands on Experience -Part I</title>
	<atom:link href="http://www.skill-guru.com/blog/2009/08/05/first-hibernate-tutorial-%e2%80%93get-hands-on-experience/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.skill-guru.com/blog/2009/08/05/first-hibernate-tutorial-%e2%80%93get-hands-on-experience/</link>
	<description>Find free mock and practice test, create and sell tests</description>
	<lastBuildDate>Fri, 03 Feb 2012 01:03:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kirill</title>
		<link>http://www.skill-guru.com/blog/2009/08/05/first-hibernate-tutorial-%e2%80%93get-hands-on-experience/comment-page-1/#comment-10479</link>
		<dc:creator>Kirill</dc:creator>
		<pubDate>Sun, 18 Dec 2011 16:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=259#comment-10479</guid>
		<description>Hi.
I created a project as described in this tutorial.
When I run it, I get &quot;/hibernate.cfg.xml not found&quot;.
What is missing?
I understand it  should be in the classpath.
What I don&#039;t understand is how to accomplish this.
It is under &quot;src&quot; directory is compiled into the classes directory. I thought that should do it for the classpath thing. What is missing?
Thank you.
Kirill.</description>
		<content:encoded><![CDATA[<p>Hi.<br />
I created a project as described in this tutorial.<br />
When I run it, I get &#8220;/hibernate.cfg.xml not found&#8221;.<br />
What is missing?<br />
I understand it  should be in the classpath.<br />
What I don&#8217;t understand is how to accomplish this.<br />
It is under &#8220;src&#8221; directory is compiled into the classes directory. I thought that should do it for the classpath thing. What is missing?<br />
Thank you.<br />
Kirill.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dharmendra Bhuva</title>
		<link>http://www.skill-guru.com/blog/2009/08/05/first-hibernate-tutorial-%e2%80%93get-hands-on-experience/comment-page-1/#comment-10478</link>
		<dc:creator>Dharmendra Bhuva</dc:creator>
		<pubDate>Sun, 18 Dec 2011 14:51:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=259#comment-10478</guid>
		<description>i am trying this code but it giving me error as given below..


126 [main] INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.2.0.Final
133 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.6.8.Final
134 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
138 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
141 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
201 [main] INFO org.hibernate.cfg.Configuration - configuring from resource: /hibernate.cfg.xml
201 [main] INFO org.hibernate.cfg.Configuration - Configuration resource: /hibernate.cfg.xml
251 [main] WARN org.hibernate.util.DTDEntityResolver - recognized obsolete hibernate namespace http://hibernate.sourceforge.net/. Use namespace http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6 Migration Guide!
272 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: /hibernate.cfg.xml(8) Attribute &quot;name&quot; is required and must be specified for element type &quot;property&quot;.
277 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: /hibernate.cfg.xml(9) Attribute &quot;name&quot; is required and must be specified for element type &quot;property&quot;.
277 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: /hibernate.cfg.xml(10) Attribute &quot;name&quot; is required and must be specified for element type &quot;property&quot;.
278 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: /hibernate.cfg.xml(11) Attribute &quot;name&quot; is required and must be specified for element type &quot;property&quot;.
278 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: /hibernate.cfg.xml(12) Attribute &quot;name&quot; is required and must be specified for element type &quot;property&quot;.
278 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: /hibernate.cfg.xml(13) Attribute &quot;name&quot; is required and must be specified for element type &quot;property&quot;.
279 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: /hibernate.cfg.xml(14) Attribute &quot;name&quot; is required and must be specified for element type &quot;property&quot;.
279 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: /hibernate.cfg.xml(15) Attribute &quot;name&quot; is required and must be specified for element type &quot;property&quot;.
280 [main] ERROR org.hibernate.util.XMLHelper - Error parsing XML: /hibernate.cfg.xml(16) The content of elements must consist of well-formed character data or markup.
Exception in thread &quot;main&quot; java.lang.NullPointerException
	at MyExample.main(MyExample.java:28)
Could not parse configuration: /hibernate.cfg.xml


please suggest.</description>
		<content:encoded><![CDATA[<p>i am trying this code but it giving me error as given below..</p>
<p>126 [main] INFO org.hibernate.annotations.common.Version &#8211; Hibernate Commons Annotations 3.2.0.Final<br />
133 [main] INFO org.hibernate.cfg.Environment &#8211; Hibernate 3.6.8.Final<br />
134 [main] INFO org.hibernate.cfg.Environment &#8211; hibernate.properties not found<br />
138 [main] INFO org.hibernate.cfg.Environment &#8211; Bytecode provider name : javassist<br />
141 [main] INFO org.hibernate.cfg.Environment &#8211; using JDK 1.4 java.sql.Timestamp handling<br />
201 [main] INFO org.hibernate.cfg.Configuration &#8211; configuring from resource: /hibernate.cfg.xml<br />
201 [main] INFO org.hibernate.cfg.Configuration &#8211; Configuration resource: /hibernate.cfg.xml<br />
251 [main] WARN org.hibernate.util.DTDEntityResolver &#8211; recognized obsolete hibernate namespace <a href="http://hibernate.sourceforge.net/" rel="nofollow">http://hibernate.sourceforge.net/</a>. Use namespace <a href="http://www.hibernate.org/dtd/" rel="nofollow">http://www.hibernate.org/dtd/</a> instead. Refer to Hibernate 3.6 Migration Guide!<br />
272 [main] ERROR org.hibernate.util.XMLHelper &#8211; Error parsing XML: /hibernate.cfg.xml(8) Attribute &#8220;name&#8221; is required and must be specified for element type &#8220;property&#8221;.<br />
277 [main] ERROR org.hibernate.util.XMLHelper &#8211; Error parsing XML: /hibernate.cfg.xml(9) Attribute &#8220;name&#8221; is required and must be specified for element type &#8220;property&#8221;.<br />
277 [main] ERROR org.hibernate.util.XMLHelper &#8211; Error parsing XML: /hibernate.cfg.xml(10) Attribute &#8220;name&#8221; is required and must be specified for element type &#8220;property&#8221;.<br />
278 [main] ERROR org.hibernate.util.XMLHelper &#8211; Error parsing XML: /hibernate.cfg.xml(11) Attribute &#8220;name&#8221; is required and must be specified for element type &#8220;property&#8221;.<br />
278 [main] ERROR org.hibernate.util.XMLHelper &#8211; Error parsing XML: /hibernate.cfg.xml(12) Attribute &#8220;name&#8221; is required and must be specified for element type &#8220;property&#8221;.<br />
278 [main] ERROR org.hibernate.util.XMLHelper &#8211; Error parsing XML: /hibernate.cfg.xml(13) Attribute &#8220;name&#8221; is required and must be specified for element type &#8220;property&#8221;.<br />
279 [main] ERROR org.hibernate.util.XMLHelper &#8211; Error parsing XML: /hibernate.cfg.xml(14) Attribute &#8220;name&#8221; is required and must be specified for element type &#8220;property&#8221;.<br />
279 [main] ERROR org.hibernate.util.XMLHelper &#8211; Error parsing XML: /hibernate.cfg.xml(15) Attribute &#8220;name&#8221; is required and must be specified for element type &#8220;property&#8221;.<br />
280 [main] ERROR org.hibernate.util.XMLHelper &#8211; Error parsing XML: /hibernate.cfg.xml(16) The content of elements must consist of well-formed character data or markup.<br />
Exception in thread &#8220;main&#8221; java.lang.NullPointerException<br />
	at MyExample.main(MyExample.java:28)<br />
Could not parse configuration: /hibernate.cfg.xml</p>
<p>please suggest.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swathi</title>
		<link>http://www.skill-guru.com/blog/2009/08/05/first-hibernate-tutorial-%e2%80%93get-hands-on-experience/comment-page-1/#comment-10319</link>
		<dc:creator>swathi</dc:creator>
		<pubDate>Wed, 13 Jul 2011 19:49:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=259#comment-10319</guid>
		<description>very nice article! great for a beginner! gives a fantastic overview!!!</description>
		<content:encoded><![CDATA[<p>very nice article! great for a beginner! gives a fantastic overview!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keith</title>
		<link>http://www.skill-guru.com/blog/2009/08/05/first-hibernate-tutorial-%e2%80%93get-hands-on-experience/comment-page-1/#comment-9909</link>
		<dc:creator>Keith</dc:creator>
		<pubDate>Sun, 20 Mar 2011 19:39:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=259#comment-9909</guid>
		<description>Great artical, but Persisting Class cannot read.
Meanwhile I found some nice article for hibernate beginners.
&lt;a href=&quot;http://blog.sencide.com/2011/03/hibernate-tutorial-for-beginners.html&quot; rel=&quot;nofollow&quot;&gt;&lt;b&gt;Hibernate Tutorial for Beginners&lt;/b&gt;&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Great artical, but Persisting Class cannot read.<br />
Meanwhile I found some nice article for hibernate beginners.<br />
<a href="http://blog.sencide.com/2011/03/hibernate-tutorial-for-beginners.html" rel="nofollow"><b>Hibernate Tutorial for Beginners</b></a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WebDev</title>
		<link>http://www.skill-guru.com/blog/2009/08/05/first-hibernate-tutorial-%e2%80%93get-hands-on-experience/comment-page-1/#comment-9458</link>
		<dc:creator>WebDev</dc:creator>
		<pubDate>Mon, 17 Jan 2011 08:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=259#comment-9458</guid>
		<description>Hi,

Excellent Post. Plz write something on Hibernate One-TO-One, One-To-Many, Many-To-Many Relations.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Excellent Post. Plz write something on Hibernate One-TO-One, One-To-Many, Many-To-Many Relations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josuva</title>
		<link>http://www.skill-guru.com/blog/2009/08/05/first-hibernate-tutorial-%e2%80%93get-hands-on-experience/comment-page-1/#comment-8625</link>
		<dc:creator>Josuva</dc:creator>
		<pubDate>Wed, 06 Oct 2010 14:45:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=259#comment-8625</guid>
		<description>As a begginer it &#039;s very useful for me</description>
		<content:encoded><![CDATA[<p>As a begginer it &#8217;s very useful for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amit</title>
		<link>http://www.skill-guru.com/blog/2009/08/05/first-hibernate-tutorial-%e2%80%93get-hands-on-experience/comment-page-1/#comment-3640</link>
		<dc:creator>Amit</dc:creator>
		<pubDate>Wed, 21 Jul 2010 12:54:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=259#comment-3640</guid>
		<description>realy very nice........ It&#039;s very helpful to me to get an idea at a glance. Thanks for posting.... !!!</description>
		<content:encoded><![CDATA[<p>realy very nice&#8230;&#8230;.. It&#8217;s very helpful to me to get an idea at a glance. Thanks for posting&#8230;. !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: youze</title>
		<link>http://www.skill-guru.com/blog/2009/08/05/first-hibernate-tutorial-%e2%80%93get-hands-on-experience/comment-page-1/#comment-2993</link>
		<dc:creator>youze</dc:creator>
		<pubDate>Tue, 25 May 2010 09:22:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=259#comment-2993</guid>
		<description>I tried using the transaction. but eclipse does not recognize transaction. how to overcome this?</description>
		<content:encoded><![CDATA[<p>I tried using the transaction. but eclipse does not recognize transaction. how to overcome this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bala</title>
		<link>http://www.skill-guru.com/blog/2009/08/05/first-hibernate-tutorial-%e2%80%93get-hands-on-experience/comment-page-1/#comment-2430</link>
		<dc:creator>Bala</dc:creator>
		<pubDate>Fri, 30 Apr 2010 04:44:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=259#comment-2430</guid>
		<description>While running the above example in eclipse, i&#039;m getting the following error

_------------------------------------------------------------------------------------------
Exception in thread &quot;main&quot; java.lang.ExceptionInInitializerError
	at MyExample.main(MyExample.java:10)
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException))
	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
	at org.hibernate.cfg.Configuration.(Configuration.java:110)
	... 1 more
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException)
	at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
	... 5 more
Caused by: java.lang.NullPointerException
	at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374)
	... 6 more
-------------------------------------------------------------------------------------------

And i hae made some changes in the cfg.xml and find below my configuration file.
I have used &quot;sun.jdbc.odbc.JdbcOdbcDriver&quot; instead of &quot;com.mysql.jdbc.Driver&quot;
--------------------------------------------------------





sun.jdbc.odbc.JdbcOdbcDriver
jdbc:odbc:Connect
sa
sa
10
true
org.hibernate.dialect.SQLServerDialect
 update




------------------------------------------------

I have kept all the files(2 xml and 2 java) in the same path.

Could any one help me in sort this?</description>
		<content:encoded><![CDATA[<p>While running the above example in eclipse, i&#8217;m getting the following error</p>
<p>_&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Exception in thread &#8220;main&#8221; java.lang.ExceptionInInitializerError<br />
	at MyExample.main(MyExample.java:10)<br />
Caused by: org.apache.commons.logging.LogConfigurationException: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException) (Caused by org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException))<br />
	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)<br />
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)<br />
	at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)<br />
	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)<br />
	at org.hibernate.cfg.Configuration.(Configuration.java:110)<br />
	&#8230; 1 more<br />
Caused by: org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused by java.lang.NullPointerException)<br />
	at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)<br />
	at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)<br />
	&#8230; 5 more<br />
Caused by: java.lang.NullPointerException<br />
	at org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374)<br />
	&#8230; 6 more<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>And i hae made some changes in the cfg.xml and find below my configuration file.<br />
I have used &#8220;sun.jdbc.odbc.JdbcOdbcDriver&#8221; instead of &#8220;com.mysql.jdbc.Driver&#8221;<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>sun.jdbc.odbc.JdbcOdbcDriver<br />
jdbc:odbc:Connect<br />
sa<br />
sa<br />
10<br />
true<br />
org.hibernate.dialect.SQLServerDialect<br />
 update</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>I have kept all the files(2 xml and 2 java) in the same path.</p>
<p>Could any one help me in sort this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinay</title>
		<link>http://www.skill-guru.com/blog/2009/08/05/first-hibernate-tutorial-%e2%80%93get-hands-on-experience/comment-page-1/#comment-1368</link>
		<dc:creator>Vinay</dc:creator>
		<pubDate>Thu, 18 Mar 2010 14:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.skill-guru.com/blog/?p=259#comment-1368</guid>
		<description>Thank yo Mr wizard. I am glad it helped you and you liked it. We have some other very goo tutorials around JPA and Spring. If you are looking for anything specific ,do let us know.</description>
		<content:encoded><![CDATA[<p>Thank yo Mr wizard. I am glad it helped you and you liked it. We have some other very goo tutorials around JPA and Spring. If you are looking for anything specific ,do let us know.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

