<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>GrassField &#187; hibernate</title>
	<atom:link href="http://blog.grassfield.org/category/hibernate/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.grassfield.org</link>
	<description>Classroom notes on Java SE, EE &#38; ME</description>
	<lastBuildDate>Fri, 02 Jul 2010 06:29:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>a different object with the same identifier value was already associated with the session</title>
		<link>http://blog.grassfield.org/2010/05/14/a-different-object-with-the-same-identifier-value-was-already-associated-with-the-session/</link>
		<comments>http://blog.grassfield.org/2010/05/14/a-different-object-with-the-same-identifier-value-was-already-associated-with-the-session/#comments</comments>
		<pubDate>Fri, 14 May 2010 15:18:54 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[hibernate]]></category>

		<guid isPermaLink="false">http://blog.grassfield.org/?p=316</guid>
		<description><![CDATA[This is purely a Hibernate problem. I have one to many relationship between tables. Mapping table c contains the relations between table a and table b. When I try to save a new object in a, which has a set of b objects (All those b objects are already existing), I got an Hibernate exception [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2010/05/14/a-different-object-with-the-same-identifier-value-was-already-associated-with-the-session/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JDBCExceptionReporter:77 &#8211; SQL Error: 0, SQLState: 08S01</title>
		<link>http://blog.grassfield.org/2010/05/11/jdbcexceptionreporter77-sql-error-0-sqlstate-08s01/</link>
		<comments>http://blog.grassfield.org/2010/05/11/jdbcexceptionreporter77-sql-error-0-sqlstate-08s01/#comments</comments>
		<pubDate>Tue, 11 May 2010 07:42:07 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[Errors]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[Software caused connection abort: socket write error]]></category>
		<category><![CDATA[SQLState: 08S01]]></category>

		<guid isPermaLink="false">http://blog.grassfield.org/?p=309</guid>
		<description><![CDATA[I have a scheduled job running with spring beans. It is scheduled such that it will run once in a day. Whenever I restart the webapp, it is running for the first day. but on the second day onwards, it is not running &#8211; quits with the below exception   Seems to be an [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2010/05/11/jdbcexceptionreporter77-sql-error-0-sqlstate-08s01/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Could not reset reader &#8211; while using BLOB</title>
		<link>http://blog.grassfield.org/2010/04/29/could-not-reset-reader-while-using-blob/</link>
		<comments>http://blog.grassfield.org/2010/04/29/could-not-reset-reader-while-using-blob/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 13:21:26 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[hibernate]]></category>
		<category><![CDATA[BLOB]]></category>

		<guid isPermaLink="false">http://blog.grassfield.org/?p=289</guid>
		<description><![CDATA[I have an POJO entity object which has two blob properties in  it. The first property is nothing but string.
license.setViewCert(Hibernate.createBlob(sb.toString().getBytes()));
the  second blob is a file stream
FileInputStream fileInputStream = new  FileInputStream(file);
license.setLicenseFile(Hibernate.createBlob(fileInputStream));  //no lines beyond this
When I save this object using the  method
@Transactional
 public void save(Object  entity){
 logger.info("Saving object:"+entity);
 HibernateTemplate hibernateTemplate [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2010/04/29/could-not-reset-reader-while-using-blob/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>one-to-many in Hibernate</title>
		<link>http://blog.grassfield.org/2010/04/28/one-to-many-in-hibernate/</link>
		<comments>http://blog.grassfield.org/2010/04/28/one-to-many-in-hibernate/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 05:43:33 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[hibernate]]></category>
		<category><![CDATA[one-to-many]]></category>

		<guid isPermaLink="false">http://blog.grassfield.org/?p=284</guid>
		<description><![CDATA[I am re-factoring one of the internal applications, so that the development can be module based. So my schema has unique module names which has n number of menu items; one-to-many! Here is my hibernate mapping.
&#60;class name="com.eginnovations.common.entity.Module" table="MODULE_INFO"&#62;
 &#60;id column="ID" name="id" type="java.lang.Long"&#62;
 &#60;generator /&#62;
 &#60;/id&#62;
 &#60;property name="moduleName" column="MODULE_NAME" type="java.lang.String"/&#62;
 &#60;property name="enabled" column="ENABLED" type="java.lang.Boolean"/&#62;
 &#60;set name="menuItemList" [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2010/04/28/one-to-many-in-hibernate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hibernate demo</title>
		<link>http://blog.grassfield.org/2009/06/28/hibernate-demo/</link>
		<comments>http://blog.grassfield.org/2009/06/28/hibernate-demo/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 20:24:06 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[ORM]]></category>
		<category><![CDATA[hibernate]]></category>

		<guid isPermaLink="false">http://blog.grassfield.org/?p=199</guid>
		<description><![CDATA[This post will help you to setup the environment to write your first hello world program with Hibernate!

Get the hibernate distribution from their website. (as of now, I have hibernate-distribution-3.3.2.GA-dist.zip with me)
Download the jars for commons-logging, asm and JDBC driver for your database.
Start a java project in eclipse.
Add all jars in hibernate distribution and other [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2009/06/28/hibernate-demo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>An eclipse plugin to automate Hibernate development</title>
		<link>http://blog.grassfield.org/2008/04/19/an-eclipse-plugin-to-automate-hibernate-development/</link>
		<comments>http://blog.grassfield.org/2008/04/19/an-eclipse-plugin-to-automate-hibernate-development/#comments</comments>
		<pubDate>Fri, 18 Apr 2008 21:05:50 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[POJO]]></category>
		<category><![CDATA[appreciation]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://blog.grassfield.org/2008/04/19/an-eclipse-plugin-to-automate-hibernate-development/</guid>
		<description><![CDATA[
Yesterday I was digging a new pit, about Hibernate. It was very interesting to create the mapping xml files. But when number of table increases, when the table has many number of fields, it is highly error prone, time consuming. I was searching for an eclipse plugin to automate this, and found one.
http://salto-db.sourceforge.net/salto-db-generator/
Salto-db Generator is [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2008/04/19/an-eclipse-plugin-to-automate-hibernate-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting started with Hibernate</title>
		<link>http://blog.grassfield.org/2008/04/17/getting-started-with-hibernate/</link>
		<comments>http://blog.grassfield.org/2008/04/17/getting-started-with-hibernate/#comments</comments>
		<pubDate>Thu, 17 Apr 2008 18:00:15 +0000</pubDate>
		<dc:creator>Pandian R</dc:creator>
				<category><![CDATA[POJO]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://blog.grassfield.org/2008/04/17/getting-started-with-hibernate/</guid>
		<description><![CDATA[
I am trying to implement a demo with hibernate, for 6 months. Since I am not working with any hibernate, and because of my laziness too, I couldnt do that. Today I have taken some action to get it started.
This post will help you to insert and retrieve a value to/from a simple table using [...]]]></description>
		<wfw:commentRss>http://blog.grassfield.org/2008/04/17/getting-started-with-hibernate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
