{"id":26444,"date":"2024-10-27T10:52:41","date_gmt":"2024-10-27T10:52:41","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=26444"},"modified":"2024-11-26T07:43:00","modified_gmt":"2024-11-26T07:43:00","slug":"%ec%8a%a4%ed%94%84%eb%a7%81-%eb%b6%80%ed%8a%b8-%eb%b0%b1%ec%97%94%eb%93%9c-%ea%b0%9c%eb%b0%9c-%ea%b0%95%ec%a2%8c-orm%ec%9d%b4%eb%9e%80","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/26444\/","title":{"rendered":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780"},"content":{"rendered":"<p><body><\/p>\n<p>\uc2a4\ud504\ub9c1 \ubd80\ud2b8(Spring Boot)\ub294 \uc790\ubc14 \uae30\ubc18\uc758 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc758 \uc8fc\uc694 \uac1c\ub150 \uc911 \ud558\ub098\uc778 ORM(Object-Relational Mapping)\uc774\ub77c\ub294 \uc8fc\uc81c\ub97c \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. ORM\uc740 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc778 \uc790\ubc14\uc640 \uad00\uacc4\ud615 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uac04\uc758 \uc0c1\ud638 \uc791\uc6a9\uc744 \ub2e8\uc21c\ud654\ud574\uc8fc\ub294 \uae30\uc220\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 ORM\uc758 \uc815\uc758, \uc7a5\uc810, \uc0ac\uc6a9 \ubc29\ubc95, \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc640\uc758 \ud1b5\ud569 \ub4f1 \ub2e4\uc591\ud55c \ub0b4\uc6a9\uc744 \uae4a\uc774 \uc788\uac8c \ud30c\ud5e4\uccd0 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>ORM\uc758 \uc815\uc758<\/h2>\n<p>ORM\uc740 \uac1d\uccb4 \uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub294 \uac1d\uccb4\uc640 \uad00\uacc4\ud615 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0\uc11c \uc0ac\uc6a9\ud558\ub294 \ud14c\uc774\ube14 \uac04\uc758 \ub9e4\ud551\uc744 \uc81c\uacf5\ud558\ub294 \uae30\uc220\uc785\ub2c8\ub2e4. \uac04\ub2e8\ud788 \ub9d0\ud558\uc790\uba74, ORM\uc740 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc758 \ub370\uc774\ud130\ub97c \uac1d\uccb4 \uc9c0\ud5a5 \uc5b8\uc5b4\uc758 \uac1d\uccb4\ub85c \ud45c\ud604\ud560 \uc218 \uc788\uac8c \ud574\uc90d\ub2c8\ub2e4. \uc774\ub85c \uc778\ud574 \uac1c\ubc1c\uc790\ub294 SQL \ucffc\ub9ac\ub97c \uc791\uc131\ud558\uc9c0 \uc54a\uace0\ub3c4 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640 \uc0c1\ud638 \uc791\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. ORM\uc758 \uc77c\ubc18\uc801\uc778 \uad6c\ud604\uccb4\ub85c\ub294 Hibernate, JPA(Java Persistence API) \ub4f1\uc774 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>ORM\uc758 \uc5ed\uc0ac<\/h2>\n<p>ORM\uc758 \uac1c\ub150\uc740 1980\ub144\ub300 \ud6c4\ubc18\uc73c\ub85c \uac70\uc2ac\ub7ec \uc62c\ub77c\uac08 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ucc98\uc74c\uc5d0\ub294 \uac1d\uccb4 \uc9c0\ud5a5 \uc5b8\uc5b4\uc758 \ubc1c\uc804\uacfc \ud568\uaed8 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640\uc758 \uac04\uacb0\ud55c \uc0c1\ud638 \uc791\uc6a9\uc744 \uc704\ud574 \ub4f1\uc7a5\ud558\uc600\uc2b5\ub2c8\ub2e4. \uc810\uc9c4\uc801\uc73c\ub85c ORM \uae30\uc220\ub4e4\uc740 \uadf8 \ud6a8\uc6a9\uc131\uacfc \uc0dd\uc0b0\uc131\uc744 \uc778\uc815\ubc1b\uc544 \ub2e4\uc591\ud55c \ud504\ub808\uc784\uc6cc\ud06c\uc640 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc5d0\uc11c \ub110\ub9ac \uc0ac\uc6a9\ub418\uac8c \ub418\uc5c8\uc2b5\ub2c8\ub2e4. \ud2b9\ud788 \uc790\ubc14 \uc0dd\ud0dc\uacc4\uc5d0\uc11c\ub294 JPA\uc640 Hibernate\uac00 ORM\uc758 \ub300\ud45c\uc801\uc778 \uad6c\ud604\uccb4\ub85c \uc790\ub9ac\uc7a1\uac8c \ub418\uc5c8\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>ORM\uc758 \uc7a5\uc810<\/h2>\n<p>ORM\uc744 \uc0ac\uc6a9\ud558\uba74 \ub2e4\uc74c\uacfc \uac19\uc740 \uc5ec\ub7ec \uac00\uc9c0 \uc7a5\uc810\uc744 \ub204\ub9b4 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\uc0dd\uc0b0\uc131 \ud5a5\uc0c1:<\/strong> ORM\uc744 \uc0ac\uc6a9\ud558\uba74 SQL \ucffc\ub9ac\ub97c \uc9c1\uc811 \uc791\uc131\ud560 \ud544\uc694\uac00 \uc5c6\uc5b4\uc9c0\ubbc0\ub85c \uac1c\ubc1c \uc0dd\uc0b0\uc131\uc774 \ud06c\uac8c \ud5a5\uc0c1\ub429\ub2c8\ub2e4.<\/li>\n<li><strong>\uc720\uc9c0 \ubcf4\uc218 \uc6a9\uc774\uc131:<\/strong> \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uad6c\uc870\uac00 \ubcc0\uacbd\ub418\ub354\ub77c\ub3c4 \uac1d\uccb4 \ub9f5\ud551\uc73c\ub85c \uc778\ud574 \ucf54\ub4dc\uc758 \ubcc0\uacbd\uc774 \ub35c \ud544\uc694\ud558\ubbc0\ub85c \uc720\uc9c0 \ubcf4\uc218\uac00 \uc27d\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uac1d\uccb4 \uc9c0\ud5a5 \uac1c\ubc1c:<\/strong> \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc758 \ub370\uc774\ud130\uac00 \uac1d\uccb4\ub85c \ud45c\ud604\ub428\uc73c\ub85c\uc368 \uac1d\uccb4 \uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d\uc758 \uc7a5\uc810\uc744 \ucd5c\ub300\ud55c\uc73c\ub85c \ud65c\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\ub370\uc774\ud130\ubca0\uc774\uc2a4 \ub3c5\ub9bd\uc131:<\/strong> ORM\uc744 \uc0ac\uc6a9\ud558\uba74 \ud2b9\uc815 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ubca4\ub354\uc5d0 \uc885\uc18d\ub418\uc9c0 \uc54a\uace0 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 DB \ub3c5\ub9bd\uc801\uc73c\ub85c \uac1c\ubc1c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>ORM\uc758 \ub2e8\uc810<\/h2>\n<p>\ubb3c\ub860 ORM\uc740 \uc7a5\uc810\ub9cc \uc788\ub294 \uac83\uc740 \uc544\ub2d9\ub2c8\ub2e4. \ub2e4\uc74c\uc740 ORM \uc0ac\uc6a9\uc758 \ub2e8\uc810\uc785\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>\uc131\ub2a5 \ubb38\uc81c:<\/strong> ORM\uc774 SQL\uc744 \uc790\ub3d9 \uc0dd\uc131\ud558\uae30 \ub54c\ubb38\uc5d0 \uc131\ub2a5 \uc774\uc288\uac00 \ubc1c\uc0dd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc798\ubabb\ub41c \ucffc\ub9ac \uc0dd\uc131\uc774\ub098 \ubd88\ud544\uc694\ud55c JOIN \ub4f1\uc774 \ubb38\uc81c\uac00 \ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\ucd94\uc0c1\ud654\uc758 \ud55c\uacc4:<\/strong> ORM\uc758 \ucd94\uc0c1\ud654\uac00 \ubaa8\ub4e0 \ub370\uc774\ud130\ub97c \uc815\ud655\ud788 \ud45c\ud604\ud560 \uc218 \uc5c6\uc744 \uacbd\uc6b0\uac00 \uc788\uc73c\uba70, \ubcf5\uc7a1\ud55c \ucffc\ub9ac\ub97c \uc791\uc131\ud560 \ub550 \uc5ec\uc804\ud788 SQL\uc744 \uc0ac\uc6a9\ud574\uc57c \ud560 \ud544\uc694\uac00 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\ud559\uc2b5 \uace1\uc120:<\/strong> ORM \ud504\ub808\uc784\uc6cc\ud06c\uac00 \ucc98\uc74c\uc778 \uc0ac\uc6a9\uc790\uc5d0\uac8c\ub294 \ud559\uc2b5 \uace1\uc120\uc774 \uc874\uc7ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud2b9\ud788 \ubcf5\uc7a1\ud55c \ub9e4\ud551\uc774 \uc788\ub294 \uacbd\uc6b0 \ub354\ud574\uc9d1\ub2c8\ub2e4.<\/li>\n<\/ul>\n<h2>\uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc5d0\uc11c\uc758 ORM \uc0ac\uc6a9<\/h2>\n<p>\uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc5d0\uc11c\ub294 JPA\ub97c \uae30\ubcf8 ORM\uc73c\ub85c \uc0ac\uc6a9\ud569\ub2c8\ub2e4. JPA\ub294 \uc790\ubc14 \uac1d\uccb4\uc640 \uad00\uacc4\ud615 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uac04\uc758 \ub9e4\ud551\uc744 \uc815\uc758\ud558\ub294 \uc778\ud130\ud398\uc774\uc2a4\uc758 \uc9d1\ud569\uc785\ub2c8\ub2e4. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc5d0\uc11c\ub294 JPA\ub97c \uc885\uc18d\uc131\uc73c\ub85c \ucd94\uac00\ud568\uc73c\ub85c\uc368 \uc190\uc27d\uac8c ORM\uc744 \uc801\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>JPA\uc640 Hibernate<\/h3>\n<p>JPA\ub294 \ud45c\uc900 \uc778\ud130\ud398\uc774\uc2a4\ub85c\uc11c, Hibernate\ub294 \uc774 \ud45c\uc900 \uc778\ud130\ud398\uc774\uc2a4\ub97c \uad6c\ud604\ud55c ORM \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. Hibernate\ub97c \uc0ac\uc6a9\ud558\uba74 JPA\ub97c \ud1b5\ud574 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640\uc758 \uc0c1\ud638 \uc791\uc6a9\uc744 \uad00\ub9ac\ud560 \uc218 \uc788\uc73c\uba70, \uc774 \uacfc\uc815\uc5d0\uc11c \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc758 CRUD(Create, Read, Update, Delete) \uc791\uc5c5\uc744 \uc190\uc27d\uac8c \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uadf8\ub7fc, \uc2e4\uc81c \ucf54\ub4dc \uc608\uc81c\ub97c \ud1b5\ud574 JPA\uc640 Hibernate\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>\ud658\uacbd \uc124\uc815<\/h3>\n<p>\uc6b0\uc120 \uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ud504\ub85c\uc81d\ud2b8\uc5d0\uc11c JPA\uc640 Hibernate\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574\uc11c\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \uc885\uc18d\uc131\uc744 \ucd94\uac00\ud574\uc57c \ud569\ub2c8\ub2e4. Maven\uc744 \uc774\uc6a9\ud574 pom.xml \ud30c\uc77c\uc5d0 \ub2e4\uc74c\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>\n    &lt;dependency&gt;\n        &lt;groupId&gt;org.springframework.boot&lt;\/groupId&gt;\n        &lt;artifactId&gt;spring-boot-starter-data-jpa&lt;\/artifactId&gt;\n    &lt;\/dependency&gt;\n    &lt;dependency&gt;\n        &lt;groupId&gt;com.h2database&lt;\/groupId&gt;\n        &lt;artifactId&gt;h2&lt;\/artifactId&gt;\n        &lt;scope&gt;runtime&lt;\/scope&gt;\n    &lt;\/dependency&gt;\n    <\/code><\/pre>\n<h3>\uc5d4\ud2f0\ud2f0 \ud074\ub798\uc2a4 \uc815\uc758\ud558\uae30<\/h3>\n<p>\ub2e4\uc74c\uc73c\ub85c, \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640 \ub9e4\ud551\ub420 \uc5d4\ud2f0\ud2f0 \ud074\ub798\uc2a4\ub97c \uc815\uc758\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, User\ub77c\ub294 \uc5d4\ud2f0\ud2f0 \ud074\ub798\uc2a4\ub97c \ub9cc\ub4e4\uc5b4 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>\n    import javax.persistence.Entity;\n    import javax.persistence.GeneratedValue;\n    import javax.persistence.GenerationType;\n    import javax.persistence.Id;\n\n    @Entity\n    public class User {\n        @Id\n        @GeneratedValue(strategy = GenerationType.IDENTITY)\n        private Long id;\n        private String name;\n        private String email;\n\n        \/\/ Getters and Setters\n    }\n    <\/code><\/pre>\n<h3>\ub808\ud3ec\uc9c0\ud1a0\ub9ac \uc778\ud130\ud398\uc774\uc2a4 \uc791\uc131\ud558\uae30<\/h3>\n<p>CRUD \uc791\uc5c5\uc744 \uc218\ud589\ud558\uae30 \uc704\ud55c \ub808\ud3ec\uc9c0\ud1a0\ub9ac \uc778\ud130\ud398\uc774\uc2a4\ub97c \uc791\uc131\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>\n    import org.springframework.data.jpa.repository.JpaRepository;\n\n    public interface UserRepository extends JpaRepository&lt;User, Long&gt; {\n    }\n    <\/code><\/pre>\n<h3>\uc11c\ube44\uc2a4 \ud074\ub798\uc2a4 \uc791\uc131\ud558\uae30<\/h3>\n<p>\uc774\uc81c \uc11c\ube44\uc2a4 \ud074\ub798\uc2a4\ub97c \ud1b5\ud574 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1\uc744 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>\n    import org.springframework.beans.factory.annotation.Autowired;\n    import org.springframework.stereotype.Service;\n\n    import java.util.List;\n\n    @Service\n    public class UserService {\n        @Autowired\n        private UserRepository userRepository;\n\n        public User createUser(User user) {\n            return userRepository.save(user);\n        }\n\n        public List&lt;User&gt; getAllUsers() {\n            return userRepository.findAll();\n        }\n    }\n    <\/code><\/pre>\n<h3>\ucee8\ud2b8\ub864\ub7ec \ud074\ub798\uc2a4 \uc791\uc131\ud558\uae30<\/h3>\n<p>\ub9c8\uc9c0\ub9c9\uc73c\ub85c REST API\ub97c \uc81c\uacf5\ud560 \ucee8\ud2b8\ub864\ub7ec \ud074\ub798\uc2a4\ub97c \uc791\uc131\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>\n    import org.springframework.beans.factory.annotation.Autowired;\n    import org.springframework.http.ResponseEntity;\n    import org.springframework.web.bind.annotation.*;\n\n    import java.util.List;\n\n    @RestController\n    @RequestMapping(\"\/api\/users\")\n    public class UserController {\n        @Autowired\n        private UserService userService;\n\n        @PostMapping\n        public ResponseEntity&lt;User&gt; createUser(@RequestBody User user) {\n            return ResponseEntity.ok(userService.createUser(user));\n        }\n\n        @GetMapping\n        public ResponseEntity&lt;List&lt;User&gt;&gt; getAllUsers() {\n            return ResponseEntity.ok(userService.getAllUsers());\n        }\n    }\n    <\/code><\/pre>\n<h2>\uacb0\ub860<\/h2>\n<p>\uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc5d0\uc11c ORM\uc774 \ubb34\uc5c7\uc778\uc9c0, \uadf8\ub9ac\uace0 \uc774\ub97c \ud1b5\ud574 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640 \uc0c1\ud638 \uc791\uc6a9\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uc558\uc2b5\ub2c8\ub2e4. ORM\uc740 \uac1c\ubc1c \uc0dd\uc0b0\uc131\uc744 \ub192\uc5ec\uc8fc\uace0 \uc720\uc9c0 \ubcf4\uc218\ub97c \uc6a9\uc774\ud558\uac8c \ud574\uc8fc\ub294 \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. JPA\uc640 Hibernate\ub97c \uc774\uc6a9\ud574 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc640 \uc0c1\ud638 \uc791\uc6a9\ud558\ub294 \ubc29\ubc95\uc740 \ube44\uad50\uc801 \uac04\ub2e8\ud558\uba70, \uc774\ub7ec\ud55c \uae30\uc220\ub4e4\uc744 \ud1b5\ud574 \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc744 \ub354\uc6b1 \uc218\uc6d4\ud558\uac8c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<p>\ud5a5\ud6c4 \uac15\uc88c\uc5d0\uc11c\ub294 \ub354 \ub9ce\uc740 \uc608\uc81c\uc640 \ud568\uaed8 ORM\uc758 \uace0\uae09 \uae30\ub2a5\ub4e4\uc5d0 \ub300\ud574\uc11c\ub3c4 \uc54c\uc544\ubcf4\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc2a4\ud504\ub9c1 \ubd80\ud2b8\ub97c \uc0ac\uc6a9\ud558\ub294 \ubc31\uc5d4\ub4dc \uac1c\ubc1c\uc5d0 \ub300\ud55c \ub354 \ub9ce\uc740 \ub0b4\uc6a9\uc744 \uae30\ub300\ud574 \uc8fc\uc138\uc694!<\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc2a4\ud504\ub9c1 \ubd80\ud2b8(Spring Boot)\ub294 \uc790\ubc14 \uae30\ubc18\uc758 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc758 \uc8fc\uc694 \uac1c\ub150 \uc911 \ud558\ub098\uc778 ORM(Object-Relational Mapping)\uc774\ub77c\ub294 \uc8fc\uc81c\ub97c \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. ORM\uc740 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc778 \uc790\ubc14\uc640 \uad00\uacc4\ud615 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uac04\uc758 \uc0c1\ud638 \uc791\uc6a9\uc744 \ub2e8\uc21c\ud654\ud574\uc8fc\ub294 \uae30\uc220\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 ORM\uc758 \uc815\uc758, \uc7a5\uc810, \uc0ac\uc6a9 \ubc29\ubc95, \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc640\uc758 \ud1b5\ud569 \ub4f1 \ub2e4\uc591\ud55c \ub0b4\uc6a9\uc744 \uae4a\uc774 \uc788\uac8c \ud30c\ud5e4\uccd0 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. &hellip; <a href=\"https:\/\/atmokpo.com\/w\/26444\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-26444","post","type-post","status-publish","format-standard","hentry","category-21"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/26444\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8(Spring Boot)\ub294 \uc790\ubc14 \uae30\ubc18\uc758 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc758 \uc8fc\uc694 \uac1c\ub150 \uc911 \ud558\ub098\uc778 ORM(Object-Relational Mapping)\uc774\ub77c\ub294 \uc8fc\uc81c\ub97c \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. ORM\uc740 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc778 \uc790\ubc14\uc640 \uad00\uacc4\ud615 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uac04\uc758 \uc0c1\ud638 \uc791\uc6a9\uc744 \ub2e8\uc21c\ud654\ud574\uc8fc\ub294 \uae30\uc220\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 ORM\uc758 \uc815\uc758, \uc7a5\uc810, \uc0ac\uc6a9 \ubc29\ubc95, \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc640\uc758 \ud1b5\ud569 \ub4f1 \ub2e4\uc591\ud55c \ub0b4\uc6a9\uc744 \uae4a\uc774 \uc788\uac8c \ud30c\ud5e4\uccd0 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 &quot;\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/26444\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T10:52:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:43:00+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/26444\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26444\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780\",\"datePublished\":\"2024-10-27T10:52:41+00:00\",\"dateModified\":\"2024-11-26T07:43:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26444\/\"},\"wordCount\":73,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/26444\/\",\"url\":\"https:\/\/atmokpo.com\/w\/26444\/\",\"name\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T10:52:41+00:00\",\"dateModified\":\"2024-11-26T07:43:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/26444\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/26444\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/26444\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","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:\/\/atmokpo.com\/w\/26444\/","og_locale":"ko_KR","og_type":"article","og_title":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8(Spring Boot)\ub294 \uc790\ubc14 \uae30\ubc18\uc758 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub3c4\ub85d \ub3c4\uc640\uc8fc\ub294 \ud504\ub808\uc784\uc6cc\ud06c\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc758 \uc8fc\uc694 \uac1c\ub150 \uc911 \ud558\ub098\uc778 ORM(Object-Relational Mapping)\uc774\ub77c\ub294 \uc8fc\uc81c\ub97c \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. ORM\uc740 \uac1d\uccb4\uc9c0\ud5a5 \ud504\ub85c\uadf8\ub798\ubc0d \uc5b8\uc5b4\uc778 \uc790\ubc14\uc640 \uad00\uacc4\ud615 \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uac04\uc758 \uc0c1\ud638 \uc791\uc6a9\uc744 \ub2e8\uc21c\ud654\ud574\uc8fc\ub294 \uae30\uc220\uc785\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 ORM\uc758 \uc815\uc758, \uc7a5\uc810, \uc0ac\uc6a9 \ubc29\ubc95, \uc2a4\ud504\ub9c1 \ubd80\ud2b8\uc640\uc758 \ud1b5\ud569 \ub4f1 \ub2e4\uc591\ud55c \ub0b4\uc6a9\uc744 \uae4a\uc774 \uc788\uac8c \ud30c\ud5e4\uccd0 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 \"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780\"","og_url":"https:\/\/atmokpo.com\/w\/26444\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T10:52:41+00:00","article_modified_time":"2024-11-26T07:43:00+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/26444\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/26444\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780","datePublished":"2024-10-27T10:52:41+00:00","dateModified":"2024-11-26T07:43:00+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/26444\/"},"wordCount":73,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc564\ub4dc \uac1c\ubc1c \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/26444\/","url":"https:\/\/atmokpo.com\/w\/26444\/","name":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T10:52:41+00:00","dateModified":"2024-11-26T07:43:00+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/26444\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/26444\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/26444\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\uc2a4\ud504\ub9c1 \ubd80\ud2b8 \ubc31\uc5d4\ub4dc \uac1c\ubc1c \uac15\uc88c, ORM\uc774\ub780"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=26444"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26444\/revisions"}],"predecessor-version":[{"id":26445,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/26444\/revisions\/26445"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=26444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=26444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=26444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}