{"id":8199,"date":"2023-10-24T23:34:45","date_gmt":"2023-10-24T16:34:45","guid":{"rendered":"https:\/\/teky.edu.vn\/blog\/?p=8199"},"modified":"2023-10-29T15:33:04","modified_gmt":"2023-10-29T08:33:04","slug":"hibernate-la-gi","status":"publish","type":"post","link":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/","title":{"rendered":"Hibernate l\u00e0 g\u00ec? Th\u00f4ng tin chi ti\u1ebft v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 n\u00e0y"},"content":{"rendered":"\n\n<div class=\"kk-star-ratings kksr-auto kksr-align-left kksr-valign-top\"\n    data-payload='{&quot;align&quot;:&quot;left&quot;,&quot;id&quot;:&quot;8199&quot;,&quot;slug&quot;:&quot;default&quot;,&quot;valign&quot;:&quot;top&quot;,&quot;ignore&quot;:&quot;&quot;,&quot;reference&quot;:&quot;auto&quot;,&quot;class&quot;:&quot;&quot;,&quot;count&quot;:&quot;4&quot;,&quot;legendonly&quot;:&quot;&quot;,&quot;readonly&quot;:&quot;&quot;,&quot;score&quot;:&quot;5&quot;,&quot;starsonly&quot;:&quot;&quot;,&quot;best&quot;:&quot;5&quot;,&quot;gap&quot;:&quot;5&quot;,&quot;greet&quot;:&quot;Rate this post&quot;,&quot;legend&quot;:&quot;5\\\/5 - (4 b\u00ecnh ch\u1ecdn)&quot;,&quot;size&quot;:&quot;24&quot;,&quot;title&quot;:&quot;Hibernate l\u00e0 g\u00ec? Th\u00f4ng tin chi ti\u1ebft v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 n\u00e0y&quot;,&quot;width&quot;:&quot;142.5&quot;,&quot;_legend&quot;:&quot;{score}\\\/{best} - ({count} {votes})&quot;,&quot;font_factor&quot;:&quot;1.25&quot;}'>\n            \n<div class=\"kksr-stars\">\n    \n<div class=\"kksr-stars-inactive\">\n            <div class=\"kksr-star\" data-star=\"1\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"2\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"3\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"4\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" data-star=\"5\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n    \n<div class=\"kksr-stars-active\" style=\"width: 142.5px;\">\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n            <div class=\"kksr-star\" style=\"padding-right: 5px\">\n            \n\n<div class=\"kksr-icon\" style=\"width: 24px; height: 24px;\"><\/div>\n        <\/div>\n    <\/div>\n<\/div>\n                \n\n<div class=\"kksr-legend\" style=\"font-size: 19.2px;\">\n            5\/5 - (4 b\u00ecnh ch\u1ecdn)    <\/div>\n    <\/div>\n<p style=\"text-align: justify;\"><em>Ki\u1ebfn th\u1ee9c l\u1eadp tr\u00ecnh kh\u00f4ng bao gi\u1edd c\u00f3 gi\u1edbi h\u1ea1n. N\u1ebfu b\u1ea1n l\u00e0 m\u1ed9t ng\u01b0\u1eddi hay c\u00f3 d\u1ecbp l\u00e0m vi\u1ec7c c\u00f9ng ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh Java, h\u1eb3n b\u1ea1n \u0111\u00e3 t\u1eebng nghe \u0111\u1ebfn c\u00e1i t\u00ean Hibernate. \u0110\u01b0\u01a1ng nhi\u00ean ch\u00fang ta \u0111\u1ec1u bi\u1ebft Hibernate l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 h\u1ed7 tr\u1ee3 \u0111\u1ed1i v\u1edbi nh\u1eefng ph\u1ea7n m\u1ec1m \u0111\u01b0\u1ee3c ph\u00e1t tri\u1ec3n t\u1eeb Java. Tuy nhi\u00ean ph\u1ea3i n\u1eafm r\u00f5 kh\u00e1i ni\u1ec7m <strong>Hibernate l\u00e0 g\u00ec<\/strong> c\u00f9ng c\u1ea5u t\u1ea1o v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng n\u00f3 th\u00ec b\u1ea1n m\u1edbi c\u00f3 th\u1ec3 ph\u00e1t huy ho\u00e0n to\u00e0n \u01b0u \u0111i\u1ec3m c\u1ee7a Hibernate \u0111\u01b0\u1ee3c. B\u00e0i vi\u1ebft sau \u0111\u1ec3 c\u1ee7a Teky s\u1ebd gi\u00fap b\u1ea1n kh\u00e1m ph\u00e1 c\u00e1c \u0111\u1eb7c \u0111i\u1ec3m c\u01a1 b\u1ea3n nh\u1ea5t c\u1ee7a Java Hibernate.<\/em><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">N\u1ed9i dung <\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Tim_hieu_Hibernate_la_gi\" >T\u00ecm hi\u1ec3u Hibernate l\u00e0 g\u00ec?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#ORM_la_gi\" >ORM l\u00e0 g\u00ec?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Persistence_layer_la_gi\" >Persistence layer l\u00e0 g\u00ec?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Dinh_nghia_Hibernate_la_gi\" >\u0110\u1ecbnh ngh\u0129a Hibernate l\u00e0 g\u00ec?<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Kien_truc_cua_Hibernate_la_gi\" >Ki\u1ebfn tr\u00fac c\u1ee7a Hibernate l\u00e0 g\u00ec?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Persistence_object\" >Persistence object<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Configuration\" >Configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Session_Factory_%E2%80%93_Hibernate_la_gi\" >Session Factory &#8211; Hibernate l\u00e0 g\u00ec<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Hibernate_Session\" >Hibernate Session<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Transaction\" >Transaction<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Query\" >Query<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Criteria\" >Criteria<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Tai_sao_nen_su_dung_Hibernate_%E2%80%93_Hibernate_la_gi\" >T\u1ea1i sao n\u00ean s\u1eed d\u1ee5ng Hibernate? &#8211; Hibernate l\u00e0 g\u00ec<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Ket_luan\" >K\u1ebft lu\u1eadn<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Hoc_Vien_Cong_Nghe_Teky_duoc_chon_la_dia_chi_hoc_lap_trinh_uy_tin_nhat_cho_tre\" >H\u1ecdc Vi\u1ec7n C\u00f4ng Ngh\u1ec7 Teky \u0111\u01b0\u1ee3c ch\u1ecdn l\u00e0 \u0111\u1ecba ch\u1ec9 h\u1ecdc l\u1eadp tr\u00ecnh uy t\u00edn nh\u1ea5t cho tr\u1ebb\u00a0<\/a><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><ul class='ez-toc-list-level-4' ><li class='ez-toc-heading-level-4'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Day_la_chuong_trinh_khong_chi_trang_bi_kien_thuc_lap_trinh_ma_con_ren_luyen_nhom_ky_nang_4Cs_Tre_se_duoc\" >\u0110\u00e2y l\u00e0 ch\u01b0\u01a1ng tr\u00ecnh kh\u00f4ng ch\u1ec9 trang b\u1ecb ki\u1ebfn th\u1ee9c l\u1eadp tr\u00ecnh m\u00e0 c\u00f2n r\u00e8n luy\u1ec7n nh\u00f3m k\u1ef9 n\u0103ng 4Cs. Tr\u1ebb s\u1ebd \u0111\u01b0\u1ee3c:<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#Lien_he_ngay_hoc_vien_cong_nghe_sang_tao_TEKY_de_duoc_tu_van_khoa_hoc\" >Li\u00ean h\u1ec7 ngay h\u1ecdc vi\u1ec7n c\u00f4ng ngh\u1ec7 s\u00e1ng t\u1ea1o TEKY \u0111\u1ec3 \u0111\u01b0\u1ee3c t\u01b0 v\u1ea5n kh\u00f3a h\u1ecdc:<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Tim_hieu_Hibernate_la_gi\"><\/span>T\u00ecm hi\u1ec3u Hibernate l\u00e0 g\u00ec?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">Tr\u01b0\u1edbc khi \u0111\u1ecbnh ngh\u0129a Hibernate l\u00e0 g\u00ec, ch\u00fang ta c\u1ea7n \u0111i\u1ec3m nhanh qua hai kh\u00e1i ni\u1ec7m: ORM v\u00e0 Persistence layer. \u0110\u00e2y l\u00e0 hai kh\u00e1i ni\u1ec7m t\u00e1c \u0111\u1ed9ng tr\u1ef1c ti\u1ebfp l\u00ean vi\u1ec7c h\u00ecnh th\u00e0nh Hibernate.<\/p>\n<p><a href=\"https:\/\/lotrinhlaptrinh.teky.vn\/?utm_id=ContentBlog&amp;utm_medium=Click_Blog&amp;utm_source=ContentBlog\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-22416\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2023\/10\/dang-ky-lap-trinh-teky.gif\" alt=\"dang-ky-lap-trinh\" width=\"600\" height=\"314\" \/><\/a><\/p>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"ORM_la_gi\"><\/span>ORM l\u00e0 g\u00ec?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">ORM l\u00e0 t\u00ean vi\u1ebft t\u1eaft c\u1ee7a Object Relational Mapping. ORM \u0111\u01b0\u1ee3c hi\u1ec3u nh\u01b0 m\u1ed9t framework v\u1edbi c\u01a1 ch\u1ebf cho ph\u00e9p ng\u01b0\u1eddi d\u00f9ng t\u01b0\u01a1ng t\u00e1c v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u. C\u00e1c thao t\u00e1c \u0111\u01b0\u1ee3c di\u1ec5n ra t\u1ef1 nhi\u00ean th\u00f4ng qua m\u1ed9t s\u1ed1 \u0111\u1ed1i t\u01b0\u1ee3ng.<\/p>\n<p style=\"text-align: justify;\">ORM gi\u00fap ng\u01b0\u1eddi d\u00f9ng th\u1ef1c hi\u1ec7n c\u00e1c ho\u1ea1t \u0111\u1ed9ng nh\u01b0 kh\u1edfi t\u1ea1o d\u1eef li\u1ec7u, t\u00ecm ki\u1ebfm d\u1eef li\u1ec7u v\u00e0 truy c\u1eadp d\u1eef li\u1ec7u m\u1ed9t c\u00e1ch \u0111\u01a1n gi\u1ea3n d\u00f9 cho h\u1ec7 th\u1ed1ng c\u00f3 s\u1eed d\u1ee5ng b\u1ea5t k\u1ef3 c\u00f4ng c\u1ee5 n\u00e0o. V\u00ed d\u1ee5 c\u00f3 th\u1ec3 k\u1ec3 \u0111\u1ebfn nh\u01b0: SQL Server, MySQL, PostgreSQL\u2026 Quy tr\u00ecnh ho\u1ea1t \u0111\u1ed9ng c\u1ee7a ORM s\u1eed d\u1ee5ng k\u1ef9 thu\u1eadt \u00e1nh x\u1ea1 \u0111\u1ed1i t\u01b0\u1ee3ng v\u00e0o d\u1eef li\u1ec7u \u0111\u01b0\u1ee3c l\u01b0u tr\u1eef trong Databases.<\/p>\n<figure id=\"attachment_8204\" aria-describedby=\"caption-attachment-8204\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8204\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/tim-hieu-hibernate-la-gi.jpg\" alt=\"T\u00ecm hi\u1ec3u v\u1ec1 Hibernate l\u00e0 g\u00ec?\" width=\"650\" height=\"400\" srcset=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/tim-hieu-hibernate-la-gi.jpg 650w, https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/tim-hieu-hibernate-la-gi-400x246.jpg 400w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><figcaption id=\"caption-attachment-8204\" class=\"wp-caption-text\">T\u00ecm hi\u1ec3u v\u1ec1 Hibernate l\u00e0 g\u00ec?<\/figcaption><\/figure>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Persistence_layer_la_gi\"><\/span>Persistence layer l\u00e0 g\u00ec?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">C\u1ea5u t\u1ea1o c\u1ee7a m\u1ed9t \u1ee9ng d\u1ee5ng th\u00f4ng th\u01b0\u1eddng s\u1ebd bao g\u1ed3m ba ph\u1ea7n: presentation layer (l\u1edbp giao di\u1ec7n), business layer (l\u1edbp x\u1eed l\u00fd nghi\u1ec7p v\u1ee5), data layer (l\u1edbp ch\u1ee9a d\u1eef li\u1ec7u). Trong \u0111\u00f3 business layer l\u1ea1i \u0111\u01b0\u1ee3c chia th\u00e0nh hai ph\u1ea7n nh\u1ecf bao g\u1ed3m: business logic layer v\u00e0 persistence layer.<\/p>\n<p style=\"text-align: justify;\">Trong khi business logic layer \u0111\u1ea3m nh\u1eadn tr\u00e1ch nhi\u1ec7m th\u1ef1c hi\u1ec7n nh\u1eefng ph\u00e9p t\u00ednh logic th\u00ec persistence layer l\u1ea1i l\u00e0 c\u1ea7u n\u1ed1i \u0111\u1ec3 giao ti\u1ebfp v\u1edbi l\u1edbp ch\u1ee9a d\u1eef li\u1ec7u. Th\u00f4ng th\u01b0\u1eddng, persistence layer s\u1ebd l\u00e0m vi\u1ec7c c\u00f9ng v\u1edbi m\u1ed9t h\u1ec7 qu\u1ea3n tr\u1ecb d\u1eef li\u1ec7u quan h\u1ec7 &#8211; c\u00f2n \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 Relational DBMS. Persistence layer th\u1ef1c hi\u1ec7n r\u1ea5t nhi\u1ec1u ho\u1ea1t \u0111\u1ed9ng kh\u00e1c nhau v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u nh\u01b0 t\u00ecm ki\u1ebfm, truy xu\u1ea5t, k\u1ebft n\u1ed1i v\u00e0 l\u01b0u tr\u1eef.<\/p>\n<p>&gt;&gt;&gt; Xem th\u00eam : <a href=\"https:\/\/teky.edu.vn\/blog\/ky-thuat-phan-mem\/\"><span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;K\u1ef9 thu\u1eadt ph\u1ea7n m\u1ec1m l\u00e0 g\u00ec? Nh\u1eefng tr\u01b0\u1eddng \u0110H c\u00f3 khoa k\u1ef9 thu\u1eadt ph\u1ea7n m\u1ec1m&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:4480,&quot;10&quot;:2,&quot;11&quot;:0,&quot;15&quot;:&quot;Arial&quot;}\">K\u1ef9 thu\u1eadt ph\u1ea7n m\u1ec1m l\u00e0 g\u00ec? Nh\u1eefng tr\u01b0\u1eddng \u0110H c\u00f3 khoa k\u1ef9 thu\u1eadt ph\u1ea7n m\u1ec1m<\/span><\/a><\/p>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Dinh_nghia_Hibernate_la_gi\"><\/span>\u0110\u1ecbnh ngh\u0129a Hibernate l\u00e0 g\u00ec?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">Khi \u0111\u00e3 n\u1eafm r\u00f5 hai ph\u1ea7n \u0111\u1ecbnh ngh\u0129a \u1edf tr\u00ean, ta s\u1ebd r\u00fat ra \u0111\u01b0\u1ee3c kh\u00e1i ni\u1ec7m Hibernate l\u00e0 g\u00ec. Hibernate l\u00e0 m\u1ed9t d\u1ea1ng ORM framework ho\u1ea1t \u0111\u1ed9ng ph\u1ee5c v\u1ee5 cho persistence layer. Nh\u00ecn chung, s\u1ef1 ph\u00e1t tri\u1ec3n c\u1ee7a Hibernate gi\u00fap cho ng\u01b0\u1eddi d\u00f9ng \u0111\u1ee1 \u0111i m\u1ed9t ph\u1ea7n c\u00f4ng vi\u1ec7c xung quanh persistence layer. C\u00f4ng vi\u1ec7c c\u1ee5 th\u1ec3 c\u1ee7a Hibernate l\u00e0 vi\u1ebft c\u00e1c m\u00e3 b\u1eb1ng ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh Java. C\u00e1c m\u00e3 n\u00e0y gi\u00fap s\u1ebd gi\u00fap object (POJO) c\u00f3 th\u1ec3 map \u0111\u01b0\u1ee3c v\u1edbi h\u1ec7 th\u1ed1ng qu\u1ea3n l\u00fd c\u01a1 s\u1edf d\u1eef li\u1ec7u quan h\u1ec7 (database). N\u00f3 c\u0169ng h\u1ed7 tr\u1ee3 ng\u01b0\u1eddi d\u00f9ng ph\u00e1t tri\u1ec3n c\u00e1c kh\u00e1i ni\u1ec7m l\u1eadp tr\u00ecnh h\u01b0\u1edbng \u0111\u1ed1i t\u01b0\u1ee3ng v\u1edbi Databases.<\/p>\n<p style=\"text-align: justify;\">Ng\u01b0\u1eddi ta th\u01b0\u1eddng n\u00f3i r\u1eb1ng, h\u00e3y d\u00f9ng Hibernate, \u0111\u1eebng d\u00f9ng JDBC. V\u1eady JDBC l\u00e0 g\u00ec? JDBC c\u0169ng l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 d\u00f9ng \u0111\u1ec3 k\u1ebft n\u1ed1i Databases. Tuy nhi\u00ean n\u00f3 ch\u1ec9 d\u1eebng l\u1ea1i \u1edf m\u1ee9c th\u00f4 s\u01a1. Hibernate xu\u1ea5t hi\u1ec7n nh\u01b0 m\u1ed9t d\u1ea1ng c\u1ea3i ti\u1ebfn c\u1ee7a JDBC. Ch\u00ednh v\u00ec th\u1ebf, hi\u1ec7n t\u1ea1i kh\u00f4ng c\u00f3 m\u1ea5y ng\u01b0\u1eddi s\u1eed d\u1ee5ng JDBC n\u1eefa.<\/p>\n<p style=\"text-align: justify;\">V\u1eady \u0111i\u1ec3m v\u01b0\u1ee3t tr\u1ed9i so v\u1edbi JDBC c\u1ee7a Hibernate Java l\u00e0 g\u00ec? Hibernate \u0111\u01b0\u1ee3c ph\u00e1t tri\u1ec3n kh\u1ea3 n\u0103ng t\u1ef1 \u0111\u1ed9ng h\u00f3a \u1edf m\u1ee9c cao nh\u1ea5t c\u00f3 th\u1ec3. Xuy\u00ean su\u1ed1t c\u00e1c ho\u1ea1t \u0111\u1ed9ng truy v\u1ea5n v\u00e0 l\u01b0u tr\u1eef d\u1eef li\u1ec7u, Hibernate c\u00f3 th\u1ec3 thay ng\u01b0\u1eddi d\u00f9ng x\u1eed l\u00fd nhanh ch\u00f3ng v\u00e0 m\u1ea1nh m\u1ebd thay v\u00ec c\u00e1c b\u01b0\u1edbc th\u1ee7 c\u00f4ng r\u1eafc r\u1ed1i t\u1ea1i JDBC.<\/p>\n<p><a href=\"https:\/\/lotrinhlaptrinh.teky.vn\/?utm_id=ContentBlog&amp;utm_medium=Click_Blog&amp;utm_source=ContentBlog\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-22417\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2023\/10\/dang-ky-lap-trinh-teky1.gif\" alt=\"dang-ky-lap-trinh-teky1\" width=\"600\" height=\"314\" \/><\/a><\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Kien_truc_cua_Hibernate_la_gi\"><\/span>Ki\u1ebfn tr\u00fac c\u1ee7a Hibernate l\u00e0 g\u00ec?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">Ki\u1ebfn tr\u00fac c\u1ee7a Hibernate trong Java bao g\u1ed3m r\u1ea5t nhi\u1ec1u \u0111\u1ed1i t\u01b0\u1ee3ng kh\u00e1c nhau. N\u1eafm ch\u1eafc c\u1ea5u t\u1ea1o s\u1ebd gi\u00fap b\u1ea1n hi\u1ec3u r\u00f5 Hibernate l\u00e0 g\u00ec.<\/p>\n<figure id=\"attachment_8205\" aria-describedby=\"caption-attachment-8205\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8205\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/cau-tao-cua-hibernate.jpg\" alt=\"C\u1ea5u t\u1ea1o c\u1ee7a Hibernate\" width=\"650\" height=\"400\" srcset=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/cau-tao-cua-hibernate.jpg 650w, https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/cau-tao-cua-hibernate-400x246.jpg 400w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><figcaption id=\"caption-attachment-8205\" class=\"wp-caption-text\">C\u1ea5u t\u1ea1o c\u1ee7a Hibernate<\/figcaption><\/figure>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Persistence_object\"><\/span>Persistence object<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">Persistence object \u0111\u01b0\u1ee3c hi\u1ec3u nh\u01b0 l\u00e0 m\u1ed9t kho h\u00e0ng d\u00f9ng \u0111\u1ec3 ch\u1ee9a d\u1eef li\u1ec7u. N\u00f3 s\u1ebd gi\u00fap t\u1eadp trung l\u1ea1i nh\u1eefng ph\u1ea7n d\u1eef li\u1ec7u \u0111\u01b0\u1ee3c t\u1ea3i t\u1eeb c\u01a1 s\u1edf d\u1eef li\u1ec7u l\u00ean \u1ee9ng d\u1ee5ng v\u00e0 ng\u01b0\u1ee3c l\u1ea1i. Persistence object c\u0169ng ch\u00ednh l\u00e0 POJO object \u0111\u01b0\u1ee3c Hibernate map v\u1edbi h\u1ec7 th\u1ed1ng qu\u1ea3n tr\u1ecb c\u01a1 s\u1edf d\u1eef li\u1ec7u quan h\u1ec7.<\/p>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Configuration\"><\/span>Configuration<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">Khi kh\u1edfi t\u1ea1o m\u1ed9t Hibernate, Configuration s\u1ebd l\u00e0 \u0111\u1ed1i t\u01b0\u1ee3ng \u0111\u1ea7u ti\u00ean xu\u1ea5t hi\u1ec7n. Ng\u01b0\u1eddi d\u00f9ng ch\u1ec9 c\u1ea7n t\u1ea1o m\u1ed9t l\u1ea7n l\u00e0 Configuration s\u1ebd xu\u1ea5t hi\u1ec7n m\u00e3i m\u00e3i trong \u1ee9ng d\u1ee5ng. Configuration \u0111\u01b0\u1ee3c hi\u1ec3u nh\u01b0 l\u00e0 m\u1ed9t t\u1ec7p tin v\u1ec1 c\u1ea5u h\u00ecnh \u0111i\u1ec1u ki\u1ec7n hay thu\u1ed9c t\u00ednh y\u00eau c\u1ea7u c\u1ee7a Hibernate. Configuration bao g\u1ed3m hai b\u1ed9 ph\u1eadn nh\u1ecf:<\/p>\n<ul style=\"text-align: justify;\">\n<li style=\"font-weight: 400;\" aria-level=\"1\">Database Connection: \u0110\u1ec3 k\u1ebft n\u1ed1i v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u, Configuration s\u1eed d\u1ee5ng m\u1ed9t ho\u1eb7c nhi\u1ec1u t\u1ec7p c\u1ea5u h\u00ecnh d\u01b0\u1edbi d\u1ea1ng hibernate.properties v\u00e0 hibernate.cfg.xml.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Class Mapping Setup: B\u1ed9 ph\u1ea7n n\u00e0y ch\u1ecbu tr\u00e1ch nhi\u1ec7m t\u1ea1o ra \u0111\u01b0\u1eddng li\u00ean h\u1ec7 gi\u1eefa Hibernate v\u00e0 Database.<\/li>\n<\/ul>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Session_Factory_%E2%80%93_Hibernate_la_gi\"><\/span>Session Factory &#8211; Hibernate l\u00e0 g\u00ec<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">Sessionfactory trong Hibernate l\u00e0 m\u1ed9t giao di\u1ec7n k\u1ebft n\u1ed1i \u0111\u1ebfn Database th\u00f4ng qua vi\u1ec7c \u0111\u1ecdc Configuration. M\u1ed7i m\u1ed9t databases y\u00eau c\u1ea7u c\u00f3 m\u1ed9t Session Factory ri\u00eang. Ch\u00ednh v\u00ec th\u1ebf n\u1ebfu b\u1ea1n \u0111ang s\u1eed d\u1ee5ng nhi\u1ec1u c\u01a1 s\u1edf d\u1eef li\u1ec7u m\u1ed9t l\u00fac, v\u00ed d\u1ee5 nh\u01b0 MySQL v\u00e0 Oracle th\u00ec ph\u1ea3i t\u1ea1o ri\u00eang m\u1ed9t\u00a0 Session Factory cho MySQL v\u00e0 m\u1ed9t Session Factory n\u1eefa cho Oracle.<\/p>\n<p style=\"text-align: justify;\">\u0110\u1eb7c \u0111i\u1ec3m c\u1ee7a Sessionfactory l\u00e0 n\u1eb7ng v\u00e0 an to\u00e0n. V\u00ec th\u1ebf n\u00f3 th\u01b0\u1eddng \u0111\u01b0\u1ee3c t\u1ea1o lu\u00f4n trong qu\u00e1 tr\u00ecnh kh\u1edfi \u0111\u1ed9ng Hibernate v\u00e0 l\u01b0u tr\u1eef l\u1ea1i \u0111\u1ec3 d\u00f9ng sau n\u00e0y khi c\u1ea7n.<\/p>\n<p>&gt;&gt;&gt; Xem th\u00eam : <a href=\"https:\/\/teky.edu.vn\/blog\/lap-trinh-huong-doi-tuong-la-gi\/\"><span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;L\u1eadp tr\u00ecnh h\u01b0\u1edbng \u0111\u1ed1i t\u01b0\u1ee3ng l\u00e0 g\u00ec? Gi\u1ea3i m\u00e3 th\u00f4ng tin l\u1eadp tr\u00ecnh&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:4480,&quot;10&quot;:2,&quot;11&quot;:0,&quot;15&quot;:&quot;Arial&quot;}\">L\u1eadp tr\u00ecnh h\u01b0\u1edbng \u0111\u1ed1i t\u01b0\u1ee3ng l\u00e0 g\u00ec? Gi\u1ea3i m\u00e3 th\u00f4ng tin l\u1eadp tr\u00ecnh<\/span><\/a><\/p>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Hibernate_Session\"><\/span>Hibernate Session<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">V\u00ec Sessionfactory l\u00e0 \u0111\u1ed1i t\u01b0\u1ee3ng n\u1eb7ng kh\u00f4ng ti\u1ec7n \u0111\u1ec3 s\u1eed d\u1ee5ng th\u01b0\u1eddng xuy\u00ean. V\u00ec th\u1ebf Sessionfactory s\u1ebd ch\u1ee7 \u0111\u1ed9ng sinh ra c\u00e1c Hibernate Session c\u00f3 thu\u1ed9c t\u00ednh nh\u1eb9 d\u00f9ng \u0111\u1ec3 k\u1ebft n\u1ed1i v\u1eadt l\u00fd v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u. Tuy nhi\u00ean, v\u00ec Hibernate Session kh\u00f4ng an to\u00e0n n\u00ean ng\u01b0\u1eddi d\u00f9ng ch\u1ec9 n\u00ean t\u1ea1o ra khi c\u1ea7n thi\u1ebft v\u00e0 \u0111\u00f3ng l\u1ea1i ngay sau khi \u0111\u00e3 ho\u00e0n th\u00e0nh c\u00f4ng vi\u1ec7c.<\/p>\n<figure id=\"attachment_8206\" aria-describedby=\"caption-attachment-8206\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8206\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/vi-du-ve-hibernate.jpg\" alt=\"V\u00ed d\u1ee5 v\u1ec1 Hibernate\" width=\"650\" height=\"400\" srcset=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/vi-du-ve-hibernate.jpg 650w, https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/vi-du-ve-hibernate-400x246.jpg 400w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><figcaption id=\"caption-attachment-8206\" class=\"wp-caption-text\">V\u00ed d\u1ee5 v\u1ec1 Hibernate<\/figcaption><\/figure>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Transaction\"><\/span>Transaction<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">Transaction \u0111\u01b0\u1ee3c d\u00f9ng nh\u01b0 \u0111\u1ea1i di\u1ec7n cho m\u1ed9t \u0111\u01a1n v\u1ecb l\u00e0m vi\u1ec7c v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u. Transaction \u0111\u1ea3m nhi\u1ec7m ho\u1ea1t \u0111\u1ed9ng b\u1ea3o v\u1ec7 t\u00ednh to\u00e0n v\u1eb9n c\u1ee7a c\u00e1c thao t\u00e1c t\u01b0\u01a1ng t\u00e1c v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u. Khi m\u1ed9t quy tr\u00ecnh kh\u00f4ng may g\u1eb7p l\u1ed7i, t\u1ea5t c\u1ea3 c\u00e1c t\u00e1c v\u1ee5 s\u1ebd \u0111\u01b0\u1ee3c t\u1ef1 \u0111\u1ed9ng th\u1ef1c hi\u1ec7n l\u1ea1i.<\/p>\n<p style=\"text-align: justify;\">B\u1ea1n c\u00f3 th\u1ec3 l\u1ef1a ch\u1ecdn s\u1eed d\u1ee5ng Transaction d\u01b0\u1edbi d\u1ea1ng giao di\u1ec7n ho\u1eb7c m\u00e3 code \u0111\u1ec1u \u0111\u01b0\u1ee3c.<\/p>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Query\"><\/span>Query<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">Query ch\u1ecbu tr\u00e1ch nhi\u1ec7m l\u1ea5y th\u00f4ng tin t\u1eeb c\u00e1c c\u01a1 d\u1eef li\u1ec7u \u0111\u1ec3 kh\u1edfi t\u1ea1o c\u00e1c \u0111\u1ed1i t\u01b0\u1ee3ng th\u00f4ng qua SQL (Native SQL) ho\u1eb7c Hibernate Query Language (HQL).<\/p>\n<h3 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Criteria\"><\/span>Criteria<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p style=\"text-align: justify;\">Ho\u1ea1t \u0111\u1ed9ng l\u1ea5y d\u1eef li\u1ec7u t\u1eeb Database c\u0169ng \u0111\u00f2i h\u1ecfi nh\u1eefng \u0111i\u1ec1u ki\u1ec7n nh\u1ea5t \u0111\u1ecbnh. Criteria \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng nh\u01b0 m\u1ed9t \u0111\u1ed1i t\u01b0\u1ee3ng \u0111\u1ec3 t\u1ea1o v\u00e0 th\u1ef1c hi\u1ec7n nh\u1eefng y\u00eau c\u1ea7u truy v\u1ea5n.<\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Tai_sao_nen_su_dung_Hibernate_%E2%80%93_Hibernate_la_gi\"><\/span>T\u1ea1i sao n\u00ean s\u1eed d\u1ee5ng Hibernate? &#8211; Hibernate l\u00e0 g\u00ec<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">Hibernate \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng ph\u1ed5 bi\u1ebfn nh\u01b0 v\u1eady l\u00e0 v\u00ec n\u00f3 h\u00e0m ch\u1ee9a r\u1ea5t nhi\u1ec1u l\u1ee3i \u00edch tuy\u1ec7t v\u1eddi. C\u00f9ng kh\u00e1m ph\u00e1 ngay \u01b0u \u0111i\u1ec3m c\u1ee7a Hibernate l\u00e0 g\u00ec!<\/p>\n<p>&gt;&gt;&gt; Xem th\u00eam : <a href=\"https:\/\/teky.edu.vn\/blog\/microsoft-azure-la-gi\/\"><span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;Microsoft Azure l\u00e0 g\u00ec? D\u1ecbch v\u1ee5 n\u00e0y ho\u1ea1t \u0111\u1ed9ng nh\u01b0 th\u1ebf n\u00e0o?&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:4480,&quot;10&quot;:2,&quot;11&quot;:0,&quot;15&quot;:&quot;Arial&quot;}\">Microsoft Azure l\u00e0 g\u00ec? D\u1ecbch v\u1ee5 n\u00e0y ho\u1ea1t \u0111\u1ed9ng nh\u01b0 th\u1ebf n\u00e0o?<\/span><\/a><\/p>\n<figure id=\"attachment_8202\" aria-describedby=\"caption-attachment-8202\" style=\"width: 650px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8202\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/cac-buoc-thuc-hien-hibernate.jpg\" alt=\"C\u00e1c b\u01b0\u1edbc th\u1ef1c hi\u1ec7n Hibernate\" width=\"650\" height=\"400\" srcset=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/cac-buoc-thuc-hien-hibernate.jpg 650w, https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/cac-buoc-thuc-hien-hibernate-400x246.jpg 400w\" sizes=\"auto, (max-width: 650px) 100vw, 650px\" \/><figcaption id=\"caption-attachment-8202\" class=\"wp-caption-text\">C\u00e1c b\u01b0\u1edbc th\u1ef1c hi\u1ec7n Hibernate<\/figcaption><\/figure>\n<ul style=\"text-align: justify;\">\n<li style=\"font-weight: 400;\" aria-level=\"1\">\u01afu \u0111i\u1ec3m \u0111\u1ea7u ti\u00ean c\u1ee7a Hibernate l\u00e0 m\u00e3 ngu\u1ed3n m\u1edf v\u00e0 nh\u1eb9. H\u1ec7 th\u1ed1ng n\u00e0y \u0111\u01b0\u1ee3c LGPL c\u1ea5p gi\u1ea5y ph\u00e9p \u0111\u1ec3 c\u00f4ng nh\u1eadn l\u1ee3i \u00edch n\u00e0y.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Hibernate s\u1edf h\u1eefu b\u1ed9 nh\u1edb cache trong n\u1ed9i b\u1ed9. Ch\u00ednh v\u00ec th\u1ebf n\u00f3 s\u1edf h\u1eefu hi\u1ec7u su\u1ea5t l\u00e0m vi\u1ec7c r\u1ea5t cao. C\u00e1c ho\u1ea1t \u0111\u1ed9ng \u0111\u01b0\u1ee3c th\u1ef1c hi\u1ec7n nhanh ch\u00f3ng trong th\u1eddi gian ng\u1eafn nh\u1edd 2 lo\u1ea1i b\u1ed9 nh\u1edb: b\u1ed9 nh\u1edb cache c\u1ea5p 1 v\u00e0 b\u1ed9 nh\u1edb cache c\u1ea5p 2.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Hibernate s\u1edf h\u1eefu t\u00ednh \u0111\u1ed9c l\u1eadp r\u1ea5t m\u1ea1nh m\u1ebd. V\u00ec th\u1ebf ng\u01b0\u1eddi d\u00f9ng kh\u00f4ng c\u1ea7n quan t\u00e2m \u0111\u1ebfn vi\u1ec7c ph\u1ea3i vi\u1ebft l\u1ea1i c\u00e1c truy v\u1ea5n khi thay \u0111\u1ed5i c\u01a1 s\u1edf d\u1eef li\u1ec7u. \u01afu \u0111i\u1ec3m n\u00e0y c\u0169ng gi\u00fap h\u1ea1n ch\u1ebf c\u00e1c l\u1ed7i x\u1ea3y ra trong qu\u00e1 tr\u00ecnh b\u1ea3o tr\u00ec khi b\u1eaft bu\u1ed9c ph\u1ea3i thay truy v\u1ea5n.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Hibernate gi\u00fap qu\u00e1 tr\u00ecnh thao t\u00e1c v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u tr\u1edf n\u00ean d\u1ec5 d\u00e0ng h\u01a1n r\u1ea5t nhi\u1ec1u. N\u00f3 c\u00f3 th\u1ec3 thay th\u1ebf c\u00e1c b\u01b0\u1edbc th\u1ee7 c\u00f4ng \u0111\u1ec3 t\u1ef1 \u0111\u1ed9ng t\u1ea1o ra c\u00e1c b\u1ea3ng d\u1eef li\u1ec7u. Ngo\u00e0i ra, Hibernate c\u0169ng \u0111\u01a1n gi\u1ea3n h\u00f3a c\u00e1c l\u1ec7nh truy c\u1eadp v\u00e0 t\u1ea3i d\u1eef li\u1ec7u.<\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\">Hibernate \u0111\u1ea1t \u0111\u01b0\u1ee3c \u0111\u1ed9 tin c\u1eady cao nh\u1edd qu\u00e1 tr\u00ecnh ki\u1ec3m th\u1eed. K\u1ebft qu\u1ea3 cho th\u1ea5y Hibernate g\u1ea7n nh\u01b0 kh\u00f4ng x\u1ea3y ra l\u1ed7i trong qu\u00e1 tr\u00ecnh truy v\u1ea5n.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/lotrinhlaptrinh.teky.vn\/?utm_id=ContentBlog&amp;utm_medium=Click_Blog&amp;utm_source=ContentBlog\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-22422\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2023\/10\/lap-trinh-cho-tre.gif\" alt=\"lap-trinh-cho-tre\" width=\"600\" height=\"314\" \/><\/a><\/p>\n<p>&gt;&gt;&gt; Xem th\u00eam : <a href=\"https:\/\/teky.edu.vn\/blog\/mean-stack-la-gi-2\/\"><span data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;MEAN Stack l\u00e0 g\u00ec? L\u00e0m th\u1ebf n\u00e0o \u0111\u1ec3 c\u00e0i \u0111\u1eb7t MEAN Stack&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:4480,&quot;10&quot;:2,&quot;11&quot;:0,&quot;15&quot;:&quot;Arial&quot;}\">MEAN Stack l\u00e0 g\u00ec? L\u00e0m th\u1ebf n\u00e0o \u0111\u1ec3 c\u00e0i \u0111\u1eb7t MEAN Stack<\/span><\/a><\/p>\n<h2 style=\"text-align: justify;\"><span class=\"ez-toc-section\" id=\"Ket_luan\"><\/span>K\u1ebft lu\u1eadn<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p style=\"text-align: justify;\">V\u1eeba r\u1ed3i Teky \u0111\u00e3 c\u00f9ng b\u1ea1n \u0111\u1ecdc kh\u00e1m ph\u00e1 Hibernate l\u00e0 g\u00ec. Hibernate l\u00e0 m\u1ed9t h\u1ec7 th\u1ed1ng mang \u0111\u1ebfn s\u1ef1 k\u1ebft n\u1ed1i gi\u1eefa ng\u01b0\u1eddi d\u00f9ng v\u00e0 c\u01a1 s\u1edf d\u1eef li\u1ec7u. Nh\u1eefng \u01b0u \u0111i\u1ec3m c\u1ee7a Hibernate gi\u00fap cho vi\u1ec7c thao t\u00e1c di\u1ec5n ra nhanh ch\u00f3ng v\u00e0 m\u1ea1nh m\u1ebd h\u01a1n. Ng\u01b0\u1eddi d\u00f9ng c\u00f3 th\u1ec3 d\u1ec5 d\u00e0ng tri\u1ec3n khai Hibernate b\u1eb1ng nh\u1eefng b\u01b0\u1edbc r\u1ea5t \u0111\u01a1n gi\u1ea3n. Mong r\u1eb1ng sau khi nh\u1eadn \u0111\u01b0\u1ee3c nh\u1eefng th\u00f4ng tin qu\u00fd gi\u00e1 n\u00e0y, b\u1ea1n s\u1ebd \u00e1p d\u1ee5ng \u0111\u01b0\u1ee3c ch\u00fang v\u00e0o c\u00f4ng vi\u1ec7c c\u1ee7a b\u1ea3n th\u00e2n m\u1ed9t c\u00e1ch h\u1eefu \u00edch. H\u1eb9n g\u1eb7p b\u1ea1n \u1edf nh\u1eefng b\u00e0i gi\u1ea3i \u0111\u00e1p ti\u1ebfp theo.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Hoc_Vien_Cong_Nghe_Teky_duoc_chon_la_dia_chi_hoc_lap_trinh_uy_tin_nhat_cho_tre\"><\/span><span style=\"font-size: 24px; color: #339966;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;C\u00f9ng T\u00ecm Hi\u1ec3u V\u1ec1 Teky H\u1ecdc Vi\u1ec7n 5 sao \u0110\u00e0o T\u1ea1o Tr\u1ebb Em H\u1ecdc L\u1eadp Tr\u00ecnh (4-18 tu\u1ed5i)&quot;}\" data-sheets-userformat=\"{&quot;2&quot;:17153,&quot;3&quot;:{&quot;1&quot;:0},&quot;11&quot;:4,&quot;12&quot;:0,&quot;17&quot;:1}\">H\u1ecdc Vi\u1ec7n C\u00f4ng Ngh\u1ec7 Teky \u0111\u01b0\u1ee3c ch\u1ecdn l\u00e0 \u0111\u1ecba ch\u1ec9 h\u1ecdc l\u1eadp tr\u00ecnh uy t\u00edn nh\u1ea5t cho tr\u1ebb\u00a0<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><iframe loading=\"lazy\" title=\"H\u1ecdc l\u1eadp tr\u00ecnh tr\u1ebb em \u1edf \u0111\u00e2u? - Gi\u1edbi thi\u1ec7u h\u1ecdc vi\u1ec7n c\u00f4ng ngh\u1ec7 TEKY h\u00e0ng \u0111\u1ea7u Vi\u1ec7t Nam\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/kGgr0XJAxFM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p><strong>TEKY l\u00e0 H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7<\/strong> v\u1edbi ch\u01b0\u01a1ng tr\u00ecnh gi\u1ea3ng d\u1ea1y STEAM (Science \u2013 Technology \u2013 Engineering \u2013 Art \u2013 Mathematics) theo chu\u1ea9n M\u1ef9 \u0111\u1ea7u ti\u00ean t\u1ea1i Vi\u1ec7t Nam d\u00e0nh cho tr\u1ebb em t\u1eeb 4 \u0111\u1ebfn 18 tu\u1ed5i.<\/p>\n<p>\u0110\u01b0\u1ee3c th\u00e0nh l\u1eadp v\u00e0o th\u00e1ng 6 n\u0103m 2016, TEKY quy\u1ebft t\u00e2m th\u1ef1c hi\u1ec7n s\u1ee9 m\u1ec7nh mang \u0111\u1ebfn cho th\u1ebf h\u1ec7 tr\u1ebb Vi\u1ec7t Nam ki\u1ebfn th\u1ee9c to\u00e0n di\u1ec7n v\u1ec1 STEAM, \u0111\u1eb7c bi\u1ec7t l\u00e0 c\u00e1c t\u01b0 duy c\u00f4ng ngh\u1ec7, khoa h\u1ecdc m\u00e1y t\u00ednh v\u00e0 k\u1ef9 n\u0103ng th\u1ebf k\u1ef7 21 \u2013 4Cs (Critical Thinking: T\u01b0 duy ph\u1ea3n bi\u1ec7n \u2013 Communication: Giao ti\u1ebfp \u2013 Creativity: S\u00e1ng t\u1ea1o \u2013 Collaboration: L\u00e0m vi\u1ec7c nh\u00f3m).<\/p>\n<figure id=\"attachment_14828\" aria-describedby=\"caption-attachment-14828\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/teky.edu.vn\/?utm_source=Blog&amp;utm_medium=baiviet\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-14828 size-full\" src=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/03\/Trai-nghiem-hoc-lap-trinh-mien-phi.jpg\" alt=\"Tr\u1ea3i nghi\u1ec7m h\u1ecdc l\u1eadp tr\u00ecnh mi\u1ec5n ph\u00ed\" width=\"600\" height=\"400\" srcset=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/03\/Trai-nghiem-hoc-lap-trinh-mien-phi.jpg 600w, https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/03\/Trai-nghiem-hoc-lap-trinh-mien-phi-400x267.jpg 400w, https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/03\/Trai-nghiem-hoc-lap-trinh-mien-phi-272x182.jpg 272w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-14828\" class=\"wp-caption-text\">Tr\u1ea3i nghi\u1ec7m h\u1ecdc l\u1eadp tr\u00ecnh mi\u1ec5n ph\u00ed<\/figcaption><\/figure>\n<h4><span class=\"ez-toc-section\" id=\"Day_la_chuong_trinh_khong_chi_trang_bi_kien_thuc_lap_trinh_ma_con_ren_luyen_nhom_ky_nang_4Cs_Tre_se_duoc\"><\/span>\u0110\u00e2y l\u00e0 ch\u01b0\u01a1ng tr\u00ecnh kh\u00f4ng ch\u1ec9 trang b\u1ecb ki\u1ebfn th\u1ee9c l\u1eadp tr\u00ecnh m\u00e0 c\u00f2n r\u00e8n luy\u1ec7n nh\u00f3m k\u1ef9 n\u0103ng 4Cs. Tr\u1ebb s\u1ebd \u0111\u01b0\u1ee3c:<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ul>\n<li>\u00a0H\u1ecdc t\u01b0 duy ph\u1ea3n bi\u1ec7n th\u00f4ng qua vi\u1ec7c ph\u00e2n t\u00edch c\u00e1c v\u1ea5n \u0111\u1ec1.<\/li>\n<li>\u00a0H\u1ecdc t\u00ednh s\u00e1ng t\u1ea1o t\u01b0 duy Logic th\u00f4ng qua vi\u1ec7c l\u1eafp \u0111\u1eb7t v\u00e0 l\u1eadp tr\u00ecnh robot th \u00f4ng qua c\u00e1c m\u00f4 h\u00ecnh Lego Mindstorm, app tr\u00f2 ch\u01a1i. Gi\u00fap con h\u1ecdc gi\u1ecfi m\u00f4n To\u00e1n tr\u00ean l\u1edbp<\/li>\n<li>\u00a0K\u1ef9 n\u0103ng h\u1ee3p t\u00e1c th\u00f4ng qua c\u00e1c tr\u00f2 ch\u01a1i team-building, c\u00e1c d\u1ef1 \u00e1n nh\u00f3m tr\u00ean l\u1edbp.<\/li>\n<li>\u00a0Ph\u00e1t huy kh\u1ea3 n\u0103ng giao ti\u1ebfp hi\u1ec7u qu\u1ea3 b\u1eb1ng nhi\u1ec1u b\u00e0i t\u1eadp v\u00e0 ho\u1ea1t \u0111\u1ed9ng h\u1ea5p d\u1eabn.<\/li>\n<\/ul>\n<p><iframe loading=\"lazy\" title=\"Shark Nguy\u1ec5n Ho\u00e0 B\u00ecnh \u0111\u1ed3ng h\u00e0nh c\u00f9ng con h\u1ecdc l\u1eadp tr\u00ecnh t\u1ea1i h\u1ecdc vi\u1ec7n c\u00f4ng ngh\u1ec7 Teky h\u00e0ng \u0111\u1ea7u Vi\u1ec7t Nam\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/q6QbqIs6ll8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>C\u00e1c b\u1ed9 m\u00f4n gi\u1ea3ng d\u1ea1y t\u1ea1i Teky g\u1ed3m: <span style=\"font-weight: 400;\">L\u1eadp tr\u00ecnh v\u00e0 ph\u00e1t tri\u1ec3n \u1ee9ng d\u1ee5ng<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">l\u1eadp tr\u00ecnh game<\/span><span style=\"font-weight: 400;\">, <\/span><span style=\"font-weight: 400;\">l\u1eadp tr\u00ecnh web v\u1edbi python<\/span> <span style=\"font-weight: 400;\">\u00a0<\/span><span style=\"font-weight: 400;\">L\u1eadp tr\u00ecnh Scratch<\/span> <span style=\"font-weight: 400;\">Robotics<\/span> Engineering, C\u00f4ng ngh\u1ec7 3D v\u00e0 MultiMedia. Ch\u00fang t\u00f4i tin r\u1eb1ng tr\u1ebb em Vi\u1ec7t Nam c\u00f3 c\u01a1 h\u1ed9i ph\u00e1t tri\u1ec3n m\u1ea1nh m\u1ebd trong m\u1ed9t n\u1ec1n kinh t\u1ebf s\u1ed1 v\u00e0 c\u1ea7n \u0111\u01b0\u1ee3c trang b\u1ecb s\u1eb5n s\u00e0ng \u0111\u1ec3 tr\u1edf th\u00e0nh nh\u1eefng doanh nh\u00e2n c\u00f4ng ngh\u1ec7 trong t\u01b0\u01a1ng lai.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Lien_he_ngay_hoc_vien_cong_nghe_sang_tao_TEKY_de_duoc_tu_van_khoa_hoc\"><\/span><span style=\"color: #008000;\"><b>Li\u00ean h\u1ec7 ngay h\u1ecdc vi\u1ec7n c\u00f4ng ngh\u1ec7 s\u00e1ng t\u1ea1o TEKY \u0111\u1ec3 \u0111\u01b0\u1ee3c t\u01b0 v\u1ea5n kh\u00f3a h\u1ecdc:<\/b><\/span><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Cam k\u00eat 7 tu\u1ed5i c\u00f3 th\u1ec3 l\u1eadp tr\u00ecnh<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Top 10 d\u1ef1 \u00e1n gi\u00e1o d\u1ee5c c\u00f3 t\u1ea7m \u1ea3nh h\u01b0\u1edfng nh\u1ea5t \u0110\u00f4ng Nam \u00c1 2017 &amp; 2018<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Top 3 D\u1ef1 \u00e1n xu\u1ea5t s\u1eafc nh\u1ea5t, NextGen \u2013 Th\u1ee5y S\u0129<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\u00a0Hotline H\u00e0 N\u1ed9i: 024-7109-6668 | 0975-241-015<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">\u00a0Hotline H\u1ed3 Ch\u00ed Minh: 028-7109 9948 | 097-900-8642<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Website <\/span><a href=\"https:\/\/teky.edu.vn\/\"><span style=\"font-weight: 400;\">https:\/\/teky.edu.vn<\/span><\/a><span style=\"font-weight: 400;\"> | Email: support@teky.edu.vn |<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ki\u1ebfn th\u1ee9c l\u1eadp tr\u00ecnh kh\u00f4ng bao gi\u1edd c\u00f3 gi\u1edbi h\u1ea1n. N\u1ebfu b\u1ea1n l\u00e0 m\u1ed9t ng\u01b0\u1eddi hay c\u00f3 d\u1ecbp l\u00e0m vi\u1ec7c c\u00f9ng ng\u00f4n ng\u1eef l\u1eadp tr\u00ecnh Java, h\u1eb3n b\u1ea1n \u0111\u00e3 t\u1eebng nghe \u0111\u1ebfn c\u00e1i t\u00ean Hibernate. \u0110\u01b0\u01a1ng nhi\u00ean ch\u00fang ta \u0111\u1ec1u bi\u1ebft Hibernate l\u00e0 m\u1ed9t c\u00f4ng c\u1ee5 h\u1ed7 tr\u1ee3 \u0111\u1ed1i v\u1edbi nh\u1eefng ph\u1ea7n m\u1ec1m \u0111\u01b0\u1ee3c ph\u00e1t &hellip;<\/p>\n","protected":false},"author":10,"featured_media":8203,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"show_on_app":false,"footnotes":""},"categories":[28],"tags":[],"class_list":["post-8199","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-lap-trinh"],"acf":{"show_on_app":false},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.9 (Yoast SEO v26.0) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Hibernate l\u00e0 g\u00ec? Th\u00f4ng tin chi ti\u1ebft v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 n\u00e0y<\/title>\n<meta name=\"description\" content=\"Hibernate l\u00e0 g\u00ec? Hi\u1ec3u \u0111\u01b0\u1ee3c kh\u00e1i ni\u1ec7m n\u00e0y s\u1ebd gi\u00fap b\u1ea1n bi\u1ebft th\u00eam nhi\u1ec1u k\u1ef9 n\u0103ng s\u1eed d\u1ee5ng trong ng\u00e0nh l\u1eadp tr\u00ecnh v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/\" \/>\n<meta property=\"og:locale\" content=\"vi_VN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Hibernate l\u00e0 g\u00ec? Th\u00f4ng tin chi ti\u1ebft v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 n\u00e0y\" \/>\n<meta property=\"og:description\" content=\"Hibernate l\u00e0 g\u00ec? Hi\u1ec3u \u0111\u01b0\u1ee3c kh\u00e1i ni\u1ec7m n\u00e0y s\u1ebd gi\u00fap b\u1ea1n bi\u1ebft th\u00eam nhi\u1ec1u k\u1ef9 n\u0103ng s\u1eed d\u1ee5ng trong ng\u00e0nh l\u1eadp tr\u00ecnh v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/\" \/>\n<meta property=\"og:site_name\" content=\"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/TekyAcademy\" \/>\n<meta property=\"article:published_time\" content=\"2023-10-24T16:34:45+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-29T08:33:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/hibernate-la-gi.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"650\" \/>\n\t<meta property=\"og:image:height\" content=\"400\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Kh\u00e1nh Kim\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@SteamTeky\" \/>\n<meta name=\"twitter:site\" content=\"@SteamTeky\" \/>\n<meta name=\"twitter:label1\" content=\"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kh\u00e1nh Kim\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 ph\u00fat\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/\"},\"author\":{\"name\":\"Kh\u00e1nh Kim\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/#\/schema\/person\/8f946d2123e4e2277107e392790a1bd6\"},\"headline\":\"Hibernate l\u00e0 g\u00ec? Th\u00f4ng tin chi ti\u1ebft v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 n\u00e0y\",\"datePublished\":\"2023-10-24T16:34:45+00:00\",\"dateModified\":\"2023-10-29T08:33:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/\"},\"wordCount\":2928,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/hibernate-la-gi.jpg\",\"articleSection\":[\"IT - L\u1eadp tr\u00ecnh\"],\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/\",\"url\":\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/\",\"name\":\"Hibernate l\u00e0 g\u00ec? Th\u00f4ng tin chi ti\u1ebft v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 n\u00e0y\",\"isPartOf\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/hibernate-la-gi.jpg\",\"datePublished\":\"2023-10-24T16:34:45+00:00\",\"dateModified\":\"2023-10-29T08:33:04+00:00\",\"description\":\"Hibernate l\u00e0 g\u00ec? Hi\u1ec3u \u0111\u01b0\u1ee3c kh\u00e1i ni\u1ec7m n\u00e0y s\u1ebd gi\u00fap b\u1ea1n bi\u1ebft th\u00eam nhi\u1ec1u k\u1ef9 n\u0103ng s\u1eed d\u1ee5ng trong ng\u00e0nh l\u1eadp tr\u00ecnh v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u.\",\"breadcrumb\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#breadcrumb\"},\"inLanguage\":\"vi\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#primaryimage\",\"url\":\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/hibernate-la-gi.jpg\",\"contentUrl\":\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/hibernate-la-gi.jpg\",\"width\":650,\"height\":400,\"caption\":\"Hibernate l\u00e0 g\u00ec?\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"IT - L\u1eadp tr\u00ecnh\",\"item\":\"https:\/\/teky.edu.vn\/blog\/lap-trinh\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Hibernate l\u00e0 g\u00ec? Th\u00f4ng tin chi ti\u1ebft v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 n\u00e0y\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/#website\",\"url\":\"https:\/\/teky.edu.vn\/blog\/\",\"name\":\"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7\",\"description\":\"Tr\u1ebb em c\u1ea7n h\u1ecdc l\u1eadp tr\u00ecnh\",\"publisher\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/teky.edu.vn\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"vi\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/#organization\",\"name\":\"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7\",\"url\":\"https:\/\/teky.edu.vn\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/02\/logo-teky.png\",\"contentUrl\":\"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/02\/logo-teky.png\",\"width\":495,\"height\":234,\"caption\":\"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7\"},\"image\":{\"@id\":\"https:\/\/teky.edu.vn\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/TekyAcademy\",\"https:\/\/x.com\/SteamTeky\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/#\/schema\/person\/8f946d2123e4e2277107e392790a1bd6\",\"name\":\"Kh\u00e1nh Kim\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"vi\",\"@id\":\"https:\/\/teky.edu.vn\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ab08c4bbf1d0787f26b32ab04d2cb7e329a3a082ea3dcb6ba78fb27076b856a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ab08c4bbf1d0787f26b32ab04d2cb7e329a3a082ea3dcb6ba78fb27076b856a9?s=96&d=mm&r=g\",\"caption\":\"Kh\u00e1nh Kim\"},\"url\":\"https:\/\/teky.edu.vn\/blog\/author\/kimkhanh\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Hibernate l\u00e0 g\u00ec? Th\u00f4ng tin chi ti\u1ebft v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 n\u00e0y","description":"Hibernate l\u00e0 g\u00ec? Hi\u1ec3u \u0111\u01b0\u1ee3c kh\u00e1i ni\u1ec7m n\u00e0y s\u1ebd gi\u00fap b\u1ea1n bi\u1ebft th\u00eam nhi\u1ec1u k\u1ef9 n\u0103ng s\u1eed d\u1ee5ng trong ng\u00e0nh l\u1eadp tr\u00ecnh v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/","og_locale":"vi_VN","og_type":"article","og_title":"Hibernate l\u00e0 g\u00ec? Th\u00f4ng tin chi ti\u1ebft v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 n\u00e0y","og_description":"Hibernate l\u00e0 g\u00ec? Hi\u1ec3u \u0111\u01b0\u1ee3c kh\u00e1i ni\u1ec7m n\u00e0y s\u1ebd gi\u00fap b\u1ea1n bi\u1ebft th\u00eam nhi\u1ec1u k\u1ef9 n\u0103ng s\u1eed d\u1ee5ng trong ng\u00e0nh l\u1eadp tr\u00ecnh v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u.","og_url":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/","og_site_name":"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7","article_publisher":"https:\/\/www.facebook.com\/TekyAcademy","article_published_time":"2023-10-24T16:34:45+00:00","article_modified_time":"2023-10-29T08:33:04+00:00","og_image":[{"width":650,"height":400,"url":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/hibernate-la-gi.jpg","type":"image\/jpeg"}],"author":"Kh\u00e1nh Kim","twitter_card":"summary_large_image","twitter_creator":"@SteamTeky","twitter_site":"@SteamTeky","twitter_misc":{"\u0110\u01b0\u1ee3c vi\u1ebft b\u1edfi":"Kh\u00e1nh Kim","\u01af\u1edbc t\u00ednh th\u1eddi gian \u0111\u1ecdc":"13 ph\u00fat"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#article","isPartOf":{"@id":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/"},"author":{"name":"Kh\u00e1nh Kim","@id":"https:\/\/teky.edu.vn\/blog\/#\/schema\/person\/8f946d2123e4e2277107e392790a1bd6"},"headline":"Hibernate l\u00e0 g\u00ec? Th\u00f4ng tin chi ti\u1ebft v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 n\u00e0y","datePublished":"2023-10-24T16:34:45+00:00","dateModified":"2023-10-29T08:33:04+00:00","mainEntityOfPage":{"@id":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/"},"wordCount":2928,"commentCount":0,"publisher":{"@id":"https:\/\/teky.edu.vn\/blog\/#organization"},"image":{"@id":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#primaryimage"},"thumbnailUrl":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/hibernate-la-gi.jpg","articleSection":["IT - L\u1eadp tr\u00ecnh"],"inLanguage":"vi","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/","url":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/","name":"Hibernate l\u00e0 g\u00ec? Th\u00f4ng tin chi ti\u1ebft v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 n\u00e0y","isPartOf":{"@id":"https:\/\/teky.edu.vn\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#primaryimage"},"image":{"@id":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#primaryimage"},"thumbnailUrl":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/hibernate-la-gi.jpg","datePublished":"2023-10-24T16:34:45+00:00","dateModified":"2023-10-29T08:33:04+00:00","description":"Hibernate l\u00e0 g\u00ec? Hi\u1ec3u \u0111\u01b0\u1ee3c kh\u00e1i ni\u1ec7m n\u00e0y s\u1ebd gi\u00fap b\u1ea1n bi\u1ebft th\u00eam nhi\u1ec1u k\u1ef9 n\u0103ng s\u1eed d\u1ee5ng trong ng\u00e0nh l\u1eadp tr\u00ecnh v\u1edbi c\u01a1 s\u1edf d\u1eef li\u1ec7u.","breadcrumb":{"@id":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#breadcrumb"},"inLanguage":"vi","potentialAction":[{"@type":"ReadAction","target":["https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/"]}]},{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#primaryimage","url":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/hibernate-la-gi.jpg","contentUrl":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/hibernate-la-gi.jpg","width":650,"height":400,"caption":"Hibernate l\u00e0 g\u00ec?"},{"@type":"BreadcrumbList","@id":"https:\/\/teky.edu.vn\/blog\/hibernate-la-gi\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"IT - L\u1eadp tr\u00ecnh","item":"https:\/\/teky.edu.vn\/blog\/lap-trinh\/"},{"@type":"ListItem","position":2,"name":"Hibernate l\u00e0 g\u00ec? Th\u00f4ng tin chi ti\u1ebft v\u00e0 c\u00e1ch s\u1eed d\u1ee5ng c\u00f4ng c\u1ee5 n\u00e0y"}]},{"@type":"WebSite","@id":"https:\/\/teky.edu.vn\/blog\/#website","url":"https:\/\/teky.edu.vn\/blog\/","name":"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7","description":"Tr\u1ebb em c\u1ea7n h\u1ecdc l\u1eadp tr\u00ecnh","publisher":{"@id":"https:\/\/teky.edu.vn\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/teky.edu.vn\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"vi"},{"@type":"Organization","@id":"https:\/\/teky.edu.vn\/blog\/#organization","name":"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7","url":"https:\/\/teky.edu.vn\/blog\/","logo":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/teky.edu.vn\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/02\/logo-teky.png","contentUrl":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/02\/logo-teky.png","width":495,"height":234,"caption":"TEKY - H\u1ecdc vi\u1ec7n s\u00e1ng t\u1ea1o c\u00f4ng ngh\u1ec7"},"image":{"@id":"https:\/\/teky.edu.vn\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/TekyAcademy","https:\/\/x.com\/SteamTeky"]},{"@type":"Person","@id":"https:\/\/teky.edu.vn\/blog\/#\/schema\/person\/8f946d2123e4e2277107e392790a1bd6","name":"Kh\u00e1nh Kim","image":{"@type":"ImageObject","inLanguage":"vi","@id":"https:\/\/teky.edu.vn\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ab08c4bbf1d0787f26b32ab04d2cb7e329a3a082ea3dcb6ba78fb27076b856a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ab08c4bbf1d0787f26b32ab04d2cb7e329a3a082ea3dcb6ba78fb27076b856a9?s=96&d=mm&r=g","caption":"Kh\u00e1nh Kim"},"url":"https:\/\/teky.edu.vn\/blog\/author\/kimkhanh\/"}]}},"thumbnail":"https:\/\/teky.edu.vn\/blog\/wp-content\/uploads\/2021\/07\/hibernate-la-gi-400x246.jpg","_links":{"self":[{"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/posts\/8199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/comments?post=8199"}],"version-history":[{"count":3,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/posts\/8199\/revisions"}],"predecessor-version":[{"id":23052,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/posts\/8199\/revisions\/23052"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/media\/8203"}],"wp:attachment":[{"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/media?parent=8199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/categories?post=8199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/teky.edu.vn\/blog\/wp-json\/wp\/v2\/tags?post=8199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}