{"id":67408,"date":"2021-07-21T04:10:06","date_gmt":"2021-07-21T08:10:06","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/hibernate-key-poins-what-is-hibernate-how-to-develop-java-short-notes\/"},"modified":"2021-07-21T04:10:06","modified_gmt":"2021-07-21T08:10:06","slug":"hibernate-key-poins-what-is-hibernate-how-to-develop-java-short-notes","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=67408","title":{"rendered":"Hibernate: Key Poins: What is Hibernate: How to develop #Java Short Notes"},"content":{"rendered":"<ul>\n<li> Open source object\/relational mapping tool for Java    <\/li>\n<li> Provides persistent classes and persistent logic     <\/li>\n<li> In addition to mapping, provides data query and         retrieval facilities     <\/li>\n<li> Steps: Create a POJO, create an XML mapping file           for object to table columns, use Hibernate APIs to           load\/store the persistent objects    <\/li>\n<li> hibernate.cfg.xml file keeps properties such as, database connection          string and password, database dialect, and mapping          files locations   <\/li>\n<li> Mapping files of the pattern *.hbm keeps mapping between a specific Java class and one or more database tables   <\/li>\n<li> Commonly used Hibernate classes:\n<ul>\n<li> org.hibernate.SessionFactory, org.hibernate.Session, org.hibernate.Transaction       <\/li>\n<li> <a href='http:\/\/www.hibernate.org\/hib_docs\/v3\/api\/' target='new' rel=\"noopener\">A list of Hibernate APIs<\/a>      <\/li>\n<li>   <\/li>\n<\/ul>\n<\/li>\n<li> Class to class mapping can be done using associations. Associations can be one to many, many to one, many to many. (unidirectional and bidirectional)   <\/li>\n<li> All bi-directional associations need one side as inverse. In an association (bidirectional) the many side needs to be the inverse  <\/li>\n<\/ul>\n<p> From: http:\/\/sitestree.com\/?p=5077<br \/> Categories:Java Short Notes<br \/>Tags:<br \/> Post Data:2012-01-03 04:34:35<\/p>\n<p>\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\">https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\t(Big Data, Cloud, Security, Machine Learning): Courses: <a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"> http:\/\/Training.SitesTree.com<\/a><br \/>\n\t\tIn Bengali: <a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\">http:\/\/Bangla.SaLearningSchool.com<\/a><br \/>\n\t\t<a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\">http:\/\/SitesTree.com<\/a><br \/>\n\t\t8112223 Canada Inc.\/JustEtc: <a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\">http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) <\/a><br \/>\n\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com'> https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\tMedium: <a href='https:\/\/medium.com\/@SayedAhmedCanada' target='new' rel=\"noopener\"> https:\/\/medium.com\/@SayedAhmedCanada <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Open source object\/relational mapping tool for Java Provides persistent classes and persistent logic In addition to mapping, provides data query and retrieval facilities Steps: Create a POJO, create an XML mapping file for object to table columns, use Hibernate APIs to load\/store the persistent objects hibernate.cfg.xml file keeps properties such as, database connection string and &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=67408\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1917],"tags":[],"class_list":["post-67408","post","type-post","status-publish","format-standard","hentry","category-fromsitestree-com","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":67450,"url":"http:\/\/bangla.sitestree.com\/?p=67450","url_meta":{"origin":67408,"position":0},"title":"Hibernate: Basic Concepts #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 22, 2021","format":false,"excerpt":"Hibernate Object Relational Mapping Software ORM qualities: Pure relational, Light object mapping, Medium object mapping, Full object mapping ORM Metadata: ORM metadata provides support for mapping between classes and tables, properties and columns, associations and foreign keys, Java types and SQL types. Full Object Mapping: Supports advanced object modeling: composition,\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":67364,"url":"http:\/\/bangla.sitestree.com\/?p=67364","url_meta":{"origin":67408,"position":1},"title":"What is Hibernate? #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 20, 2021","format":false,"excerpt":"Why Hibernate? A database is an integral part of many different types of applications. Standalone single-person applications to multi-user distributed business and enterprise applications make extensive use of databases. Many high end technology applications in industries including telecommunications, and surveillance systems make extensive use of databases. However, in recent years,\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65920,"url":"http:\/\/bangla.sitestree.com\/?p=65920","url_meta":{"origin":67408,"position":2},"title":"What is Spring Framework? What does it mean to J2EE developers #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 17, 2021","format":false,"excerpt":"What is Spring Framework? What does it mean to J2EE developers? Spring is a light-weight framework, very often referred as an alternative\/competitor to EJB, for the development of enterprise-type applications. Spring provides many features such as declarative transaction management, access to remote logic using RMI or web services, mailing facilities\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":67414,"url":"http:\/\/bangla.sitestree.com\/?p=67414","url_meta":{"origin":67408,"position":3},"title":"Hibernate Architecture: Some Information #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 21, 2021","format":false,"excerpt":"Lite Architecture: Applications provide their own JDBC connections and also manage their own transactions Full Cream Architecture: Hibernate takes care of the JDBC connections and transaction Management. The applications are relieved of these responsibilities An instance of a persistent class can be in one of three states such as transient,\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69123,"url":"http:\/\/bangla.sitestree.com\/?p=69123","url_meta":{"origin":67408,"position":4},"title":"Hibernate: A simple example #48","author":"Author-Check- Article-or-Video","date":"August 12, 2021","format":false,"excerpt":"Hibernate: A simple example First, you need to create an xml file to specify the database parameters that you are going to use. Database parameters may include: the database driver, user name and password to access the database. Then you should create a persistent class to represent the database table.\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65975,"url":"http:\/\/bangla.sitestree.com\/?p=65975","url_meta":{"origin":67408,"position":5},"title":"Introduction to Spring #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 18, 2021","format":false,"excerpt":"Open-sourced on February, 2003 Layered J2EE application framework Inversion of Control (IoC): A Data Access Object (DAO) depends on a DataSource. Allows: code to interfaces Spring has classes to support Hibernate, Struts, and other frameworks According to many Java developers [ref:internet], J2EE patterns are sometimes cumbersome. Spring uses patterns but\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/67408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=67408"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/67408\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=67408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=67408"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=67408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}