{"id":120726,"date":"2019-04-03T01:53:00","date_gmt":"2019-04-02T17:53:00","guid":{"rendered":"http:\/\/itteacheritfreelance.hk\/test\/wordpress\/?guid=c9615a4148e11119f61444797bb6f260"},"modified":"2019-04-03T01:53:00","modified_gmt":"2019-04-02T17:53:00","slug":"what-is-jpa-introduction-to-the-java-persistence-api","status":"publish","type":"post","link":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/04\/03\/what-is-jpa-introduction-to-the-java-persistence-api\/","title":{"rendered":"What is JPA? Introduction to the Java Persistence API"},"content":{"rendered":"<article>\n<section class=\"page\">\n<p>As a specification, the <a href=\"https:\/\/jcp.org\/en\/jsr\/detail?id=338\" rel=\"noopener nofollow\" >Java Persistence API<\/a> is concerned with <em>persistence<\/em>, which loosely means any mechanism by which Java objects outlive the application process that created them. Not all Java objects need to be persisted, but most applications persist key business objects. The JPA specification lets you define <em>which<\/em> objects should be persisted, and <em>how<\/em> those objects should be persisted in your Java applications.<\/p>\n<p>By itself, JPA is not a tool or framework; rather, it defines a set of concepts that can be implemented by any tool or framework. While JPA&#8217;s object-relational mapping (ORM) model was originally based on <a href=\"http:\/\/hibernate.org\/orm\/\" rel=\"noopener nofollow\" >Hibernate<\/a>, it has since evolved. Likewise, while JPA was originally intended for use with relational\/SQL databases, some JPA implementations have been extended for use with NoSQL datastores. A popular framework that supports JPA with NoSQL is <a href=\"https:\/\/www.eclipse.org\/eclipselink\" rel=\"noopener nofollow\" >EclipseLink<\/a>, the reference implementation for JPA 2.2.<\/p>\n<p class=\"jumpTag\"><a href=\"https:\/\/www.javaworld.com\/article\/3379043\/what-is-jpa-introduction-to-the-java-persistence-api.html#jump\">To read this article in full, please click here<\/a><\/p>\n<\/section>\n<\/article>\n","protected":false},"excerpt":{"rendered":"<p>As a specification, the Java Persistence API is concerned with persistence, which loosely means any mechanism by which Java objects outlive the application process that created them. Not all Java objects need to be persisted, but most applications p&#8230; <a href=\"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/2019\/04\/03\/what-is-jpa-introduction-to-the-java-persistence-api\/\">\u95b1\u8b80\u5168\u6587 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":139,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"slim_seo":[],"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_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}}},"categories":[2,315,7],"tags":[398,402,397,414,413,410,409,407,408,406,399,400,394,318,558,560,555,561,566,553,554,586,585,563,562,567,524,232,10,401,396,381,403,412,411,395,405,404,457,454,320,319,316],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7prtj-vpc","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/120726"}],"collection":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/users\/139"}],"replies":[{"embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/comments?post=120726"}],"version-history":[{"count":1,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/120726\/revisions"}],"predecessor-version":[{"id":120727,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/posts\/120726\/revisions\/120727"}],"wp:attachment":[{"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/media?parent=120726"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/categories?post=120726"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itteacheritfreelance.hk\/test\/wordpress\/wp-json\/wp\/v2\/tags?post=120726"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}