tag:blogger.com,1999:blog-4091582644082249460.post6827703498238301291..comments2024-03-21T06:53:25.296-05:00Comments on IT Happens Here!: Spring Integration with HibernateYet another Blogger!http://www.blogger.com/profile/08802949049819684281noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-4091582644082249460.post-74027294287443192662011-01-14T13:44:38.662-06:002011-01-14T13:44:38.662-06:00@anonymous
Could you let me know for which you wou...@anonymous<br />Could you let me know for which you would require a detailed sample or which are the methods for which you need working samples? Let me knowYet another Blogger!https://www.blogger.com/profile/08802949049819684281noreply@blogger.comtag:blogger.com,1999:blog-4091582644082249460.post-46371458546790198862011-01-03T01:41:16.140-06:002011-01-03T01:41:16.140-06:00I find this article very useful, It would be nice ...I find this article very useful, It would be nice if you have some sample code for all the 4 methods.<br /><br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4091582644082249460.post-1270148695683253952010-04-30T16:22:12.890-05:002010-04-30T16:22:12.890-05:00@Anonymous,
Coming to your question on the conte...@Anonymous, <br /><br />Coming to your question on the content of jdbc.properties, here are the details,<br /><br />jdbc.driverClassName=<br />jdbc.url=<br />jdbc.username=<br />jdbc.password=<br /><br />dbcp.maxActive=100 (sample given here)<br />dbcp.maxIdle=30(sample given here)<br />dbcp.maxWait=16000(sample given here)<br /><br />hibernate.generate_statistics=true(sample given here) <br />hibernate.show_sql=true(sample given here)<br />hibernate.format_sql=false(sample given here)<br />hibernate.dialect=<br /><br /><br />and coming to the daoimpl class, you would have to have the above given code and within your dao methods, access the session using<br /><br />sessionFactory.getCurrentSession().createQuery("").list(); or <br />sessionFactory.getCurrentSession().delete(Obj);<br /><br />Exceptions need not be caught since spring takes care of it.Yet another Blogger!https://www.blogger.com/profile/08802949049819684281noreply@blogger.comtag:blogger.com,1999:blog-4091582644082249460.post-85823977085676415932010-04-30T16:15:12.902-05:002010-04-30T16:15:12.902-05:00@Anonymous,
Let me tell you that the list of jars...@Anonymous,<br /><br />Let me tell you that the list of jars would entirely depend on the requirements of your current project. But for the kick off, try having the following jars for the integration. The list is based on the assumption that you are using TxManager, @Value annnotations, Spring 3.0, hibernate annotations, spring transactions etc. Just keep us all posted as to how you are progressing with the below list and if you need help, please do let us know too!<br /><br />com.springsource.org.aopalliance-1.0.0.jar <br />org.springframework.beans-3.0.0.RELEASE.jar<br />org.springframework.context.support-3.0.0.RELEASE.jar<br />org.springframework.context-3.0.0.RELEASE.jar<br />org.springframework.core-3.0.0.RELEASE.jar<br />org.springframework.expression-3.0.0.RELEASE.jar<br />org.springframework.jdbc-3.0.0.RELEASE.jar<br />org.springframework.orm-3.0.0.RELEASE.jar<br />org.springframework.transaction-3.0.0.RELEASE.jar<br />org.springframework.web.servlet-3.0.0.RELEASE.jar<br />org.springframework.web-3.0.0.RELEASE.jar<br /><br />hibernate3.jar<br />hibernate-annotations.jar<br />hibernate-commons-annotations.jar<br />hibernate-entitymanager.jarYet another Blogger!https://www.blogger.com/profile/08802949049819684281noreply@blogger.comtag:blogger.com,1999:blog-4091582644082249460.post-484028695984810922010-04-30T12:25:42.647-05:002010-04-30T12:25:42.647-05:00More details needed:
What are your:
webapp.dao
j...More details needed:<br /><br />What are your:<br /><br />webapp.dao<br />jdbc.propertiesAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4091582644082249460.post-77527611895114576712010-04-30T12:15:37.356-05:002010-04-30T12:15:37.356-05:00Good article. Just wish it had been written longe...Good article. Just wish it had been written longer and with many details.<br /><br />But any way, what are the Jar Files needed for Spring Hibernate Integration? And where to download, if any?Anonymousnoreply@blogger.com