{"id":298,"date":"2017-03-05T17:16:40","date_gmt":"2017-03-05T17:16:40","guid":{"rendered":"http:\/\/kaizen-koka.com\/?p=298"},"modified":"2018-03-21T13:59:31","modified_gmt":"2018-03-21T13:59:31","slug":"java-based-configuration-spring-mvc-hibernate-integration","status":"publish","type":"post","link":"https:\/\/kaizen-koka.com\/?p=298","title":{"rendered":"Java based configuration &#8211; Spring MVC Hibernate Integration"},"content":{"rendered":"<p>\n\tWorking Example :&nbsp;<a href=\"https:\/\/github.com\/teachkoka\/spring-mvc-javaconfig\">https:\/\/github.com\/teachkoka\/spring-mvc-javaconfig<\/a>\n<\/p>\n<p>\n\tPOM.XML\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;project xmlns=&quot;http:\/\/maven.apache.org\/POM\/4.0.0&quot; xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot;\r\n\txsi:schemaLocation=&quot;http:\/\/maven.apache.org\/POM\/4.0.0 http:\/\/maven.apache.org\/maven-v4_0_0.xsd&quot;&gt;\r\n\t&lt;modelVersion&gt;4.0.0&lt;\/modelVersion&gt;\r\n\t&lt;groupId&gt;com.mvchib&lt;\/groupId&gt;\r\n\t&lt;artifactId&gt;spring&lt;\/artifactId&gt;\r\n\t&lt;packaging&gt;war&lt;\/packaging&gt;\r\n\t&lt;version&gt;0.0.1-SNAPSHOT&lt;\/version&gt;\r\n\r\n\t&lt;properties&gt;\r\n\t\t&lt;hibernate.version&gt;4.2.0.Final&lt;\/hibernate.version&gt;\r\n\t\t&lt;mysql.connector.version&gt;5.1.21&lt;\/mysql.connector.version&gt;\r\n\t\t&lt;spring.version&gt;3.2.2.RELEASE&lt;\/spring.version&gt;\r\n\t&lt;\/properties&gt;\r\n\r\n\t&lt;dependencies&gt;\r\n\t\t&lt;!-- DB related dependencies --&gt;\r\n\t\t    &lt;dependency&gt;\r\n\t&lt;groupId&gt;org.postgresql&lt;\/groupId&gt;\r\n\t&lt;artifactId&gt;postgresql&lt;\/artifactId&gt;\r\n\t&lt;version&gt;9.3-1100-jdbc4&lt;\/version&gt;\r\n   &lt;\/dependency&gt;\r\n   &lt;dependency&gt;\r\n\t&lt;groupId&gt;mysql&lt;\/groupId&gt;\r\n\t&lt;artifactId&gt;mysql-connector-java&lt;\/artifactId&gt;\r\n\t&lt;version&gt;5.1.6&lt;\/version&gt;\r\n&lt;\/dependency&gt;\r\n   \r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.hibernate&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;hibernate-core&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;${hibernate.version}&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.hibernate&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;hibernate-entitymanager&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;${hibernate.version}&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;mysql&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;mysql-connector-java&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;${mysql.connector.version}&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;commons-dbcp&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;commons-dbcp&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;1.4&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;javassist&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;javassist&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;3.12.1.GA&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;!-- SPRING --&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.springframework&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;spring-webmvc&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;${spring.version}&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.springframework&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;spring-tx&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;${spring.version}&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.springframework&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;spring-jdbc&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;${spring.version}&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.springframework&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;spring-orm&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;${spring.version}&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;!-- CGLIB is required to process @Configuration classes --&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;cglib&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;cglib&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;2.2.2&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;!-- Servlet API and JSTL --&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;javax.servlet&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;javax.servlet-api&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;3.0.1&lt;\/version&gt;\r\n\t\t\t&lt;scope&gt;provided&lt;\/scope&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;jstl&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;jstl&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;1.2&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\r\n\t\t&lt;!-- Test --&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;junit&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;junit&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;4.7&lt;\/version&gt;\r\n\t\t\t&lt;scope&gt;test&lt;\/scope&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.springframework&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;spring-test&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;${spring.version}&lt;\/version&gt;\r\n\t\t\t&lt;scope&gt;test&lt;\/scope&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.springframework&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;spring-test-mvc&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;1.0.0.M1&lt;\/version&gt;\r\n\t\t\t&lt;scope&gt;test&lt;\/scope&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t&lt;\/dependencies&gt;\r\n\r\n\t&lt;repositories&gt;\r\n\t\t&lt;repository&gt;\r\n\t\t\t&lt;id&gt;spring-maven-milestone&lt;\/id&gt;\r\n\t\t\t&lt;name&gt;Spring Maven Milestone Repository&lt;\/name&gt;\r\n\t\t\t&lt;url&gt;http:\/\/maven.springframework.org\/milestone&lt;\/url&gt;\r\n\t\t&lt;\/repository&gt;\r\n\t&lt;\/repositories&gt;\r\n\r\n\t&lt;build&gt;\r\n\t\t&lt;finalName&gt;spr-mvc-hib&lt;\/finalName&gt;\r\n\t\t&lt;plugins&gt;\r\n\t\t\t&lt;plugin&gt;\r\n\t\t\t\t&lt;artifactId&gt;maven-compiler-plugin&lt;\/artifactId&gt;\r\n\t\t\t\t&lt;version&gt;3.3&lt;\/version&gt;\r\n\t\t\t\t&lt;configuration&gt;\r\n\t\t\t\t\t&lt;source&gt;1.7&lt;\/source&gt;\r\n\t\t\t\t\t&lt;target&gt;1.7&lt;\/target&gt;\r\n\t\t\t\t&lt;\/configuration&gt;\r\n\t\t\t&lt;\/plugin&gt;\r\n\t\t&lt;\/plugins&gt;\r\n\t&lt;\/build&gt;\r\n\r\n&lt;\/project&gt;\r\n<\/pre>\n<p>\n\t&nbsp;\n<\/p>\n<p>\n\tWeb.XML\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;\r\n&lt;web-app xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot;\r\n\txmlns=&quot;http:\/\/java.sun.com\/xml\/ns\/javaee&quot; xmlns:web=&quot;http:\/\/java.sun.com\/xml\/ns\/javaee\/web-app_2_5.xsd&quot;\r\n\txsi:schemaLocation=&quot;http:\/\/java.sun.com\/xml\/ns\/javaee http:\/\/java.sun.com\/xml\/ns\/javaee\/web-app_3_0.xsd&quot;\r\n\tversion=&quot;3.0&quot;&gt;\r\n\r\n\r\n&lt;\/web-app&gt;<\/pre>\n<p>\n\t&nbsp;\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot; ?&gt;\r\n&lt;%@ page language=&quot;java&quot; contentType=&quot;text\/html; charset=ISO-8859-1&quot;\r\n    pageEncoding=&quot;ISO-8859-1&quot;%&gt;\r\n&lt;!DOCTYPE html PUBLIC &quot;-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN&quot; &quot;http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd&quot;&gt;\r\n&lt;html xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text\/html; charset=ISO-8859-1&quot; \/&gt;\r\n&lt;title&gt;Home page&lt;\/title&gt;<\/pre>\n<p>\n\t&nbsp;\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;%@taglib uri=&quot;http:\/\/java.sun.com\/jsp\/jstl\/core&quot; prefix=&quot;c&quot; %&gt;\r\n\r\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot; ?&gt;\r\n\r\n&lt;%@ page language=&quot;java&quot; contentType=&quot;text\/html; charset=ISO-8859-1&quot;\r\n    pageEncoding=&quot;ISO-8859-1&quot;%&gt;\r\n&lt;!DOCTYPE html PUBLIC &quot;-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN&quot; &quot;http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd&quot;&gt;\r\n&lt;html xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text\/html; charset=ISO-8859-1&quot; \/&gt;\r\n&lt;title&gt;List of teams&lt;\/title&gt;\r\n&lt;\/head&gt;<\/pre>\n<p>\n\t&nbsp;\n<\/p>\n<p>\n\t&nbsp;\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;%@taglib uri=&quot;http:\/\/java.sun.com\/jsp\/jstl\/core&quot; prefix=&quot;c&quot; %&gt;\r\n\r\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot; ?&gt;\r\n\r\n&lt;%@ page language=&quot;java&quot; contentType=&quot;text\/html; charset=ISO-8859-1&quot;\r\n    pageEncoding=&quot;ISO-8859-1&quot;%&gt;\r\n&lt;!DOCTYPE html PUBLIC &quot;-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN&quot; &quot;http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd&quot;&gt;\r\n&lt;html xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text\/html; charset=ISO-8859-1&quot; \/&gt;\r\n&lt;title&gt;List of teams&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;h1&gt;List of teams&lt;\/h1&gt;\r\n&lt;p&gt;Here you can see the list of the teams, edit them, remove or update.&lt;\/p&gt;\r\n&lt;table border=&quot;1px&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; &gt;\r\n&lt;thead&gt;\r\n&lt;tr&gt;\r\n&lt;th width=&quot;10%&quot;&gt;id&lt;\/th&gt;&lt;th width=&quot;15%&quot;&gt;name&lt;\/th&gt;&lt;th width=&quot;10%&quot;&gt;rating&lt;\/th&gt;&lt;th width=&quot;10%&quot;&gt;actions&lt;\/th&gt;\r\n&lt;\/tr&gt;\r\n&lt;\/thead&gt;\r\n&lt;tbody&gt;\r\n&lt;c:forEach var=&quot;team&quot; items=&quot;${teams}&quot;&gt;\r\n&lt;tr&gt;\r\n\t&lt;td&gt;${team.id}&lt;\/td&gt;\r\n\t&lt;td&gt;${team.name}&lt;\/td&gt;\r\n\t&lt;td&gt;${team.rating}&lt;\/td&gt;\r\n\t&lt;td&gt;\r\n\t&lt;a href=&quot;${pageContext.request.contextPath}\/team\/edit\/${team.id}.html&quot;&gt;Edit&lt;\/a&gt;&lt;br\/&gt;\r\n\t&lt;a href=&quot;${pageContext.request.contextPath}\/team\/delete\/${team.id}.html&quot;&gt;Delete&lt;\/a&gt;&lt;br\/&gt;\r\n\t&lt;\/td&gt;\r\n&lt;\/tr&gt;\r\n&lt;\/c:forEach&gt;\r\n&lt;\/tbody&gt;\r\n&lt;\/table&gt;\r\n\r\n&lt;p&gt;&lt;a href=&quot;${pageContext.request.contextPath}\/index.html&quot;&gt;Home page&lt;\/a&gt;&lt;\/p&gt;\r\n\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\n\t&nbsp;\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;%@taglib uri=&quot;http:\/\/www.springframework.org\/tags\/form&quot; prefix=&quot;form&quot; %&gt;\r\n\r\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot; ?&gt;\r\n\r\n&lt;%@ page language=&quot;java&quot; contentType=&quot;text\/html; charset=ISO-8859-1&quot;\r\n    pageEncoding=&quot;ISO-8859-1&quot;%&gt;\r\n    \r\n&lt;!DOCTYPE html PUBLIC &quot;-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN&quot; &quot;http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd&quot;&gt;\r\n&lt;html xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text\/html; charset=ISO-8859-1&quot; \/&gt;\r\n&lt;title&gt;Add team page&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;h1&gt;Add team page&lt;\/h1&gt;\r\n&lt;p&gt;Here you can add a new team.&lt;\/p&gt;\r\n&lt;form:form method=&quot;POST&quot; commandName=&quot;team&quot; action=&quot;${pageContext.request.contextPath}\/team\/add.html&quot;&gt;\r\n&lt;table&gt;\r\n&lt;tbody&gt;\r\n\t&lt;tr&gt;\r\n\t\t&lt;td&gt;Name:&lt;\/td&gt;\r\n\t\t&lt;td&gt;&lt;form:input path=&quot;name&quot; \/&gt;&lt;\/td&gt;\r\n\t&lt;\/tr&gt;\r\n\t&lt;tr&gt;\r\n\t\t&lt;td&gt;Rating:&lt;\/td&gt;\r\n\t\t&lt;td&gt;&lt;form:input path=&quot;rating&quot; \/&gt;&lt;\/td&gt;\r\n\t&lt;\/tr&gt;\r\n\t&lt;tr&gt;\r\n\t\t&lt;td&gt;&lt;input type=&quot;submit&quot; value=&quot;Add&quot; \/&gt;&lt;\/td&gt;\r\n\t\t&lt;td&gt;&lt;\/td&gt;\r\n\t&lt;\/tr&gt;\r\n&lt;\/tbody&gt;\r\n&lt;\/table&gt;\r\n&lt;\/form:form&gt;\r\n\r\n&lt;p&gt;&lt;a href=&quot;${pageContext.request.contextPath}\/index.html&quot;&gt;Home page&lt;\/a&gt;&lt;\/p&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\n\t&nbsp;\n<\/p>\n<pre class=\"brush:xml;\">\r\n&lt;%@taglib uri=&quot;http:\/\/www.springframework.org\/tags\/form&quot; prefix=&quot;form&quot; %&gt;\r\n\r\n&lt;?xml version=&quot;1.0&quot; encoding=&quot;ISO-8859-1&quot; ?&gt;\r\n\r\n&lt;%@ page language=&quot;java&quot; contentType=&quot;text\/html; charset=ISO-8859-1&quot;\r\n    pageEncoding=&quot;ISO-8859-1&quot;%&gt;\r\n    \r\n&lt;!DOCTYPE html PUBLIC &quot;-\/\/W3C\/\/DTD XHTML 1.0 Transitional\/\/EN&quot; &quot;http:\/\/www.w3.org\/TR\/xhtml1\/DTD\/xhtml1-transitional.dtd&quot;&gt;\r\n&lt;html xmlns=&quot;http:\/\/www.w3.org\/1999\/xhtml&quot;&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text\/html; charset=ISO-8859-1&quot; \/&gt;\r\n&lt;title&gt;Edit team page&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;h1&gt;Edit team page&lt;\/h1&gt;\r\n&lt;p&gt;Here you can edit the existing team.&lt;\/p&gt;\r\n&lt;p&gt;${message}&lt;\/p&gt;\r\n&lt;form:form method=&quot;POST&quot; commandName=&quot;team&quot; action=&quot;${pageContext.request.contextPath}\/team\/edit\/${team.id}.html&quot;&gt;\r\n&lt;table&gt;\r\n&lt;tbody&gt;\r\n\t&lt;tr&gt;\r\n\t\t&lt;td&gt;Name:&lt;\/td&gt;\r\n\t\t&lt;td&gt;&lt;form:input path=&quot;name&quot; \/&gt;&lt;\/td&gt;\r\n\t&lt;\/tr&gt;\r\n\t&lt;tr&gt;\r\n\t\t&lt;td&gt;Rating:&lt;\/td&gt;\r\n\t\t&lt;td&gt;&lt;form:input path=&quot;rating&quot; \/&gt;&lt;\/td&gt;\r\n\t&lt;\/tr&gt;\r\n\t&lt;tr&gt;\r\n\t\t&lt;td&gt;&lt;input type=&quot;submit&quot; value=&quot;Edit&quot; \/&gt;&lt;\/td&gt;\r\n\t\t&lt;td&gt;&lt;\/td&gt;\r\n\t&lt;\/tr&gt;\r\n&lt;\/tbody&gt;\r\n&lt;\/table&gt;\r\n&lt;\/form:form&gt;\r\n\r\n&lt;p&gt;&lt;a href=&quot;${pageContext.request.contextPath}\/index.html&quot;&gt;Home page&lt;\/a&gt;&lt;\/p&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>\n\t&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Working Example :&nbsp;https:\/\/github.com\/teachkoka\/spring-mvc-javaconfig POM.XML &nbsp; &lt;project xmlns=&quot;http:\/\/maven.apache.org\/POM\/4.0.0&quot; xmlns:xsi=&quot;http:\/\/www.w3.org\/2001\/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http:\/\/maven.apache.org\/POM\/4.0.0 http:\/\/maven.apache.org\/maven-v4_0_0.xsd&quot;&gt; &lt;modelVersion&gt;4.0.0&lt;\/modelVersion&gt; &lt;groupId&gt;com.mvchib&lt;\/groupId&gt; &lt;artifactId&gt;spring&lt;\/artifactId&gt; &lt;packaging&gt;war&lt;\/packaging&gt; &lt;version&gt;0.0.1-SNAPSHOT&lt;\/version&gt; &lt;properties&gt; &lt;hibernate.version&gt;4.2.0.Final&lt;\/hibernate.version&gt; &lt;mysql.connector.version&gt;5.1.21&lt;\/mysql.connector.version&gt; &lt;spring.version&gt;3.2.2.RELEASE&lt;\/spring.version&gt; &lt;\/properties&gt; &lt;dependencies&gt; &lt;!&#8211; DB related dependencies &#8211;&gt; &lt;dependency&gt; &lt;groupId&gt;org.postgresql&lt;\/groupId&gt; &lt;artifactId&gt;postgresql&lt;\/artifactId&gt; &lt;version&gt;9.3-1100-jdbc4&lt;\/version&gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[16],"tags":[],"class_list":["post-298","post","type-post","status-publish","format-standard","hentry","category-spring-technologies"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p70lnf-4O","jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/kaizen-koka.com\/index.php?rest_route=\/wp\/v2\/posts\/298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kaizen-koka.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kaizen-koka.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kaizen-koka.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kaizen-koka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=298"}],"version-history":[{"count":7,"href":"https:\/\/kaizen-koka.com\/index.php?rest_route=\/wp\/v2\/posts\/298\/revisions"}],"predecessor-version":[{"id":503,"href":"https:\/\/kaizen-koka.com\/index.php?rest_route=\/wp\/v2\/posts\/298\/revisions\/503"}],"wp:attachment":[{"href":"https:\/\/kaizen-koka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kaizen-koka.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kaizen-koka.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}