<?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: Spring &#8211; Hibernate &#8211; JAX-RS Putting Hibernate to REST</title>
	<atom:link href="http://raulraja.com/2009/08/27/spring-hibernate-jax-rs-putting-hibernate-to-rest/feed/" rel="self" type="application/rss+xml" />
	<link>http://raulraja.com/2009/08/27/spring-hibernate-jax-rs-putting-hibernate-to-rest/</link>
	<description>About software dev and more</description>
	<lastBuildDate>Fri, 27 Apr 2012 10:07:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Raul Raja</title>
		<link>http://raulraja.com/2009/08/27/spring-hibernate-jax-rs-putting-hibernate-to-rest/comment-page-1/#comment-537</link>
		<dc:creator>Raul Raja</dc:creator>
		<pubDate>Sat, 19 May 2012 03:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=383#comment-537</guid>
		<description>@priya, the hibernate template should not be null as it is an explicitly wired dependency in the example which is configured via xml in the applicationContext. This example is quite old though and if implemented today I would use the new MVC JSON and XML converters instead of JaxRS and a more abstract layer not dependent in Hibernate / JPA</description>
		<content:encoded><![CDATA[<p>@priya, the hibernate template should not be null as it is an explicitly wired dependency in the example which is configured via xml in the applicationContext. This example is quite old though and if implemented today I would use the new MVC JSON and XML converters instead of JaxRS and a more abstract layer not dependent in Hibernate / JPA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: priya</title>
		<link>http://raulraja.com/2009/08/27/spring-hibernate-jax-rs-putting-hibernate-to-rest/comment-page-1/#comment-536</link>
		<dc:creator>priya</dc:creator>
		<pubDate>Sat, 19 May 2012 23:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=383#comment-536</guid>
		<description>my getHibernateTemplate() is somin null.What could be the probable reason?</description>
		<content:encoded><![CDATA[<p>my getHibernateTemplate() is somin null.What could be the probable reason?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raul Raja</title>
		<link>http://raulraja.com/2009/08/27/spring-hibernate-jax-rs-putting-hibernate-to-rest/comment-page-1/#comment-486</link>
		<dc:creator>Raul Raja</dc:creator>
		<pubDate>Sat, 19 May 2012 11:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=383#comment-486</guid>
		<description>Hi Bruno, All the tutorials share a common parent that includes the most common dependencies.
If you get the full source tree with svn checkout http://raulrajatutorials.googlecode.com/svn/trunk/ raulrajatutorials-read-only you will be able to build the individual tutorials since the parent pom will be included. If you prefer not to do that you can just remove the parent dependency from your pom and manually add the dependencies to your project or tutorial folder.</description>
		<content:encoded><![CDATA[<p>Hi Bruno, All the tutorials share a common parent that includes the most common dependencies.<br />
If you get the full source tree with svn checkout <a href="http://raulrajatutorials.googlecode.com/svn/trunk/" rel="nofollow">http://raulrajatutorials.googlecode.com/svn/trunk/</a> raulrajatutorials-read-only you will be able to build the individual tutorials since the parent pom will be included. If you prefer not to do that you can just remove the parent dependency from your pom and manually add the dependencies to your project or tutorial folder.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruno</title>
		<link>http://raulraja.com/2009/08/27/spring-hibernate-jax-rs-putting-hibernate-to-rest/comment-page-1/#comment-485</link>
		<dc:creator>Bruno</dc:creator>
		<pubDate>Sat, 19 May 2012 11:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=383#comment-485</guid>
		<description>Hi Raul!

I have this error on my pom.xml

Project build error: Non-resolvable parent POM: Failure to find com.raulraja:tutorials:pom:0.1 in http://repo1.maven.org/maven2 was 
 cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced 
 and &#039;parent.relativePath&#039; points at wrong local POM

Don´t know how to solve this one. Any help?</description>
		<content:encoded><![CDATA[<p>Hi Raul!</p>
<p>I have this error on my pom.xml</p>
<p>Project build error: Non-resolvable parent POM: Failure to find com.raulraja:tutorials:pom:0.1 in <a href="http://repo1.maven.org/maven2" rel="nofollow">http://repo1.maven.org/maven2</a> was<br />
 cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced<br />
 and &#8216;parent.relativePath&#8217; points at wrong local POM</p>
<p>Don´t know how to solve this one. Any help?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raul Raja</title>
		<link>http://raulraja.com/2009/08/27/spring-hibernate-jax-rs-putting-hibernate-to-rest/comment-page-1/#comment-464</link>
		<dc:creator>Raul Raja</dc:creator>
		<pubDate>Sat, 19 May 2012 02:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=383#comment-464</guid>
		<description>It&#039;s on the youtube video on the post. A little blurry... but if you go fullscreen you&#039;ll see multiple sample urls and ways to get to your data</description>
		<content:encoded><![CDATA[<p>It&#8217;s on the youtube video on the post. A little blurry&#8230; but if you go fullscreen you&#8217;ll see multiple sample urls and ways to get to your data</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anil</title>
		<link>http://raulraja.com/2009/08/27/spring-hibernate-jax-rs-putting-hibernate-to-rest/comment-page-1/#comment-463</link>
		<dc:creator>Anil</dc:creator>
		<pubDate>Sat, 19 May 2012 02:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=383#comment-463</guid>
		<description>Cool, got the app running with MySQL. How can I submit reuest to, any sample url or xml payload request. How to test in RestClient.</description>
		<content:encoded><![CDATA[<p>Cool, got the app running with MySQL. How can I submit reuest to, any sample url or xml payload request. How to test in RestClient.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raul Raja</title>
		<link>http://raulraja.com/2009/08/27/spring-hibernate-jax-rs-putting-hibernate-to-rest/comment-page-1/#comment-462</link>
		<dc:creator>Raul Raja</dc:creator>
		<pubDate>Sat, 19 May 2012 11:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=383#comment-462</guid>
		<description>Anil, the sessionFactory and datasource beans declared on the spring configuration that I posted contain all the properties that you can change to use any db you wish. Also the sessionFactory contains prop key=&quot;hibernate.hbm2ddl.auto&quot; set to &quot;update&quot; which will create the schema automatically for you. You just need to create a db with whatever name you want and the tables and columns will be created automatically</description>
		<content:encoded><![CDATA[<p>Anil, the sessionFactory and datasource beans declared on the spring configuration that I posted contain all the properties that you can change to use any db you wish. Also the sessionFactory contains prop key=&#8221;hibernate.hbm2ddl.auto&#8221; set to &#8220;update&#8221; which will create the schema automatically for you. You just need to create a db with whatever name you want and the tables and columns will be created automatically</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anil</title>
		<link>http://raulraja.com/2009/08/27/spring-hibernate-jax-rs-putting-hibernate-to-rest/comment-page-1/#comment-461</link>
		<dc:creator>Anil</dc:creator>
		<pubDate>Sat, 19 May 2012 06:50:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=383#comment-461</guid>
		<description>please can you attach tutorials schema/database sql file so that we can use MySQL/HSQLDB to connfigure and run the app.</description>
		<content:encoded><![CDATA[<p>please can you attach tutorials schema/database sql file so that we can use MySQL/HSQLDB to connfigure and run the app.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor Burton</title>
		<link>http://raulraja.com/2009/08/27/spring-hibernate-jax-rs-putting-hibernate-to-rest/comment-page-1/#comment-447</link>
		<dc:creator>Trevor Burton</dc:creator>
		<pubDate>Sat, 19 May 2012 04:35:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=383#comment-447</guid>
		<description>thanks raul - i tried adding the namespace but got the same result - i&#039;ll take another look this afternoon and get back to you if i find anything new.</description>
		<content:encoded><![CDATA[<p>thanks raul &#8211; i tried adding the namespace but got the same result &#8211; i&#8217;ll take another look this afternoon and get back to you if i find anything new.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raul Raja</title>
		<link>http://raulraja.com/2009/08/27/spring-hibernate-jax-rs-putting-hibernate-to-rest/comment-page-1/#comment-446</link>
		<dc:creator>Raul Raja</dc:creator>
		<pubDate>Sat, 19 May 2012 01:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://raulraja.com/?p=383#comment-446</guid>
		<description>I see no namespaces. My guess is that you are missing the namespaces and it does not know what entity your xml belongs to. If you look at the video above they&#039;re usually prefixed as ns2:person. Try hitting your service with a browser and look in the source code view the xml that it outputs, you should be able to use the same as input for an entity given an id. Also I recommend you use restclient for testing http://code.google.com/p/rest-client/ until you get your service working instead of flash as it may include headers or stuff in the request that may confuse cxf</description>
		<content:encoded><![CDATA[<p>I see no namespaces. My guess is that you are missing the namespaces and it does not know what entity your xml belongs to. If you look at the video above they&#8217;re usually prefixed as ns2:person. Try hitting your service with a browser and look in the source code view the xml that it outputs, you should be able to use the same as input for an entity given an id. Also I recommend you use restclient for testing <a href="http://code.google.com/p/rest-client/" rel="nofollow">http://code.google.com/p/rest-client/</a> until you get your service working instead of flash as it may include headers or stuff in the request that may confuse cxf</p>
]]></content:encoded>
	</item>
</channel>
</rss>

