[{"data":1,"prerenderedAt":3886},["ShallowReactive",2],{"searchBlogPosts":3,"content-\u002Fblog\u002Fjdbc-vs-jpa":28},[4,7,10,13,16,19,22,25],{"_path":5,"title":6},"\u002Fblog\u002F2026\u002F03\u002F14\u002Fposthog-observability-tongueflow","How I Used PostHog to Add Observability to My Web App as a Junior DevOps Engineer",{"_path":8,"title":9},"\u002Fblog\u002F2025\u002F10\u002F05\u002Faws-cloud-operations-certification-journey-ssm-lab","AWS Cloud Operations Certification Journey: Mastering Systems Manager",{"_path":11,"title":12},"\u002Fblog\u002F2025\u002F03\u002F14\u002Fansible-setup-configuration","Ansible Setup and Configuration",{"_path":14,"title":15},"\u002Fblog\u002F2025\u002F01\u002F05\u002Fdata-sharing-with-nfs","Data Sharing with NFS: A Complete Guide for System Administrators",{"_path":17,"title":18},"\u002Fblog\u002F2024\u002F05\u002F23\u002Fjava-29th-birth","Java celebrates 29 years of history",{"_path":20,"title":21},"\u002Fblog\u002F2024\u002F03\u002F19\u002Fhow-to-update-to-java21","How to Update to Java 21 Using SDKMAN",{"_path":23,"title":24},"\u002Fblog\u002F2024\u002F02\u002F11\u002Fspring-async-retry","Implementing Asynchronous Retry Mechanism for Email Sending in Spring Applications",{"_path":26,"title":27},"\u002Fblog\u002F2024\u002F01\u002F25\u002Fjdbc-vs-jpa","JDBC vs JPA: Which is Better for Your Application?",{"_path":26,"_dir":29,"_draft":30,"_partial":30,"_locale":31,"title":27,"description":32,"slug":33,"date":34,"published":35,"author":36,"tags":37,"cover":41,"github":42,"keywords":43,"body":44,"_type":3879,"_id":3880,"_source":3881,"_file":3882,"_stem":3883,"_extension":3884,"sitemap":3885},"25",false,"","Key differences between JDBC and JPA, shedding light on when each is most suitable for Java development projects.","jdbc-vs-jpa","2024-01-25T16:00:00.000Z",true,"Nidhal Naffati",[38,39,40],"JDBC","JPA","Database Access","jdbc-vs-jpa-cover.png","https:\u002F\u002Fgithub.com\u002FNidhalNaffati\u002Fstackoverflow-statistics","JDBC, JPA, Database Access, Java, Spring, Spring Boot, Hibernate, ORM, Object-Relational Mapping, SQL, JPQL, Java Persistence Query Language, Java Database Connectivity, Java Persistence API",{"type":45,"children":46,"toc":3867},"root",[47,55,60,67,72,77,89,95,100,105,115,121,235,241,250,256,261,267,272,278,283,288,297,303,308,315,2489,2496,2501,2765,2770,3808,3814,3827,3832,3846,3850,3856,3861],{"type":48,"tag":49,"props":50,"children":51},"element","p",{},[52],{"type":53,"value":54},"text","Java developers often find themselves working with different technologies to interact with databases efficiently. Two\npopular approaches for database access in Java applications are JDBC (Java Database Connectivity) and JPA (Java\nPersistence API).",{"type":48,"tag":49,"props":56,"children":57},{},[58],{"type":53,"value":59},"While both are essential tools for database operations, they differ significantly in their approaches\nand functionalities. In this article, we will explore the key differences between JDBC and JPA, shedding light on when\neach is most suitable for Java development projects.",{"type":48,"tag":61,"props":62,"children":64},"h2",{"id":63},"what-is-jdbc",[65],{"type":53,"value":66},"What is JDBC?",{"type":48,"tag":49,"props":68,"children":69},{},[70],{"type":53,"value":71},"JDBC stands for Java Database Connectivity. It's an API (Application Programming Interface) that allows Java programs to\nconnect and interact with databases. Think of it as a bridge between your Java code and the database you're trying to\naccess.",{"type":48,"tag":49,"props":73,"children":74},{},[75],{"type":53,"value":76},"The first version of JDBC was released in 1997, and it has been a part of the Java Standard Edition since version 1.1.",{"type":48,"tag":49,"props":78,"children":79},{},[80],{"type":48,"tag":81,"props":82,"children":86},"a",{"href":83,"rel":84},"https:\u002F\u002Fdocs.oracle.com\u002Fjavase\u002Ftutorial\u002Fjdbc\u002Fbasics\u002Fgettingstarted.html",[85],"nofollow",[87],{"type":53,"value":88},"Getting starting with JDBC",{"type":48,"tag":61,"props":90,"children":92},{"id":91},"what-is-jpa",[93],{"type":53,"value":94},"What is JPA?",{"type":48,"tag":49,"props":96,"children":97},{},[98],{"type":53,"value":99},"JPA stands for Java Persistence API. It's a specification for object-relational mapping (ORM) in Java. It allows Java\ndevelopers to map Java objects to relational database tables.",{"type":48,"tag":49,"props":101,"children":102},{},[103],{"type":53,"value":104},"JPA was first released in 2006 as part of the Java Enterprise Edition 5 (Java EE 5) specification. It has been a part of\nthe Java Standard Edition since version 1.1.",{"type":48,"tag":49,"props":106,"children":107},{},[108],{"type":48,"tag":81,"props":109,"children":112},{"href":110,"rel":111},"https:\u002F\u002Fdocs.spring.io\u002Fspring-data\u002Fjpa\u002Freference\u002Fjpa.html",[85],[113],{"type":53,"value":114},"Getting starting with JPA",{"type":48,"tag":61,"props":116,"children":118},{"id":117},"jdbc-vs-jpa-key-differences",[119],{"type":53,"value":120},"JDBC vs JPA: Key Differences",{"type":48,"tag":122,"props":123,"children":124},"ol",{},[125,145,163,181,199,217],{"type":48,"tag":126,"props":127,"children":128},"li",{},[129,131],{"type":53,"value":130},"Abstraction Level:",{"type":48,"tag":132,"props":133,"children":134},"ul",{},[135,140],{"type":48,"tag":126,"props":136,"children":137},{},[138],{"type":53,"value":139},"JDBC: It is a low-level API that provides a direct interface to relational databases. Developers need to write SQL\nqueries, handle database connections, and manage result sets manually.",{"type":48,"tag":126,"props":141,"children":142},{},[143],{"type":53,"value":144},"JPA: It is a higher-level, object-relational mapping (ORM) framework that abstracts away many of the low-level\ndetails involved in database interactions. Developers work with Java objects and annotations, and the framework\ntakes care of the underlying database operations.",{"type":48,"tag":126,"props":146,"children":147},{},[148,150],{"type":53,"value":149},"Object-Relational Mapping (ORM):",{"type":48,"tag":132,"props":151,"children":152},{},[153,158],{"type":48,"tag":126,"props":154,"children":155},{},[156],{"type":53,"value":157},"JDBC: Requires manual mapping of Java objects to database tables and vice versa. Developers need to write SQL\nqueries and handle the translation between the relational model and the object-oriented model.",{"type":48,"tag":126,"props":159,"children":160},{},[161],{"type":53,"value":162},"JPA: Provides automatic mapping of Java objects to database tables. This mapping is usually done through\nannotations or XML configurations. JPA implementations, such as Hibernate, handle the translation between Java\nobjects and database tables.",{"type":48,"tag":126,"props":164,"children":165},{},[166,168],{"type":53,"value":167},"Performance:",{"type":48,"tag":132,"props":169,"children":170},{},[171,176],{"type":48,"tag":126,"props":172,"children":173},{},[174],{"type":53,"value":175},"JDBC: Provides more control over the underlying database operations, allowing for more fine-tuning and\noptimization. This can lead to better performance in some cases.",{"type":48,"tag":126,"props":177,"children":178},{},[179],{"type":53,"value":180},"JPA: Provides less control over the underlying database operations, which can lead to suboptimal performance in\nsome cases. However, JPA implementations often provide optimizations and caching mechanisms that can improve\nperformance.",{"type":48,"tag":126,"props":182,"children":183},{},[184,186],{"type":53,"value":185},"SQL Handling:",{"type":48,"tag":132,"props":187,"children":188},{},[189,194],{"type":48,"tag":126,"props":190,"children":191},{},[192],{"type":53,"value":193},"JDBC: Developers need to write and manage SQL queries explicitly. This gives them more control over the queries,\nbut it also requires more manual effort.",{"type":48,"tag":126,"props":195,"children":196},{},[197],{"type":53,"value":198},"JPA: Developers can use JPQL (Java Persistence Query Language), which is a higher-level, object-oriented query\nlanguage. JPQL is similar to SQL but operates on Java objects directly, allowing for more abstraction and less\ndirect manipulation of database-specific syntax.",{"type":48,"tag":126,"props":200,"children":201},{},[202,204],{"type":53,"value":203},"Database Connection Management:",{"type":48,"tag":132,"props":205,"children":206},{},[207,212],{"type":48,"tag":126,"props":208,"children":209},{},[210],{"type":53,"value":211},"JDBC: Developers need to manage database connections explicitly, including opening, closing, and handling\nconnection pooling. This can be error-prone and may lead to resource leaks if not done correctly.",{"type":48,"tag":126,"props":213,"children":214},{},[215],{"type":53,"value":216},"JPA: Connection management is abstracted away, and the underlying JPA provider takes care of connection handling.\nConnection pooling is often handled transparently, simplifying the developer's task.",{"type":48,"tag":126,"props":218,"children":219},{},[220,222],{"type":53,"value":221},"Portability:",{"type":48,"tag":132,"props":223,"children":224},{},[225,230],{"type":48,"tag":126,"props":226,"children":227},{},[228],{"type":53,"value":229},"JDBC: Code written using JDBC can be more database-specific, as SQL queries may need to be tailored to the\nspecific database dialect.",{"type":48,"tag":126,"props":231,"children":232},{},[233],{"type":53,"value":234},"JPA: Provides a level of database abstraction, making it easier to switch between different databases with minimal\ncode changes. However, some database-specific optimizations or features may still require database-specific\nconfigurations.",{"type":48,"tag":61,"props":236,"children":238},{"id":237},"architecture",[239],{"type":53,"value":240},"Architecture",{"type":48,"tag":49,"props":242,"children":243},{},[244],{"type":48,"tag":245,"props":246,"children":249},"img",{"alt":247,"src":248},"jdbc-jpa-architecture.webp","\u002Fimages\u002Fblog\u002F2024\u002F01\u002F25\u002Fjdbc-jpa-architecture.webp",[],{"type":48,"tag":61,"props":251,"children":253},{"id":252},"when-to-use-jdbc",[254],{"type":53,"value":255},"When to Use JDBC",{"type":48,"tag":49,"props":257,"children":258},{},[259],{"type":53,"value":260},"The most suitable scenarios where developers need direct and low-level access to relational databases. JDBC provides a\nrobust and efficient way to interact with databases by allowing developers to write SQL queries directly. This level of\ncontrol is beneficial in situations where performance optimization, specific database features, or complex queries are\ncrucial. For instance, when dealing with legacy systems, custom data access logic, or performance-critical applications,\nJDBC is often the preferred choice.",{"type":48,"tag":61,"props":262,"children":264},{"id":263},"when-to-use-jpa",[265],{"type":53,"value":266},"When to Use JPA",{"type":48,"tag":49,"props":268,"children":269},{},[270],{"type":53,"value":271},"Particularly useful when developers prioritize a more object-oriented approach to data persistence. JPA simplifies\ndatabase interactions by allowing developers to work with Java objects instead of writing raw SQL queries. This\nabstraction is beneficial in scenarios where the focus is on productivity, code readability, and maintainability.",{"type":48,"tag":61,"props":273,"children":275},{"id":274},"when-to-use-both",[276],{"type":53,"value":277},"When to Use Both",{"type":48,"tag":49,"props":279,"children":280},{},[281],{"type":53,"value":282},"Using both JDBC and JPA in a single application can be a pragmatic approach that leverages the strengths of each\ntechnology based on specific requirements. In scenarios where fine-grained control over SQL queries is necessary for\nperformance optimization or handling complex database structures, JDBC can be employed. Developers can use JDBC to write\ncustom SQL queries, manage transactions explicitly, and handle database-specific features. Meanwhile, JPA can be\nemployed in areas of the application where a higher level of abstraction is advantageous, such as for standard CRUD (\nCreate, Read, Update, Delete) operations and mapping Java objects to database entities. This combination allows\ndevelopers to strike a balance between the flexibility and control offered by JDBC and the productivity and simplicity\nprovided by JPA. It ensures that the application benefits from the efficiency of low-level database interactions when\nneeded, while also taking advantage of the convenience and maintainability offered by an ORM framework for common data\naccess tasks. Integrating both JDBC and JPA in a thoughtful manner enables developers to create robust and efficient\napplications that meet diverse data access requirements.",{"type":48,"tag":49,"props":284,"children":285},{},[286],{"type":53,"value":287},"The following Github repository contains a Spring Boot application that uses JDBC to interact with a PostgreSQL.\ndatabase. It also contains a Docker Compose file that can be used to run the application and the database locally.",{"type":48,"tag":49,"props":289,"children":290},{},[291],{"type":48,"tag":81,"props":292,"children":294},{"href":42,"rel":293},[85],[295],{"type":53,"value":296},"code source here",{"type":48,"tag":61,"props":298,"children":300},{"id":299},"code-examples",[301],{"type":53,"value":302},"Code Examples",{"type":48,"tag":49,"props":304,"children":305},{},[306],{"type":53,"value":307},"With the following example of a Customer class, we will demonstrate how to use JDBC and JPA to interact with a database.",{"type":48,"tag":132,"props":309,"children":310},{},[311],{"type":48,"tag":126,"props":312,"children":313},{},[314],{"type":53,"value":38},{"type":48,"tag":316,"props":317,"children":321},"pre",{"className":318,"code":319,"language":320,"meta":31,"style":31},"language-java shiki shiki-themes nord github-dark monokai","\npublic class Customer {\n\n    private int id;\n    private String name;\n    private int age;\n\n    \u002F\u002F Constructors\n\n    \u002F\u002F Getters and Setters\n}\n\nimport java.sql .*;\nimport java.util.ArrayList;\n\npublic class DataBaseConnection {\n\n    private static final String DATABASE_NAME = \"CustomerDB\";\n    private static final String URL = \"jdbc:mysql:\u002F\u002Flocalhost:3306\u002F\" + DATABASE_NAME;\n    private static final String USER = \"root\"; \u002F\u002F set your own username\n    private static final String PASSWORD = \"secret123\"; \u002F\u002F set your own password\n\n    public static Connection getDataBaseConnection() throws SQLException {\n        try {\n            Connection databaseConnection = DriverManager.getConnection(URL, USER, PASSWORD);\n            return databaseConnection;\n        } catch (SQLException e) {\n            throw new SQLException(\"ERROR CONNECTING TO THE DATABASE\", e);\n        }\n    }\n}\n\n\npublic class CustomerDAO {\n\n    public static void createTable() throws SQLException {\n        String createTableQuery = \"CREATE TABLE IF NOT EXISTS Customer (id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(255), age INT)\";\n        try (Connection databaseConnection = getDataBaseConnection();\n             Statement statement = databaseConnection.createStatement()) {\n            statement.executeUpdate(createTableQuery);\n        } catch (SQLException e) {\n            throw new SQLException(\"ERROR CREATING TABLE\", e);\n        }\n    }\n\n    public static void insertData(String name, int age) throws SQLException {\n        String insertDataQuery = \"INSERT INTO Customer (name, age) VALUES (?, ?)\";\n        try (Connection databaseConnection = getDataBaseConnection();\n             PreparedStatement preparedStatement = databaseConnection.prepareStatement(insertDataQuery)) {\n            preparedStatement.setString(1, name);\n            preparedStatement.setInt(2, age);\n            preparedStatement.executeUpdate();\n        } catch (SQLException e) {\n            throw new SQLException(\"ERROR INSERTING DATA\", e);\n        }\n    }\n\n    public static ArrayList\u003CCustomer> getData() throws SQLException {\n        String getDataQuery = \"SELECT * FROM Customer\";\n        ArrayList\u003CCustomer> customers = new ArrayList\u003C>();\n        try (Connection databaseConnection = getDataBaseConnection();\n             Statement statement = databaseConnection.createStatement()) {\n            ResultSet resultSet = statement.executeQuery(getDataQuery);\n            while (resultSet.next()) {\n                int id = resultSet.getInt(\"id\");\n                String name = resultSet.getString(\"name\");\n                int age = resultSet.getInt(\"age\");\n                Customer customer = new Customer(id, name, age);\n                customers.add(customer);\n            }\n        } catch (SQLException e) {\n            throw new SQLException(\"ERROR GETTING DATA\", e);\n        }\n        return customers;\n    }\n}\n","java",[322],{"type":48,"tag":323,"props":324,"children":325},"code",{"__ignoreMap":31},[326,337,364,372,399,422,443,451,461,469,478,487,495,535,569,577,598,606,659,715,766,817,825,868,881,949,966,1004,1055,1064,1073,1081,1089,1097,1118,1126,1164,1199,1236,1276,1311,1343,1392,1400,1408,1416,1478,1512,1548,1597,1641,1683,1707,1739,1788,1796,1804,1812,1866,1900,1947,1983,2019,2067,2102,2157,2212,2265,2323,2358,2367,2399,2448,2456,2473,2481],{"type":48,"tag":327,"props":328,"children":331},"span",{"class":329,"line":330},"line",1,[332],{"type":48,"tag":327,"props":333,"children":334},{"emptyLinePlaceholder":35},[335],{"type":53,"value":336},"\n",{"type":48,"tag":327,"props":338,"children":340},{"class":329,"line":339},2,[341,347,352,358],{"type":48,"tag":327,"props":342,"children":344},{"style":343},"--shiki-default:#81A1C1;--shiki-dark:#F97583;--shiki-sepia:#F92672",[345],{"type":53,"value":346},"public",{"type":48,"tag":327,"props":348,"children":349},{"style":343},[350],{"type":53,"value":351}," class",{"type":48,"tag":327,"props":353,"children":355},{"style":354},"--shiki-default:#8FBCBB;--shiki-default-text-decoration:inherit;--shiki-dark:#B392F0;--shiki-dark-text-decoration:inherit;--shiki-sepia:#A6E22E;--shiki-sepia-text-decoration:underline",[356],{"type":53,"value":357}," Customer",{"type":48,"tag":327,"props":359,"children":361},{"style":360},"--shiki-default:#ECEFF4;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2",[362],{"type":53,"value":363}," {\n",{"type":48,"tag":327,"props":365,"children":367},{"class":329,"line":366},3,[368],{"type":48,"tag":327,"props":369,"children":370},{"emptyLinePlaceholder":35},[371],{"type":53,"value":336},{"type":48,"tag":327,"props":373,"children":375},{"class":329,"line":374},4,[376,381,387,393],{"type":48,"tag":327,"props":377,"children":378},{"style":343},[379],{"type":53,"value":380},"    private",{"type":48,"tag":327,"props":382,"children":384},{"style":383},"--shiki-default:#81A1C1;--shiki-default-font-style:inherit;--shiki-dark:#F97583;--shiki-dark-font-style:inherit;--shiki-sepia:#66D9EF;--shiki-sepia-font-style:italic",[385],{"type":53,"value":386}," int",{"type":48,"tag":327,"props":388,"children":390},{"style":389},"--shiki-default:#D8DEE9;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2",[391],{"type":53,"value":392}," id",{"type":48,"tag":327,"props":394,"children":396},{"style":395},"--shiki-default:#81A1C1;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2",[397],{"type":53,"value":398},";\n",{"type":48,"tag":327,"props":400,"children":402},{"class":329,"line":401},5,[403,407,413,418],{"type":48,"tag":327,"props":404,"children":405},{"style":343},[406],{"type":53,"value":380},{"type":48,"tag":327,"props":408,"children":410},{"style":409},"--shiki-default:#8FBCBB;--shiki-default-font-style:inherit;--shiki-dark:#E1E4E8;--shiki-dark-font-style:inherit;--shiki-sepia:#66D9EF;--shiki-sepia-font-style:italic",[411],{"type":53,"value":412}," String",{"type":48,"tag":327,"props":414,"children":415},{"style":389},[416],{"type":53,"value":417}," name",{"type":48,"tag":327,"props":419,"children":420},{"style":395},[421],{"type":53,"value":398},{"type":48,"tag":327,"props":423,"children":425},{"class":329,"line":424},6,[426,430,434,439],{"type":48,"tag":327,"props":427,"children":428},{"style":343},[429],{"type":53,"value":380},{"type":48,"tag":327,"props":431,"children":432},{"style":383},[433],{"type":53,"value":386},{"type":48,"tag":327,"props":435,"children":436},{"style":389},[437],{"type":53,"value":438}," age",{"type":48,"tag":327,"props":440,"children":441},{"style":395},[442],{"type":53,"value":398},{"type":48,"tag":327,"props":444,"children":446},{"class":329,"line":445},7,[447],{"type":48,"tag":327,"props":448,"children":449},{"emptyLinePlaceholder":35},[450],{"type":53,"value":336},{"type":48,"tag":327,"props":452,"children":454},{"class":329,"line":453},8,[455],{"type":48,"tag":327,"props":456,"children":458},{"style":457},"--shiki-default:#616E88;--shiki-dark:#6A737D;--shiki-sepia:#88846F",[459],{"type":53,"value":460},"    \u002F\u002F Constructors\n",{"type":48,"tag":327,"props":462,"children":464},{"class":329,"line":463},9,[465],{"type":48,"tag":327,"props":466,"children":467},{"emptyLinePlaceholder":35},[468],{"type":53,"value":336},{"type":48,"tag":327,"props":470,"children":472},{"class":329,"line":471},10,[473],{"type":48,"tag":327,"props":474,"children":475},{"style":457},[476],{"type":53,"value":477},"    \u002F\u002F Getters and Setters\n",{"type":48,"tag":327,"props":479,"children":481},{"class":329,"line":480},11,[482],{"type":48,"tag":327,"props":483,"children":484},{"style":360},[485],{"type":53,"value":486},"}\n",{"type":48,"tag":327,"props":488,"children":490},{"class":329,"line":489},12,[491],{"type":48,"tag":327,"props":492,"children":493},{"emptyLinePlaceholder":35},[494],{"type":53,"value":336},{"type":48,"tag":327,"props":496,"children":498},{"class":329,"line":497},13,[499,504,510,516,521,525,531],{"type":48,"tag":327,"props":500,"children":501},{"style":343},[502],{"type":53,"value":503},"import",{"type":48,"tag":327,"props":505,"children":507},{"style":506},"--shiki-default:#8FBCBB;--shiki-dark:#E1E4E8;--shiki-sepia:#F92672",[508],{"type":53,"value":509}," java",{"type":48,"tag":327,"props":511,"children":513},{"style":512},"--shiki-default:#ECEFF4;--shiki-dark:#E1E4E8;--shiki-sepia:#F92672",[514],{"type":53,"value":515},".",{"type":48,"tag":327,"props":517,"children":518},{"style":506},[519],{"type":53,"value":520},"sql ",{"type":48,"tag":327,"props":522,"children":523},{"style":512},[524],{"type":53,"value":515},{"type":48,"tag":327,"props":526,"children":528},{"style":527},"--shiki-default:#81A1C1;--shiki-dark:#79B8FF;--shiki-sepia:#FD971F",[529],{"type":53,"value":530},"*",{"type":48,"tag":327,"props":532,"children":533},{"style":395},[534],{"type":53,"value":398},{"type":48,"tag":327,"props":536,"children":538},{"class":329,"line":537},14,[539,543,547,551,556,560,565],{"type":48,"tag":327,"props":540,"children":541},{"style":343},[542],{"type":53,"value":503},{"type":48,"tag":327,"props":544,"children":545},{"style":506},[546],{"type":53,"value":509},{"type":48,"tag":327,"props":548,"children":549},{"style":512},[550],{"type":53,"value":515},{"type":48,"tag":327,"props":552,"children":553},{"style":506},[554],{"type":53,"value":555},"util",{"type":48,"tag":327,"props":557,"children":558},{"style":512},[559],{"type":53,"value":515},{"type":48,"tag":327,"props":561,"children":562},{"style":506},[563],{"type":53,"value":564},"ArrayList",{"type":48,"tag":327,"props":566,"children":567},{"style":395},[568],{"type":53,"value":398},{"type":48,"tag":327,"props":570,"children":572},{"class":329,"line":571},15,[573],{"type":48,"tag":327,"props":574,"children":575},{"emptyLinePlaceholder":35},[576],{"type":53,"value":336},{"type":48,"tag":327,"props":578,"children":580},{"class":329,"line":579},16,[581,585,589,594],{"type":48,"tag":327,"props":582,"children":583},{"style":343},[584],{"type":53,"value":346},{"type":48,"tag":327,"props":586,"children":587},{"style":343},[588],{"type":53,"value":351},{"type":48,"tag":327,"props":590,"children":591},{"style":354},[592],{"type":53,"value":593}," DataBaseConnection",{"type":48,"tag":327,"props":595,"children":596},{"style":360},[597],{"type":53,"value":363},{"type":48,"tag":327,"props":599,"children":601},{"class":329,"line":600},17,[602],{"type":48,"tag":327,"props":603,"children":604},{"emptyLinePlaceholder":35},[605],{"type":53,"value":336},{"type":48,"tag":327,"props":607,"children":609},{"class":329,"line":608},18,[610,614,619,624,628,633,638,644,650,655],{"type":48,"tag":327,"props":611,"children":612},{"style":343},[613],{"type":53,"value":380},{"type":48,"tag":327,"props":615,"children":616},{"style":343},[617],{"type":53,"value":618}," static",{"type":48,"tag":327,"props":620,"children":621},{"style":343},[622],{"type":53,"value":623}," final",{"type":48,"tag":327,"props":625,"children":626},{"style":409},[627],{"type":53,"value":412},{"type":48,"tag":327,"props":629,"children":630},{"style":389},[631],{"type":53,"value":632}," DATABASE_NAME",{"type":48,"tag":327,"props":634,"children":635},{"style":343},[636],{"type":53,"value":637}," =",{"type":48,"tag":327,"props":639,"children":641},{"style":640},"--shiki-default:#ECEFF4;--shiki-dark:#9ECBFF;--shiki-sepia:#E6DB74",[642],{"type":53,"value":643}," \"",{"type":48,"tag":327,"props":645,"children":647},{"style":646},"--shiki-default:#A3BE8C;--shiki-dark:#9ECBFF;--shiki-sepia:#E6DB74",[648],{"type":53,"value":649},"CustomerDB",{"type":48,"tag":327,"props":651,"children":652},{"style":640},[653],{"type":53,"value":654},"\"",{"type":48,"tag":327,"props":656,"children":657},{"style":395},[658],{"type":53,"value":398},{"type":48,"tag":327,"props":660,"children":662},{"class":329,"line":661},19,[663,667,671,675,679,684,688,692,697,701,706,711],{"type":48,"tag":327,"props":664,"children":665},{"style":343},[666],{"type":53,"value":380},{"type":48,"tag":327,"props":668,"children":669},{"style":343},[670],{"type":53,"value":618},{"type":48,"tag":327,"props":672,"children":673},{"style":343},[674],{"type":53,"value":623},{"type":48,"tag":327,"props":676,"children":677},{"style":409},[678],{"type":53,"value":412},{"type":48,"tag":327,"props":680,"children":681},{"style":389},[682],{"type":53,"value":683}," URL",{"type":48,"tag":327,"props":685,"children":686},{"style":343},[687],{"type":53,"value":637},{"type":48,"tag":327,"props":689,"children":690},{"style":640},[691],{"type":53,"value":643},{"type":48,"tag":327,"props":693,"children":694},{"style":646},[695],{"type":53,"value":696},"jdbc:mysql:\u002F\u002Flocalhost:3306\u002F",{"type":48,"tag":327,"props":698,"children":699},{"style":640},[700],{"type":53,"value":654},{"type":48,"tag":327,"props":702,"children":703},{"style":343},[704],{"type":53,"value":705}," +",{"type":48,"tag":327,"props":707,"children":709},{"style":708},"--shiki-default:#D8DEE9FF;--shiki-dark:#E1E4E8;--shiki-sepia:#F8F8F2",[710],{"type":53,"value":632},{"type":48,"tag":327,"props":712,"children":713},{"style":395},[714],{"type":53,"value":398},{"type":48,"tag":327,"props":716,"children":718},{"class":329,"line":717},20,[719,723,727,731,735,740,744,748,752,756,761],{"type":48,"tag":327,"props":720,"children":721},{"style":343},[722],{"type":53,"value":380},{"type":48,"tag":327,"props":724,"children":725},{"style":343},[726],{"type":53,"value":618},{"type":48,"tag":327,"props":728,"children":729},{"style":343},[730],{"type":53,"value":623},{"type":48,"tag":327,"props":732,"children":733},{"style":409},[734],{"type":53,"value":412},{"type":48,"tag":327,"props":736,"children":737},{"style":389},[738],{"type":53,"value":739}," USER",{"type":48,"tag":327,"props":741,"children":742},{"style":343},[743],{"type":53,"value":637},{"type":48,"tag":327,"props":745,"children":746},{"style":640},[747],{"type":53,"value":643},{"type":48,"tag":327,"props":749,"children":750},{"style":646},[751],{"type":53,"value":45},{"type":48,"tag":327,"props":753,"children":754},{"style":640},[755],{"type":53,"value":654},{"type":48,"tag":327,"props":757,"children":758},{"style":395},[759],{"type":53,"value":760},";",{"type":48,"tag":327,"props":762,"children":763},{"style":457},[764],{"type":53,"value":765}," \u002F\u002F set your own username\n",{"type":48,"tag":327,"props":767,"children":769},{"class":329,"line":768},21,[770,774,778,782,786,791,795,799,804,808,812],{"type":48,"tag":327,"props":771,"children":772},{"style":343},[773],{"type":53,"value":380},{"type":48,"tag":327,"props":775,"children":776},{"style":343},[777],{"type":53,"value":618},{"type":48,"tag":327,"props":779,"children":780},{"style":343},[781],{"type":53,"value":623},{"type":48,"tag":327,"props":783,"children":784},{"style":409},[785],{"type":53,"value":412},{"type":48,"tag":327,"props":787,"children":788},{"style":389},[789],{"type":53,"value":790}," PASSWORD",{"type":48,"tag":327,"props":792,"children":793},{"style":343},[794],{"type":53,"value":637},{"type":48,"tag":327,"props":796,"children":797},{"style":640},[798],{"type":53,"value":643},{"type":48,"tag":327,"props":800,"children":801},{"style":646},[802],{"type":53,"value":803},"secret123",{"type":48,"tag":327,"props":805,"children":806},{"style":640},[807],{"type":53,"value":654},{"type":48,"tag":327,"props":809,"children":810},{"style":395},[811],{"type":53,"value":760},{"type":48,"tag":327,"props":813,"children":814},{"style":457},[815],{"type":53,"value":816}," \u002F\u002F set your own password\n",{"type":48,"tag":327,"props":818,"children":820},{"class":329,"line":819},22,[821],{"type":48,"tag":327,"props":822,"children":823},{"emptyLinePlaceholder":35},[824],{"type":53,"value":336},{"type":48,"tag":327,"props":826,"children":828},{"class":329,"line":827},23,[829,834,838,843,849,854,859,864],{"type":48,"tag":327,"props":830,"children":831},{"style":343},[832],{"type":53,"value":833},"    public",{"type":48,"tag":327,"props":835,"children":836},{"style":343},[837],{"type":53,"value":618},{"type":48,"tag":327,"props":839,"children":840},{"style":409},[841],{"type":53,"value":842}," Connection",{"type":48,"tag":327,"props":844,"children":846},{"style":845},"--shiki-default:#88C0D0;--shiki-dark:#B392F0;--shiki-sepia:#A6E22E",[847],{"type":53,"value":848}," getDataBaseConnection",{"type":48,"tag":327,"props":850,"children":851},{"style":360},[852],{"type":53,"value":853},"()",{"type":48,"tag":327,"props":855,"children":856},{"style":343},[857],{"type":53,"value":858}," throws",{"type":48,"tag":327,"props":860,"children":861},{"style":409},[862],{"type":53,"value":863}," SQLException",{"type":48,"tag":327,"props":865,"children":866},{"style":360},[867],{"type":53,"value":363},{"type":48,"tag":327,"props":869,"children":871},{"class":329,"line":870},24,[872,877],{"type":48,"tag":327,"props":873,"children":874},{"style":343},[875],{"type":53,"value":876},"        try",{"type":48,"tag":327,"props":878,"children":879},{"style":360},[880],{"type":53,"value":363},{"type":48,"tag":327,"props":882,"children":884},{"class":329,"line":883},25,[885,890,895,899,904,908,913,918,923,928,932,936,940,945],{"type":48,"tag":327,"props":886,"children":887},{"style":409},[888],{"type":53,"value":889},"            Connection",{"type":48,"tag":327,"props":891,"children":892},{"style":389},[893],{"type":53,"value":894}," databaseConnection",{"type":48,"tag":327,"props":896,"children":897},{"style":343},[898],{"type":53,"value":637},{"type":48,"tag":327,"props":900,"children":901},{"style":389},[902],{"type":53,"value":903}," DriverManager",{"type":48,"tag":327,"props":905,"children":906},{"style":360},[907],{"type":53,"value":515},{"type":48,"tag":327,"props":909,"children":910},{"style":845},[911],{"type":53,"value":912},"getConnection",{"type":48,"tag":327,"props":914,"children":915},{"style":360},[916],{"type":53,"value":917},"(",{"type":48,"tag":327,"props":919,"children":920},{"style":708},[921],{"type":53,"value":922},"URL",{"type":48,"tag":327,"props":924,"children":925},{"style":360},[926],{"type":53,"value":927},",",{"type":48,"tag":327,"props":929,"children":930},{"style":708},[931],{"type":53,"value":739},{"type":48,"tag":327,"props":933,"children":934},{"style":360},[935],{"type":53,"value":927},{"type":48,"tag":327,"props":937,"children":938},{"style":708},[939],{"type":53,"value":790},{"type":48,"tag":327,"props":941,"children":942},{"style":360},[943],{"type":53,"value":944},")",{"type":48,"tag":327,"props":946,"children":947},{"style":395},[948],{"type":53,"value":398},{"type":48,"tag":327,"props":950,"children":952},{"class":329,"line":951},26,[953,958,962],{"type":48,"tag":327,"props":954,"children":955},{"style":343},[956],{"type":53,"value":957},"            return",{"type":48,"tag":327,"props":959,"children":960},{"style":708},[961],{"type":53,"value":894},{"type":48,"tag":327,"props":963,"children":964},{"style":395},[965],{"type":53,"value":398},{"type":48,"tag":327,"props":967,"children":969},{"class":329,"line":968},27,[970,975,980,985,990,996,1000],{"type":48,"tag":327,"props":971,"children":972},{"style":360},[973],{"type":53,"value":974},"        }",{"type":48,"tag":327,"props":976,"children":977},{"style":343},[978],{"type":53,"value":979}," catch",{"type":48,"tag":327,"props":981,"children":982},{"style":360},[983],{"type":53,"value":984}," (",{"type":48,"tag":327,"props":986,"children":987},{"style":409},[988],{"type":53,"value":989},"SQLException",{"type":48,"tag":327,"props":991,"children":993},{"style":992},"--shiki-default:#D8DEE9;--shiki-default-font-style:inherit;--shiki-dark:#FFAB70;--shiki-dark-font-style:inherit;--shiki-sepia:#FD971F;--shiki-sepia-font-style:italic",[994],{"type":53,"value":995}," e",{"type":48,"tag":327,"props":997,"children":998},{"style":360},[999],{"type":53,"value":944},{"type":48,"tag":327,"props":1001,"children":1002},{"style":360},[1003],{"type":53,"value":363},{"type":48,"tag":327,"props":1005,"children":1007},{"class":329,"line":1006},28,[1008,1013,1018,1022,1026,1030,1035,1039,1043,1047,1051],{"type":48,"tag":327,"props":1009,"children":1010},{"style":343},[1011],{"type":53,"value":1012},"            throw",{"type":48,"tag":327,"props":1014,"children":1015},{"style":343},[1016],{"type":53,"value":1017}," new",{"type":48,"tag":327,"props":1019,"children":1020},{"style":845},[1021],{"type":53,"value":863},{"type":48,"tag":327,"props":1023,"children":1024},{"style":360},[1025],{"type":53,"value":917},{"type":48,"tag":327,"props":1027,"children":1028},{"style":640},[1029],{"type":53,"value":654},{"type":48,"tag":327,"props":1031,"children":1032},{"style":646},[1033],{"type":53,"value":1034},"ERROR CONNECTING TO THE DATABASE",{"type":48,"tag":327,"props":1036,"children":1037},{"style":640},[1038],{"type":53,"value":654},{"type":48,"tag":327,"props":1040,"children":1041},{"style":360},[1042],{"type":53,"value":927},{"type":48,"tag":327,"props":1044,"children":1045},{"style":708},[1046],{"type":53,"value":995},{"type":48,"tag":327,"props":1048,"children":1049},{"style":360},[1050],{"type":53,"value":944},{"type":48,"tag":327,"props":1052,"children":1053},{"style":395},[1054],{"type":53,"value":398},{"type":48,"tag":327,"props":1056,"children":1058},{"class":329,"line":1057},29,[1059],{"type":48,"tag":327,"props":1060,"children":1061},{"style":360},[1062],{"type":53,"value":1063},"        }\n",{"type":48,"tag":327,"props":1065,"children":1067},{"class":329,"line":1066},30,[1068],{"type":48,"tag":327,"props":1069,"children":1070},{"style":360},[1071],{"type":53,"value":1072},"    }\n",{"type":48,"tag":327,"props":1074,"children":1076},{"class":329,"line":1075},31,[1077],{"type":48,"tag":327,"props":1078,"children":1079},{"style":360},[1080],{"type":53,"value":486},{"type":48,"tag":327,"props":1082,"children":1084},{"class":329,"line":1083},32,[1085],{"type":48,"tag":327,"props":1086,"children":1087},{"emptyLinePlaceholder":35},[1088],{"type":53,"value":336},{"type":48,"tag":327,"props":1090,"children":1092},{"class":329,"line":1091},33,[1093],{"type":48,"tag":327,"props":1094,"children":1095},{"emptyLinePlaceholder":35},[1096],{"type":53,"value":336},{"type":48,"tag":327,"props":1098,"children":1100},{"class":329,"line":1099},34,[1101,1105,1109,1114],{"type":48,"tag":327,"props":1102,"children":1103},{"style":343},[1104],{"type":53,"value":346},{"type":48,"tag":327,"props":1106,"children":1107},{"style":343},[1108],{"type":53,"value":351},{"type":48,"tag":327,"props":1110,"children":1111},{"style":354},[1112],{"type":53,"value":1113}," CustomerDAO",{"type":48,"tag":327,"props":1115,"children":1116},{"style":360},[1117],{"type":53,"value":363},{"type":48,"tag":327,"props":1119,"children":1121},{"class":329,"line":1120},35,[1122],{"type":48,"tag":327,"props":1123,"children":1124},{"emptyLinePlaceholder":35},[1125],{"type":53,"value":336},{"type":48,"tag":327,"props":1127,"children":1129},{"class":329,"line":1128},36,[1130,1134,1138,1143,1148,1152,1156,1160],{"type":48,"tag":327,"props":1131,"children":1132},{"style":343},[1133],{"type":53,"value":833},{"type":48,"tag":327,"props":1135,"children":1136},{"style":343},[1137],{"type":53,"value":618},{"type":48,"tag":327,"props":1139,"children":1140},{"style":383},[1141],{"type":53,"value":1142}," void",{"type":48,"tag":327,"props":1144,"children":1145},{"style":845},[1146],{"type":53,"value":1147}," createTable",{"type":48,"tag":327,"props":1149,"children":1150},{"style":360},[1151],{"type":53,"value":853},{"type":48,"tag":327,"props":1153,"children":1154},{"style":343},[1155],{"type":53,"value":858},{"type":48,"tag":327,"props":1157,"children":1158},{"style":409},[1159],{"type":53,"value":863},{"type":48,"tag":327,"props":1161,"children":1162},{"style":360},[1163],{"type":53,"value":363},{"type":48,"tag":327,"props":1165,"children":1167},{"class":329,"line":1166},37,[1168,1173,1178,1182,1186,1191,1195],{"type":48,"tag":327,"props":1169,"children":1170},{"style":409},[1171],{"type":53,"value":1172},"        String",{"type":48,"tag":327,"props":1174,"children":1175},{"style":389},[1176],{"type":53,"value":1177}," createTableQuery",{"type":48,"tag":327,"props":1179,"children":1180},{"style":343},[1181],{"type":53,"value":637},{"type":48,"tag":327,"props":1183,"children":1184},{"style":640},[1185],{"type":53,"value":643},{"type":48,"tag":327,"props":1187,"children":1188},{"style":646},[1189],{"type":53,"value":1190},"CREATE TABLE IF NOT EXISTS Customer (id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(255), age INT)",{"type":48,"tag":327,"props":1192,"children":1193},{"style":640},[1194],{"type":53,"value":654},{"type":48,"tag":327,"props":1196,"children":1197},{"style":395},[1198],{"type":53,"value":398},{"type":48,"tag":327,"props":1200,"children":1202},{"class":329,"line":1201},38,[1203,1207,1211,1216,1220,1224,1228,1232],{"type":48,"tag":327,"props":1204,"children":1205},{"style":343},[1206],{"type":53,"value":876},{"type":48,"tag":327,"props":1208,"children":1209},{"style":360},[1210],{"type":53,"value":984},{"type":48,"tag":327,"props":1212,"children":1213},{"style":409},[1214],{"type":53,"value":1215},"Connection",{"type":48,"tag":327,"props":1217,"children":1218},{"style":389},[1219],{"type":53,"value":894},{"type":48,"tag":327,"props":1221,"children":1222},{"style":343},[1223],{"type":53,"value":637},{"type":48,"tag":327,"props":1225,"children":1226},{"style":845},[1227],{"type":53,"value":848},{"type":48,"tag":327,"props":1229,"children":1230},{"style":360},[1231],{"type":53,"value":853},{"type":48,"tag":327,"props":1233,"children":1234},{"style":395},[1235],{"type":53,"value":398},{"type":48,"tag":327,"props":1237,"children":1239},{"class":329,"line":1238},39,[1240,1245,1250,1254,1258,1262,1267,1272],{"type":48,"tag":327,"props":1241,"children":1242},{"style":409},[1243],{"type":53,"value":1244},"             Statement",{"type":48,"tag":327,"props":1246,"children":1247},{"style":389},[1248],{"type":53,"value":1249}," statement",{"type":48,"tag":327,"props":1251,"children":1252},{"style":343},[1253],{"type":53,"value":637},{"type":48,"tag":327,"props":1255,"children":1256},{"style":389},[1257],{"type":53,"value":894},{"type":48,"tag":327,"props":1259,"children":1260},{"style":360},[1261],{"type":53,"value":515},{"type":48,"tag":327,"props":1263,"children":1264},{"style":845},[1265],{"type":53,"value":1266},"createStatement",{"type":48,"tag":327,"props":1268,"children":1269},{"style":360},[1270],{"type":53,"value":1271},"())",{"type":48,"tag":327,"props":1273,"children":1274},{"style":360},[1275],{"type":53,"value":363},{"type":48,"tag":327,"props":1277,"children":1279},{"class":329,"line":1278},40,[1280,1285,1289,1294,1298,1303,1307],{"type":48,"tag":327,"props":1281,"children":1282},{"style":389},[1283],{"type":53,"value":1284},"            statement",{"type":48,"tag":327,"props":1286,"children":1287},{"style":360},[1288],{"type":53,"value":515},{"type":48,"tag":327,"props":1290,"children":1291},{"style":845},[1292],{"type":53,"value":1293},"executeUpdate",{"type":48,"tag":327,"props":1295,"children":1296},{"style":360},[1297],{"type":53,"value":917},{"type":48,"tag":327,"props":1299,"children":1300},{"style":708},[1301],{"type":53,"value":1302},"createTableQuery",{"type":48,"tag":327,"props":1304,"children":1305},{"style":360},[1306],{"type":53,"value":944},{"type":48,"tag":327,"props":1308,"children":1309},{"style":395},[1310],{"type":53,"value":398},{"type":48,"tag":327,"props":1312,"children":1314},{"class":329,"line":1313},41,[1315,1319,1323,1327,1331,1335,1339],{"type":48,"tag":327,"props":1316,"children":1317},{"style":360},[1318],{"type":53,"value":974},{"type":48,"tag":327,"props":1320,"children":1321},{"style":343},[1322],{"type":53,"value":979},{"type":48,"tag":327,"props":1324,"children":1325},{"style":360},[1326],{"type":53,"value":984},{"type":48,"tag":327,"props":1328,"children":1329},{"style":409},[1330],{"type":53,"value":989},{"type":48,"tag":327,"props":1332,"children":1333},{"style":992},[1334],{"type":53,"value":995},{"type":48,"tag":327,"props":1336,"children":1337},{"style":360},[1338],{"type":53,"value":944},{"type":48,"tag":327,"props":1340,"children":1341},{"style":360},[1342],{"type":53,"value":363},{"type":48,"tag":327,"props":1344,"children":1346},{"class":329,"line":1345},42,[1347,1351,1355,1359,1363,1367,1372,1376,1380,1384,1388],{"type":48,"tag":327,"props":1348,"children":1349},{"style":343},[1350],{"type":53,"value":1012},{"type":48,"tag":327,"props":1352,"children":1353},{"style":343},[1354],{"type":53,"value":1017},{"type":48,"tag":327,"props":1356,"children":1357},{"style":845},[1358],{"type":53,"value":863},{"type":48,"tag":327,"props":1360,"children":1361},{"style":360},[1362],{"type":53,"value":917},{"type":48,"tag":327,"props":1364,"children":1365},{"style":640},[1366],{"type":53,"value":654},{"type":48,"tag":327,"props":1368,"children":1369},{"style":646},[1370],{"type":53,"value":1371},"ERROR CREATING TABLE",{"type":48,"tag":327,"props":1373,"children":1374},{"style":640},[1375],{"type":53,"value":654},{"type":48,"tag":327,"props":1377,"children":1378},{"style":360},[1379],{"type":53,"value":927},{"type":48,"tag":327,"props":1381,"children":1382},{"style":708},[1383],{"type":53,"value":995},{"type":48,"tag":327,"props":1385,"children":1386},{"style":360},[1387],{"type":53,"value":944},{"type":48,"tag":327,"props":1389,"children":1390},{"style":395},[1391],{"type":53,"value":398},{"type":48,"tag":327,"props":1393,"children":1395},{"class":329,"line":1394},43,[1396],{"type":48,"tag":327,"props":1397,"children":1398},{"style":360},[1399],{"type":53,"value":1063},{"type":48,"tag":327,"props":1401,"children":1403},{"class":329,"line":1402},44,[1404],{"type":48,"tag":327,"props":1405,"children":1406},{"style":360},[1407],{"type":53,"value":1072},{"type":48,"tag":327,"props":1409,"children":1411},{"class":329,"line":1410},45,[1412],{"type":48,"tag":327,"props":1413,"children":1414},{"emptyLinePlaceholder":35},[1415],{"type":53,"value":336},{"type":48,"tag":327,"props":1417,"children":1419},{"class":329,"line":1418},46,[1420,1424,1428,1432,1437,1441,1446,1450,1454,1458,1462,1466,1470,1474],{"type":48,"tag":327,"props":1421,"children":1422},{"style":343},[1423],{"type":53,"value":833},{"type":48,"tag":327,"props":1425,"children":1426},{"style":343},[1427],{"type":53,"value":618},{"type":48,"tag":327,"props":1429,"children":1430},{"style":383},[1431],{"type":53,"value":1142},{"type":48,"tag":327,"props":1433,"children":1434},{"style":845},[1435],{"type":53,"value":1436}," insertData",{"type":48,"tag":327,"props":1438,"children":1439},{"style":360},[1440],{"type":53,"value":917},{"type":48,"tag":327,"props":1442,"children":1443},{"style":409},[1444],{"type":53,"value":1445},"String",{"type":48,"tag":327,"props":1447,"children":1448},{"style":992},[1449],{"type":53,"value":417},{"type":48,"tag":327,"props":1451,"children":1452},{"style":360},[1453],{"type":53,"value":927},{"type":48,"tag":327,"props":1455,"children":1456},{"style":383},[1457],{"type":53,"value":386},{"type":48,"tag":327,"props":1459,"children":1460},{"style":992},[1461],{"type":53,"value":438},{"type":48,"tag":327,"props":1463,"children":1464},{"style":360},[1465],{"type":53,"value":944},{"type":48,"tag":327,"props":1467,"children":1468},{"style":343},[1469],{"type":53,"value":858},{"type":48,"tag":327,"props":1471,"children":1472},{"style":409},[1473],{"type":53,"value":863},{"type":48,"tag":327,"props":1475,"children":1476},{"style":360},[1477],{"type":53,"value":363},{"type":48,"tag":327,"props":1479,"children":1481},{"class":329,"line":1480},47,[1482,1486,1491,1495,1499,1504,1508],{"type":48,"tag":327,"props":1483,"children":1484},{"style":409},[1485],{"type":53,"value":1172},{"type":48,"tag":327,"props":1487,"children":1488},{"style":389},[1489],{"type":53,"value":1490}," insertDataQuery",{"type":48,"tag":327,"props":1492,"children":1493},{"style":343},[1494],{"type":53,"value":637},{"type":48,"tag":327,"props":1496,"children":1497},{"style":640},[1498],{"type":53,"value":643},{"type":48,"tag":327,"props":1500,"children":1501},{"style":646},[1502],{"type":53,"value":1503},"INSERT INTO Customer (name, age) VALUES (?, ?)",{"type":48,"tag":327,"props":1505,"children":1506},{"style":640},[1507],{"type":53,"value":654},{"type":48,"tag":327,"props":1509,"children":1510},{"style":395},[1511],{"type":53,"value":398},{"type":48,"tag":327,"props":1513,"children":1515},{"class":329,"line":1514},48,[1516,1520,1524,1528,1532,1536,1540,1544],{"type":48,"tag":327,"props":1517,"children":1518},{"style":343},[1519],{"type":53,"value":876},{"type":48,"tag":327,"props":1521,"children":1522},{"style":360},[1523],{"type":53,"value":984},{"type":48,"tag":327,"props":1525,"children":1526},{"style":409},[1527],{"type":53,"value":1215},{"type":48,"tag":327,"props":1529,"children":1530},{"style":389},[1531],{"type":53,"value":894},{"type":48,"tag":327,"props":1533,"children":1534},{"style":343},[1535],{"type":53,"value":637},{"type":48,"tag":327,"props":1537,"children":1538},{"style":845},[1539],{"type":53,"value":848},{"type":48,"tag":327,"props":1541,"children":1542},{"style":360},[1543],{"type":53,"value":853},{"type":48,"tag":327,"props":1545,"children":1546},{"style":395},[1547],{"type":53,"value":398},{"type":48,"tag":327,"props":1549,"children":1551},{"class":329,"line":1550},49,[1552,1557,1562,1566,1570,1574,1579,1583,1588,1593],{"type":48,"tag":327,"props":1553,"children":1554},{"style":409},[1555],{"type":53,"value":1556},"             PreparedStatement",{"type":48,"tag":327,"props":1558,"children":1559},{"style":389},[1560],{"type":53,"value":1561}," preparedStatement",{"type":48,"tag":327,"props":1563,"children":1564},{"style":343},[1565],{"type":53,"value":637},{"type":48,"tag":327,"props":1567,"children":1568},{"style":389},[1569],{"type":53,"value":894},{"type":48,"tag":327,"props":1571,"children":1572},{"style":360},[1573],{"type":53,"value":515},{"type":48,"tag":327,"props":1575,"children":1576},{"style":845},[1577],{"type":53,"value":1578},"prepareStatement",{"type":48,"tag":327,"props":1580,"children":1581},{"style":360},[1582],{"type":53,"value":917},{"type":48,"tag":327,"props":1584,"children":1585},{"style":708},[1586],{"type":53,"value":1587},"insertDataQuery",{"type":48,"tag":327,"props":1589,"children":1590},{"style":360},[1591],{"type":53,"value":1592},"))",{"type":48,"tag":327,"props":1594,"children":1595},{"style":360},[1596],{"type":53,"value":363},{"type":48,"tag":327,"props":1598,"children":1600},{"class":329,"line":1599},50,[1601,1606,1610,1615,1619,1625,1629,1633,1637],{"type":48,"tag":327,"props":1602,"children":1603},{"style":389},[1604],{"type":53,"value":1605},"            preparedStatement",{"type":48,"tag":327,"props":1607,"children":1608},{"style":360},[1609],{"type":53,"value":515},{"type":48,"tag":327,"props":1611,"children":1612},{"style":845},[1613],{"type":53,"value":1614},"setString",{"type":48,"tag":327,"props":1616,"children":1617},{"style":360},[1618],{"type":53,"value":917},{"type":48,"tag":327,"props":1620,"children":1622},{"style":1621},"--shiki-default:#B48EAD;--shiki-dark:#79B8FF;--shiki-sepia:#AE81FF",[1623],{"type":53,"value":1624},"1",{"type":48,"tag":327,"props":1626,"children":1627},{"style":360},[1628],{"type":53,"value":927},{"type":48,"tag":327,"props":1630,"children":1631},{"style":708},[1632],{"type":53,"value":417},{"type":48,"tag":327,"props":1634,"children":1635},{"style":360},[1636],{"type":53,"value":944},{"type":48,"tag":327,"props":1638,"children":1639},{"style":395},[1640],{"type":53,"value":398},{"type":48,"tag":327,"props":1642,"children":1644},{"class":329,"line":1643},51,[1645,1649,1653,1658,1662,1667,1671,1675,1679],{"type":48,"tag":327,"props":1646,"children":1647},{"style":389},[1648],{"type":53,"value":1605},{"type":48,"tag":327,"props":1650,"children":1651},{"style":360},[1652],{"type":53,"value":515},{"type":48,"tag":327,"props":1654,"children":1655},{"style":845},[1656],{"type":53,"value":1657},"setInt",{"type":48,"tag":327,"props":1659,"children":1660},{"style":360},[1661],{"type":53,"value":917},{"type":48,"tag":327,"props":1663,"children":1664},{"style":1621},[1665],{"type":53,"value":1666},"2",{"type":48,"tag":327,"props":1668,"children":1669},{"style":360},[1670],{"type":53,"value":927},{"type":48,"tag":327,"props":1672,"children":1673},{"style":708},[1674],{"type":53,"value":438},{"type":48,"tag":327,"props":1676,"children":1677},{"style":360},[1678],{"type":53,"value":944},{"type":48,"tag":327,"props":1680,"children":1681},{"style":395},[1682],{"type":53,"value":398},{"type":48,"tag":327,"props":1684,"children":1686},{"class":329,"line":1685},52,[1687,1691,1695,1699,1703],{"type":48,"tag":327,"props":1688,"children":1689},{"style":389},[1690],{"type":53,"value":1605},{"type":48,"tag":327,"props":1692,"children":1693},{"style":360},[1694],{"type":53,"value":515},{"type":48,"tag":327,"props":1696,"children":1697},{"style":845},[1698],{"type":53,"value":1293},{"type":48,"tag":327,"props":1700,"children":1701},{"style":360},[1702],{"type":53,"value":853},{"type":48,"tag":327,"props":1704,"children":1705},{"style":395},[1706],{"type":53,"value":398},{"type":48,"tag":327,"props":1708,"children":1710},{"class":329,"line":1709},53,[1711,1715,1719,1723,1727,1731,1735],{"type":48,"tag":327,"props":1712,"children":1713},{"style":360},[1714],{"type":53,"value":974},{"type":48,"tag":327,"props":1716,"children":1717},{"style":343},[1718],{"type":53,"value":979},{"type":48,"tag":327,"props":1720,"children":1721},{"style":360},[1722],{"type":53,"value":984},{"type":48,"tag":327,"props":1724,"children":1725},{"style":409},[1726],{"type":53,"value":989},{"type":48,"tag":327,"props":1728,"children":1729},{"style":992},[1730],{"type":53,"value":995},{"type":48,"tag":327,"props":1732,"children":1733},{"style":360},[1734],{"type":53,"value":944},{"type":48,"tag":327,"props":1736,"children":1737},{"style":360},[1738],{"type":53,"value":363},{"type":48,"tag":327,"props":1740,"children":1742},{"class":329,"line":1741},54,[1743,1747,1751,1755,1759,1763,1768,1772,1776,1780,1784],{"type":48,"tag":327,"props":1744,"children":1745},{"style":343},[1746],{"type":53,"value":1012},{"type":48,"tag":327,"props":1748,"children":1749},{"style":343},[1750],{"type":53,"value":1017},{"type":48,"tag":327,"props":1752,"children":1753},{"style":845},[1754],{"type":53,"value":863},{"type":48,"tag":327,"props":1756,"children":1757},{"style":360},[1758],{"type":53,"value":917},{"type":48,"tag":327,"props":1760,"children":1761},{"style":640},[1762],{"type":53,"value":654},{"type":48,"tag":327,"props":1764,"children":1765},{"style":646},[1766],{"type":53,"value":1767},"ERROR INSERTING DATA",{"type":48,"tag":327,"props":1769,"children":1770},{"style":640},[1771],{"type":53,"value":654},{"type":48,"tag":327,"props":1773,"children":1774},{"style":360},[1775],{"type":53,"value":927},{"type":48,"tag":327,"props":1777,"children":1778},{"style":708},[1779],{"type":53,"value":995},{"type":48,"tag":327,"props":1781,"children":1782},{"style":360},[1783],{"type":53,"value":944},{"type":48,"tag":327,"props":1785,"children":1786},{"style":395},[1787],{"type":53,"value":398},{"type":48,"tag":327,"props":1789,"children":1791},{"class":329,"line":1790},55,[1792],{"type":48,"tag":327,"props":1793,"children":1794},{"style":360},[1795],{"type":53,"value":1063},{"type":48,"tag":327,"props":1797,"children":1799},{"class":329,"line":1798},56,[1800],{"type":48,"tag":327,"props":1801,"children":1802},{"style":360},[1803],{"type":53,"value":1072},{"type":48,"tag":327,"props":1805,"children":1807},{"class":329,"line":1806},57,[1808],{"type":48,"tag":327,"props":1809,"children":1810},{"emptyLinePlaceholder":35},[1811],{"type":53,"value":336},{"type":48,"tag":327,"props":1813,"children":1815},{"class":329,"line":1814},58,[1816,1820,1824,1829,1834,1840,1845,1850,1854,1858,1862],{"type":48,"tag":327,"props":1817,"children":1818},{"style":343},[1819],{"type":53,"value":833},{"type":48,"tag":327,"props":1821,"children":1822},{"style":343},[1823],{"type":53,"value":618},{"type":48,"tag":327,"props":1825,"children":1826},{"style":409},[1827],{"type":53,"value":1828}," ArrayList",{"type":48,"tag":327,"props":1830,"children":1831},{"style":360},[1832],{"type":53,"value":1833},"\u003C",{"type":48,"tag":327,"props":1835,"children":1837},{"style":1836},"--shiki-default:#8FBCBB;--shiki-default-font-style:inherit;--shiki-dark:#F97583;--shiki-dark-font-style:inherit;--shiki-sepia:#66D9EF;--shiki-sepia-font-style:italic",[1838],{"type":53,"value":1839},"Customer",{"type":48,"tag":327,"props":1841,"children":1842},{"style":360},[1843],{"type":53,"value":1844},">",{"type":48,"tag":327,"props":1846,"children":1847},{"style":845},[1848],{"type":53,"value":1849}," getData",{"type":48,"tag":327,"props":1851,"children":1852},{"style":360},[1853],{"type":53,"value":853},{"type":48,"tag":327,"props":1855,"children":1856},{"style":343},[1857],{"type":53,"value":858},{"type":48,"tag":327,"props":1859,"children":1860},{"style":409},[1861],{"type":53,"value":863},{"type":48,"tag":327,"props":1863,"children":1864},{"style":360},[1865],{"type":53,"value":363},{"type":48,"tag":327,"props":1867,"children":1869},{"class":329,"line":1868},59,[1870,1874,1879,1883,1887,1892,1896],{"type":48,"tag":327,"props":1871,"children":1872},{"style":409},[1873],{"type":53,"value":1172},{"type":48,"tag":327,"props":1875,"children":1876},{"style":389},[1877],{"type":53,"value":1878}," getDataQuery",{"type":48,"tag":327,"props":1880,"children":1881},{"style":343},[1882],{"type":53,"value":637},{"type":48,"tag":327,"props":1884,"children":1885},{"style":640},[1886],{"type":53,"value":643},{"type":48,"tag":327,"props":1888,"children":1889},{"style":646},[1890],{"type":53,"value":1891},"SELECT * FROM Customer",{"type":48,"tag":327,"props":1893,"children":1894},{"style":640},[1895],{"type":53,"value":654},{"type":48,"tag":327,"props":1897,"children":1898},{"style":395},[1899],{"type":53,"value":398},{"type":48,"tag":327,"props":1901,"children":1903},{"class":329,"line":1902},60,[1904,1909,1913,1917,1921,1926,1930,1934,1938,1943],{"type":48,"tag":327,"props":1905,"children":1906},{"style":409},[1907],{"type":53,"value":1908},"        ArrayList",{"type":48,"tag":327,"props":1910,"children":1911},{"style":360},[1912],{"type":53,"value":1833},{"type":48,"tag":327,"props":1914,"children":1915},{"style":1836},[1916],{"type":53,"value":1839},{"type":48,"tag":327,"props":1918,"children":1919},{"style":360},[1920],{"type":53,"value":1844},{"type":48,"tag":327,"props":1922,"children":1923},{"style":389},[1924],{"type":53,"value":1925}," customers",{"type":48,"tag":327,"props":1927,"children":1928},{"style":343},[1929],{"type":53,"value":637},{"type":48,"tag":327,"props":1931,"children":1932},{"style":343},[1933],{"type":53,"value":1017},{"type":48,"tag":327,"props":1935,"children":1936},{"style":409},[1937],{"type":53,"value":1828},{"type":48,"tag":327,"props":1939,"children":1940},{"style":360},[1941],{"type":53,"value":1942},"\u003C>()",{"type":48,"tag":327,"props":1944,"children":1945},{"style":395},[1946],{"type":53,"value":398},{"type":48,"tag":327,"props":1948,"children":1950},{"class":329,"line":1949},61,[1951,1955,1959,1963,1967,1971,1975,1979],{"type":48,"tag":327,"props":1952,"children":1953},{"style":343},[1954],{"type":53,"value":876},{"type":48,"tag":327,"props":1956,"children":1957},{"style":360},[1958],{"type":53,"value":984},{"type":48,"tag":327,"props":1960,"children":1961},{"style":409},[1962],{"type":53,"value":1215},{"type":48,"tag":327,"props":1964,"children":1965},{"style":389},[1966],{"type":53,"value":894},{"type":48,"tag":327,"props":1968,"children":1969},{"style":343},[1970],{"type":53,"value":637},{"type":48,"tag":327,"props":1972,"children":1973},{"style":845},[1974],{"type":53,"value":848},{"type":48,"tag":327,"props":1976,"children":1977},{"style":360},[1978],{"type":53,"value":853},{"type":48,"tag":327,"props":1980,"children":1981},{"style":395},[1982],{"type":53,"value":398},{"type":48,"tag":327,"props":1984,"children":1986},{"class":329,"line":1985},62,[1987,1991,1995,1999,2003,2007,2011,2015],{"type":48,"tag":327,"props":1988,"children":1989},{"style":409},[1990],{"type":53,"value":1244},{"type":48,"tag":327,"props":1992,"children":1993},{"style":389},[1994],{"type":53,"value":1249},{"type":48,"tag":327,"props":1996,"children":1997},{"style":343},[1998],{"type":53,"value":637},{"type":48,"tag":327,"props":2000,"children":2001},{"style":389},[2002],{"type":53,"value":894},{"type":48,"tag":327,"props":2004,"children":2005},{"style":360},[2006],{"type":53,"value":515},{"type":48,"tag":327,"props":2008,"children":2009},{"style":845},[2010],{"type":53,"value":1266},{"type":48,"tag":327,"props":2012,"children":2013},{"style":360},[2014],{"type":53,"value":1271},{"type":48,"tag":327,"props":2016,"children":2017},{"style":360},[2018],{"type":53,"value":363},{"type":48,"tag":327,"props":2020,"children":2022},{"class":329,"line":2021},63,[2023,2028,2033,2037,2041,2045,2050,2054,2059,2063],{"type":48,"tag":327,"props":2024,"children":2025},{"style":409},[2026],{"type":53,"value":2027},"            ResultSet",{"type":48,"tag":327,"props":2029,"children":2030},{"style":389},[2031],{"type":53,"value":2032}," resultSet",{"type":48,"tag":327,"props":2034,"children":2035},{"style":343},[2036],{"type":53,"value":637},{"type":48,"tag":327,"props":2038,"children":2039},{"style":389},[2040],{"type":53,"value":1249},{"type":48,"tag":327,"props":2042,"children":2043},{"style":360},[2044],{"type":53,"value":515},{"type":48,"tag":327,"props":2046,"children":2047},{"style":845},[2048],{"type":53,"value":2049},"executeQuery",{"type":48,"tag":327,"props":2051,"children":2052},{"style":360},[2053],{"type":53,"value":917},{"type":48,"tag":327,"props":2055,"children":2056},{"style":708},[2057],{"type":53,"value":2058},"getDataQuery",{"type":48,"tag":327,"props":2060,"children":2061},{"style":360},[2062],{"type":53,"value":944},{"type":48,"tag":327,"props":2064,"children":2065},{"style":395},[2066],{"type":53,"value":398},{"type":48,"tag":327,"props":2068,"children":2070},{"class":329,"line":2069},64,[2071,2076,2080,2085,2089,2094,2098],{"type":48,"tag":327,"props":2072,"children":2073},{"style":343},[2074],{"type":53,"value":2075},"            while",{"type":48,"tag":327,"props":2077,"children":2078},{"style":360},[2079],{"type":53,"value":984},{"type":48,"tag":327,"props":2081,"children":2082},{"style":389},[2083],{"type":53,"value":2084},"resultSet",{"type":48,"tag":327,"props":2086,"children":2087},{"style":360},[2088],{"type":53,"value":515},{"type":48,"tag":327,"props":2090,"children":2091},{"style":845},[2092],{"type":53,"value":2093},"next",{"type":48,"tag":327,"props":2095,"children":2096},{"style":360},[2097],{"type":53,"value":1271},{"type":48,"tag":327,"props":2099,"children":2100},{"style":360},[2101],{"type":53,"value":363},{"type":48,"tag":327,"props":2103,"children":2105},{"class":329,"line":2104},65,[2106,2111,2115,2119,2123,2127,2132,2136,2140,2145,2149,2153],{"type":48,"tag":327,"props":2107,"children":2108},{"style":383},[2109],{"type":53,"value":2110},"                int",{"type":48,"tag":327,"props":2112,"children":2113},{"style":389},[2114],{"type":53,"value":392},{"type":48,"tag":327,"props":2116,"children":2117},{"style":343},[2118],{"type":53,"value":637},{"type":48,"tag":327,"props":2120,"children":2121},{"style":389},[2122],{"type":53,"value":2032},{"type":48,"tag":327,"props":2124,"children":2125},{"style":360},[2126],{"type":53,"value":515},{"type":48,"tag":327,"props":2128,"children":2129},{"style":845},[2130],{"type":53,"value":2131},"getInt",{"type":48,"tag":327,"props":2133,"children":2134},{"style":360},[2135],{"type":53,"value":917},{"type":48,"tag":327,"props":2137,"children":2138},{"style":640},[2139],{"type":53,"value":654},{"type":48,"tag":327,"props":2141,"children":2142},{"style":646},[2143],{"type":53,"value":2144},"id",{"type":48,"tag":327,"props":2146,"children":2147},{"style":640},[2148],{"type":53,"value":654},{"type":48,"tag":327,"props":2150,"children":2151},{"style":360},[2152],{"type":53,"value":944},{"type":48,"tag":327,"props":2154,"children":2155},{"style":395},[2156],{"type":53,"value":398},{"type":48,"tag":327,"props":2158,"children":2160},{"class":329,"line":2159},66,[2161,2166,2170,2174,2178,2182,2187,2191,2195,2200,2204,2208],{"type":48,"tag":327,"props":2162,"children":2163},{"style":409},[2164],{"type":53,"value":2165},"                String",{"type":48,"tag":327,"props":2167,"children":2168},{"style":389},[2169],{"type":53,"value":417},{"type":48,"tag":327,"props":2171,"children":2172},{"style":343},[2173],{"type":53,"value":637},{"type":48,"tag":327,"props":2175,"children":2176},{"style":389},[2177],{"type":53,"value":2032},{"type":48,"tag":327,"props":2179,"children":2180},{"style":360},[2181],{"type":53,"value":515},{"type":48,"tag":327,"props":2183,"children":2184},{"style":845},[2185],{"type":53,"value":2186},"getString",{"type":48,"tag":327,"props":2188,"children":2189},{"style":360},[2190],{"type":53,"value":917},{"type":48,"tag":327,"props":2192,"children":2193},{"style":640},[2194],{"type":53,"value":654},{"type":48,"tag":327,"props":2196,"children":2197},{"style":646},[2198],{"type":53,"value":2199},"name",{"type":48,"tag":327,"props":2201,"children":2202},{"style":640},[2203],{"type":53,"value":654},{"type":48,"tag":327,"props":2205,"children":2206},{"style":360},[2207],{"type":53,"value":944},{"type":48,"tag":327,"props":2209,"children":2210},{"style":395},[2211],{"type":53,"value":398},{"type":48,"tag":327,"props":2213,"children":2215},{"class":329,"line":2214},67,[2216,2220,2224,2228,2232,2236,2240,2244,2248,2253,2257,2261],{"type":48,"tag":327,"props":2217,"children":2218},{"style":383},[2219],{"type":53,"value":2110},{"type":48,"tag":327,"props":2221,"children":2222},{"style":389},[2223],{"type":53,"value":438},{"type":48,"tag":327,"props":2225,"children":2226},{"style":343},[2227],{"type":53,"value":637},{"type":48,"tag":327,"props":2229,"children":2230},{"style":389},[2231],{"type":53,"value":2032},{"type":48,"tag":327,"props":2233,"children":2234},{"style":360},[2235],{"type":53,"value":515},{"type":48,"tag":327,"props":2237,"children":2238},{"style":845},[2239],{"type":53,"value":2131},{"type":48,"tag":327,"props":2241,"children":2242},{"style":360},[2243],{"type":53,"value":917},{"type":48,"tag":327,"props":2245,"children":2246},{"style":640},[2247],{"type":53,"value":654},{"type":48,"tag":327,"props":2249,"children":2250},{"style":646},[2251],{"type":53,"value":2252},"age",{"type":48,"tag":327,"props":2254,"children":2255},{"style":640},[2256],{"type":53,"value":654},{"type":48,"tag":327,"props":2258,"children":2259},{"style":360},[2260],{"type":53,"value":944},{"type":48,"tag":327,"props":2262,"children":2263},{"style":395},[2264],{"type":53,"value":398},{"type":48,"tag":327,"props":2266,"children":2268},{"class":329,"line":2267},68,[2269,2274,2279,2283,2287,2291,2295,2299,2303,2307,2311,2315,2319],{"type":48,"tag":327,"props":2270,"children":2271},{"style":409},[2272],{"type":53,"value":2273},"                Customer",{"type":48,"tag":327,"props":2275,"children":2276},{"style":389},[2277],{"type":53,"value":2278}," customer",{"type":48,"tag":327,"props":2280,"children":2281},{"style":343},[2282],{"type":53,"value":637},{"type":48,"tag":327,"props":2284,"children":2285},{"style":343},[2286],{"type":53,"value":1017},{"type":48,"tag":327,"props":2288,"children":2289},{"style":845},[2290],{"type":53,"value":357},{"type":48,"tag":327,"props":2292,"children":2293},{"style":360},[2294],{"type":53,"value":917},{"type":48,"tag":327,"props":2296,"children":2297},{"style":708},[2298],{"type":53,"value":2144},{"type":48,"tag":327,"props":2300,"children":2301},{"style":360},[2302],{"type":53,"value":927},{"type":48,"tag":327,"props":2304,"children":2305},{"style":708},[2306],{"type":53,"value":417},{"type":48,"tag":327,"props":2308,"children":2309},{"style":360},[2310],{"type":53,"value":927},{"type":48,"tag":327,"props":2312,"children":2313},{"style":708},[2314],{"type":53,"value":438},{"type":48,"tag":327,"props":2316,"children":2317},{"style":360},[2318],{"type":53,"value":944},{"type":48,"tag":327,"props":2320,"children":2321},{"style":395},[2322],{"type":53,"value":398},{"type":48,"tag":327,"props":2324,"children":2326},{"class":329,"line":2325},69,[2327,2332,2336,2341,2345,2350,2354],{"type":48,"tag":327,"props":2328,"children":2329},{"style":389},[2330],{"type":53,"value":2331},"                customers",{"type":48,"tag":327,"props":2333,"children":2334},{"style":360},[2335],{"type":53,"value":515},{"type":48,"tag":327,"props":2337,"children":2338},{"style":845},[2339],{"type":53,"value":2340},"add",{"type":48,"tag":327,"props":2342,"children":2343},{"style":360},[2344],{"type":53,"value":917},{"type":48,"tag":327,"props":2346,"children":2347},{"style":708},[2348],{"type":53,"value":2349},"customer",{"type":48,"tag":327,"props":2351,"children":2352},{"style":360},[2353],{"type":53,"value":944},{"type":48,"tag":327,"props":2355,"children":2356},{"style":395},[2357],{"type":53,"value":398},{"type":48,"tag":327,"props":2359,"children":2361},{"class":329,"line":2360},70,[2362],{"type":48,"tag":327,"props":2363,"children":2364},{"style":360},[2365],{"type":53,"value":2366},"            }\n",{"type":48,"tag":327,"props":2368,"children":2370},{"class":329,"line":2369},71,[2371,2375,2379,2383,2387,2391,2395],{"type":48,"tag":327,"props":2372,"children":2373},{"style":360},[2374],{"type":53,"value":974},{"type":48,"tag":327,"props":2376,"children":2377},{"style":343},[2378],{"type":53,"value":979},{"type":48,"tag":327,"props":2380,"children":2381},{"style":360},[2382],{"type":53,"value":984},{"type":48,"tag":327,"props":2384,"children":2385},{"style":409},[2386],{"type":53,"value":989},{"type":48,"tag":327,"props":2388,"children":2389},{"style":992},[2390],{"type":53,"value":995},{"type":48,"tag":327,"props":2392,"children":2393},{"style":360},[2394],{"type":53,"value":944},{"type":48,"tag":327,"props":2396,"children":2397},{"style":360},[2398],{"type":53,"value":363},{"type":48,"tag":327,"props":2400,"children":2402},{"class":329,"line":2401},72,[2403,2407,2411,2415,2419,2423,2428,2432,2436,2440,2444],{"type":48,"tag":327,"props":2404,"children":2405},{"style":343},[2406],{"type":53,"value":1012},{"type":48,"tag":327,"props":2408,"children":2409},{"style":343},[2410],{"type":53,"value":1017},{"type":48,"tag":327,"props":2412,"children":2413},{"style":845},[2414],{"type":53,"value":863},{"type":48,"tag":327,"props":2416,"children":2417},{"style":360},[2418],{"type":53,"value":917},{"type":48,"tag":327,"props":2420,"children":2421},{"style":640},[2422],{"type":53,"value":654},{"type":48,"tag":327,"props":2424,"children":2425},{"style":646},[2426],{"type":53,"value":2427},"ERROR GETTING DATA",{"type":48,"tag":327,"props":2429,"children":2430},{"style":640},[2431],{"type":53,"value":654},{"type":48,"tag":327,"props":2433,"children":2434},{"style":360},[2435],{"type":53,"value":927},{"type":48,"tag":327,"props":2437,"children":2438},{"style":708},[2439],{"type":53,"value":995},{"type":48,"tag":327,"props":2441,"children":2442},{"style":360},[2443],{"type":53,"value":944},{"type":48,"tag":327,"props":2445,"children":2446},{"style":395},[2447],{"type":53,"value":398},{"type":48,"tag":327,"props":2449,"children":2451},{"class":329,"line":2450},73,[2452],{"type":48,"tag":327,"props":2453,"children":2454},{"style":360},[2455],{"type":53,"value":1063},{"type":48,"tag":327,"props":2457,"children":2459},{"class":329,"line":2458},74,[2460,2465,2469],{"type":48,"tag":327,"props":2461,"children":2462},{"style":343},[2463],{"type":53,"value":2464},"        return",{"type":48,"tag":327,"props":2466,"children":2467},{"style":708},[2468],{"type":53,"value":1925},{"type":48,"tag":327,"props":2470,"children":2471},{"style":395},[2472],{"type":53,"value":398},{"type":48,"tag":327,"props":2474,"children":2476},{"class":329,"line":2475},75,[2477],{"type":48,"tag":327,"props":2478,"children":2479},{"style":360},[2480],{"type":53,"value":1072},{"type":48,"tag":327,"props":2482,"children":2484},{"class":329,"line":2483},76,[2485],{"type":48,"tag":327,"props":2486,"children":2487},{"style":360},[2488],{"type":53,"value":486},{"type":48,"tag":132,"props":2490,"children":2491},{},[2492],{"type":48,"tag":126,"props":2493,"children":2494},{},[2495],{"type":53,"value":39},{"type":48,"tag":49,"props":2497,"children":2498},{},[2499],{"type":53,"value":2500},"First of all we have to set our datasource properties in the application.yml file.",{"type":48,"tag":316,"props":2502,"children":2506},{"className":2503,"code":2504,"language":2505,"meta":31,"style":31},"language-yaml shiki shiki-themes nord github-dark monokai","spring:\n  datasource:\n    url: jdbc:mysql:\u002F\u002Flocalhost:3306\u002FCustomerDB?createDatabaseIfNotExist=true\n    username: root # set your own user\n    password: secret123 # set your own password\n    driver-class-name: com.mysql.cj.jdbc.Driver\n  jpa:\n    show-sql: true\n    hibernate:\n      ddl-auto: validate\n    properties:\n      hibernate:\n        dialect: org.hibernate.dialect.MySQLDialect\n        format_sql: true\n    database: mysql\n    database-platform: MYSQL\n","yaml",[2507],{"type":48,"tag":323,"props":2508,"children":2509},{"__ignoreMap":31},[2510,2524,2536,2554,2576,2598,2615,2627,2645,2657,2674,2686,2698,2715,2731,2748],{"type":48,"tag":327,"props":2511,"children":2512},{"class":329,"line":330},[2513,2519],{"type":48,"tag":327,"props":2514,"children":2516},{"style":2515},"--shiki-default:#8FBCBB;--shiki-dark:#85E89D;--shiki-sepia:#F92672",[2517],{"type":53,"value":2518},"spring",{"type":48,"tag":327,"props":2520,"children":2521},{"style":360},[2522],{"type":53,"value":2523},":\n",{"type":48,"tag":327,"props":2525,"children":2526},{"class":329,"line":339},[2527,2532],{"type":48,"tag":327,"props":2528,"children":2529},{"style":2515},[2530],{"type":53,"value":2531},"  datasource",{"type":48,"tag":327,"props":2533,"children":2534},{"style":360},[2535],{"type":53,"value":2523},{"type":48,"tag":327,"props":2537,"children":2538},{"class":329,"line":366},[2539,2544,2549],{"type":48,"tag":327,"props":2540,"children":2541},{"style":2515},[2542],{"type":53,"value":2543},"    url",{"type":48,"tag":327,"props":2545,"children":2546},{"style":360},[2547],{"type":53,"value":2548},":",{"type":48,"tag":327,"props":2550,"children":2551},{"style":646},[2552],{"type":53,"value":2553}," jdbc:mysql:\u002F\u002Flocalhost:3306\u002FCustomerDB?createDatabaseIfNotExist=true\n",{"type":48,"tag":327,"props":2555,"children":2556},{"class":329,"line":374},[2557,2562,2566,2571],{"type":48,"tag":327,"props":2558,"children":2559},{"style":2515},[2560],{"type":53,"value":2561},"    username",{"type":48,"tag":327,"props":2563,"children":2564},{"style":360},[2565],{"type":53,"value":2548},{"type":48,"tag":327,"props":2567,"children":2568},{"style":646},[2569],{"type":53,"value":2570}," root",{"type":48,"tag":327,"props":2572,"children":2573},{"style":457},[2574],{"type":53,"value":2575}," # set your own user\n",{"type":48,"tag":327,"props":2577,"children":2578},{"class":329,"line":401},[2579,2584,2588,2593],{"type":48,"tag":327,"props":2580,"children":2581},{"style":2515},[2582],{"type":53,"value":2583},"    password",{"type":48,"tag":327,"props":2585,"children":2586},{"style":360},[2587],{"type":53,"value":2548},{"type":48,"tag":327,"props":2589,"children":2590},{"style":646},[2591],{"type":53,"value":2592}," secret123",{"type":48,"tag":327,"props":2594,"children":2595},{"style":457},[2596],{"type":53,"value":2597}," # set your own password\n",{"type":48,"tag":327,"props":2599,"children":2600},{"class":329,"line":424},[2601,2606,2610],{"type":48,"tag":327,"props":2602,"children":2603},{"style":2515},[2604],{"type":53,"value":2605},"    driver-class-name",{"type":48,"tag":327,"props":2607,"children":2608},{"style":360},[2609],{"type":53,"value":2548},{"type":48,"tag":327,"props":2611,"children":2612},{"style":646},[2613],{"type":53,"value":2614}," com.mysql.cj.jdbc.Driver\n",{"type":48,"tag":327,"props":2616,"children":2617},{"class":329,"line":445},[2618,2623],{"type":48,"tag":327,"props":2619,"children":2620},{"style":2515},[2621],{"type":53,"value":2622},"  jpa",{"type":48,"tag":327,"props":2624,"children":2625},{"style":360},[2626],{"type":53,"value":2523},{"type":48,"tag":327,"props":2628,"children":2629},{"class":329,"line":453},[2630,2635,2639],{"type":48,"tag":327,"props":2631,"children":2632},{"style":2515},[2633],{"type":53,"value":2634},"    show-sql",{"type":48,"tag":327,"props":2636,"children":2637},{"style":360},[2638],{"type":53,"value":2548},{"type":48,"tag":327,"props":2640,"children":2642},{"style":2641},"--shiki-default:#81A1C1;--shiki-dark:#79B8FF;--shiki-sepia:#AE81FF",[2643],{"type":53,"value":2644}," true\n",{"type":48,"tag":327,"props":2646,"children":2647},{"class":329,"line":463},[2648,2653],{"type":48,"tag":327,"props":2649,"children":2650},{"style":2515},[2651],{"type":53,"value":2652},"    hibernate",{"type":48,"tag":327,"props":2654,"children":2655},{"style":360},[2656],{"type":53,"value":2523},{"type":48,"tag":327,"props":2658,"children":2659},{"class":329,"line":471},[2660,2665,2669],{"type":48,"tag":327,"props":2661,"children":2662},{"style":2515},[2663],{"type":53,"value":2664},"      ddl-auto",{"type":48,"tag":327,"props":2666,"children":2667},{"style":360},[2668],{"type":53,"value":2548},{"type":48,"tag":327,"props":2670,"children":2671},{"style":646},[2672],{"type":53,"value":2673}," validate\n",{"type":48,"tag":327,"props":2675,"children":2676},{"class":329,"line":480},[2677,2682],{"type":48,"tag":327,"props":2678,"children":2679},{"style":2515},[2680],{"type":53,"value":2681},"    properties",{"type":48,"tag":327,"props":2683,"children":2684},{"style":360},[2685],{"type":53,"value":2523},{"type":48,"tag":327,"props":2687,"children":2688},{"class":329,"line":489},[2689,2694],{"type":48,"tag":327,"props":2690,"children":2691},{"style":2515},[2692],{"type":53,"value":2693},"      hibernate",{"type":48,"tag":327,"props":2695,"children":2696},{"style":360},[2697],{"type":53,"value":2523},{"type":48,"tag":327,"props":2699,"children":2700},{"class":329,"line":497},[2701,2706,2710],{"type":48,"tag":327,"props":2702,"children":2703},{"style":2515},[2704],{"type":53,"value":2705},"        dialect",{"type":48,"tag":327,"props":2707,"children":2708},{"style":360},[2709],{"type":53,"value":2548},{"type":48,"tag":327,"props":2711,"children":2712},{"style":646},[2713],{"type":53,"value":2714}," org.hibernate.dialect.MySQLDialect\n",{"type":48,"tag":327,"props":2716,"children":2717},{"class":329,"line":537},[2718,2723,2727],{"type":48,"tag":327,"props":2719,"children":2720},{"style":2515},[2721],{"type":53,"value":2722},"        format_sql",{"type":48,"tag":327,"props":2724,"children":2725},{"style":360},[2726],{"type":53,"value":2548},{"type":48,"tag":327,"props":2728,"children":2729},{"style":2641},[2730],{"type":53,"value":2644},{"type":48,"tag":327,"props":2732,"children":2733},{"class":329,"line":571},[2734,2739,2743],{"type":48,"tag":327,"props":2735,"children":2736},{"style":2515},[2737],{"type":53,"value":2738},"    database",{"type":48,"tag":327,"props":2740,"children":2741},{"style":360},[2742],{"type":53,"value":2548},{"type":48,"tag":327,"props":2744,"children":2745},{"style":646},[2746],{"type":53,"value":2747}," mysql\n",{"type":48,"tag":327,"props":2749,"children":2750},{"class":329,"line":579},[2751,2756,2760],{"type":48,"tag":327,"props":2752,"children":2753},{"style":2515},[2754],{"type":53,"value":2755},"    database-platform",{"type":48,"tag":327,"props":2757,"children":2758},{"style":360},[2759],{"type":53,"value":2548},{"type":48,"tag":327,"props":2761,"children":2762},{"style":646},[2763],{"type":53,"value":2764}," MYSQL\n",{"type":48,"tag":49,"props":2766,"children":2767},{},[2768],{"type":53,"value":2769},"Now we can start creating our Customer class, the CustomerRepository and the CustomerService.",{"type":48,"tag":316,"props":2771,"children":2773},{"className":318,"code":2772,"language":320,"meta":31,"style":31},"import java.util.List;\nimport java.util.Optional;\n\nimport javax.persistence.*;\n\n@Entity\n@Table(name = \"Customer\")\npublic class Customer {\n\n    @Id\n    @GeneratedValue(strategy = GenerationType.IDENTITY)\n    private int id;\n    private String name;\n    private int age;\n\n    \u002F\u002F Constructors\n\n    \u002F\u002F Getters and Setters\n}\n\n@Repository\npublic interface CustomerRepository extends JpaRepository\u003CCustomer, Integer> {\n\n}\n\n@Service\npublic class CustomerService {\n\n    @Autowired\n    private CustomerRepository customerRepository;\n\n    public void saveCustomer(Customer customer) {\n        customerRepository.save(customer);\n    }\n\n    public List\u003CCustomer> getAllCustomers() {\n        return customerRepository.findAll();\n    }\n\n    public Customer getCustomerById(int id) {\n        return customerRepository.findById(id).orElse(null);\n    }\n\n    public void deleteCustomerById(int id) {\n        Optional\u003CCustomer> customer = customerRepository.findById(id);\n\n        if (customer.isPresent()) {\n            customerRepository.deleteById(id);\n        } else {\n            throw new RuntimeException(\"Customer not found for id :: \" + id);\n        }\n    }\n}\n",[2774],{"type":48,"tag":323,"props":2775,"children":2776},{"__ignoreMap":31},[2777,2809,2841,2848,2881,2888,2902,2944,2963,2970,2983,3026,3045,3064,3083,3090,3097,3104,3111,3118,3125,3137,3190,3197,3204,3211,3223,3243,3250,3262,3282,3289,3325,3358,3365,3372,3409,3437,3444,3451,3488,3543,3550,3557,3593,3649,3656,3689,3722,3738,3787,3794,3801],{"type":48,"tag":327,"props":2778,"children":2779},{"class":329,"line":330},[2780,2784,2788,2792,2796,2800,2805],{"type":48,"tag":327,"props":2781,"children":2782},{"style":343},[2783],{"type":53,"value":503},{"type":48,"tag":327,"props":2785,"children":2786},{"style":506},[2787],{"type":53,"value":509},{"type":48,"tag":327,"props":2789,"children":2790},{"style":512},[2791],{"type":53,"value":515},{"type":48,"tag":327,"props":2793,"children":2794},{"style":506},[2795],{"type":53,"value":555},{"type":48,"tag":327,"props":2797,"children":2798},{"style":512},[2799],{"type":53,"value":515},{"type":48,"tag":327,"props":2801,"children":2802},{"style":506},[2803],{"type":53,"value":2804},"List",{"type":48,"tag":327,"props":2806,"children":2807},{"style":395},[2808],{"type":53,"value":398},{"type":48,"tag":327,"props":2810,"children":2811},{"class":329,"line":339},[2812,2816,2820,2824,2828,2832,2837],{"type":48,"tag":327,"props":2813,"children":2814},{"style":343},[2815],{"type":53,"value":503},{"type":48,"tag":327,"props":2817,"children":2818},{"style":506},[2819],{"type":53,"value":509},{"type":48,"tag":327,"props":2821,"children":2822},{"style":512},[2823],{"type":53,"value":515},{"type":48,"tag":327,"props":2825,"children":2826},{"style":506},[2827],{"type":53,"value":555},{"type":48,"tag":327,"props":2829,"children":2830},{"style":512},[2831],{"type":53,"value":515},{"type":48,"tag":327,"props":2833,"children":2834},{"style":506},[2835],{"type":53,"value":2836},"Optional",{"type":48,"tag":327,"props":2838,"children":2839},{"style":395},[2840],{"type":53,"value":398},{"type":48,"tag":327,"props":2842,"children":2843},{"class":329,"line":366},[2844],{"type":48,"tag":327,"props":2845,"children":2846},{"emptyLinePlaceholder":35},[2847],{"type":53,"value":336},{"type":48,"tag":327,"props":2849,"children":2850},{"class":329,"line":374},[2851,2855,2860,2864,2869,2873,2877],{"type":48,"tag":327,"props":2852,"children":2853},{"style":343},[2854],{"type":53,"value":503},{"type":48,"tag":327,"props":2856,"children":2857},{"style":506},[2858],{"type":53,"value":2859}," javax",{"type":48,"tag":327,"props":2861,"children":2862},{"style":512},[2863],{"type":53,"value":515},{"type":48,"tag":327,"props":2865,"children":2866},{"style":506},[2867],{"type":53,"value":2868},"persistence",{"type":48,"tag":327,"props":2870,"children":2871},{"style":512},[2872],{"type":53,"value":515},{"type":48,"tag":327,"props":2874,"children":2875},{"style":527},[2876],{"type":53,"value":530},{"type":48,"tag":327,"props":2878,"children":2879},{"style":395},[2880],{"type":53,"value":398},{"type":48,"tag":327,"props":2882,"children":2883},{"class":329,"line":401},[2884],{"type":48,"tag":327,"props":2885,"children":2886},{"emptyLinePlaceholder":35},[2887],{"type":53,"value":336},{"type":48,"tag":327,"props":2889,"children":2890},{"class":329,"line":424},[2891,2896],{"type":48,"tag":327,"props":2892,"children":2893},{"style":360},[2894],{"type":53,"value":2895},"@",{"type":48,"tag":327,"props":2897,"children":2899},{"style":2898},"--shiki-default:#D08770;--shiki-default-font-style:inherit;--shiki-dark:#F97583;--shiki-dark-font-style:inherit;--shiki-sepia:#66D9EF;--shiki-sepia-font-style:italic",[2900],{"type":53,"value":2901},"Entity\n",{"type":48,"tag":327,"props":2903,"children":2904},{"class":329,"line":445},[2905,2909,2914,2918,2923,2927,2931,2935,2939],{"type":48,"tag":327,"props":2906,"children":2907},{"style":360},[2908],{"type":53,"value":2895},{"type":48,"tag":327,"props":2910,"children":2911},{"style":2898},[2912],{"type":53,"value":2913},"Table",{"type":48,"tag":327,"props":2915,"children":2916},{"style":360},[2917],{"type":53,"value":917},{"type":48,"tag":327,"props":2919,"children":2921},{"style":2920},"--shiki-default:#D8DEE9;--shiki-dark:#79B8FF;--shiki-sepia:#AE81FF",[2922],{"type":53,"value":2199},{"type":48,"tag":327,"props":2924,"children":2925},{"style":343},[2926],{"type":53,"value":637},{"type":48,"tag":327,"props":2928,"children":2929},{"style":640},[2930],{"type":53,"value":643},{"type":48,"tag":327,"props":2932,"children":2933},{"style":646},[2934],{"type":53,"value":1839},{"type":48,"tag":327,"props":2936,"children":2937},{"style":640},[2938],{"type":53,"value":654},{"type":48,"tag":327,"props":2940,"children":2941},{"style":360},[2942],{"type":53,"value":2943},")\n",{"type":48,"tag":327,"props":2945,"children":2946},{"class":329,"line":453},[2947,2951,2955,2959],{"type":48,"tag":327,"props":2948,"children":2949},{"style":343},[2950],{"type":53,"value":346},{"type":48,"tag":327,"props":2952,"children":2953},{"style":343},[2954],{"type":53,"value":351},{"type":48,"tag":327,"props":2956,"children":2957},{"style":354},[2958],{"type":53,"value":357},{"type":48,"tag":327,"props":2960,"children":2961},{"style":360},[2962],{"type":53,"value":363},{"type":48,"tag":327,"props":2964,"children":2965},{"class":329,"line":463},[2966],{"type":48,"tag":327,"props":2967,"children":2968},{"emptyLinePlaceholder":35},[2969],{"type":53,"value":336},{"type":48,"tag":327,"props":2971,"children":2972},{"class":329,"line":471},[2973,2978],{"type":48,"tag":327,"props":2974,"children":2975},{"style":360},[2976],{"type":53,"value":2977},"    @",{"type":48,"tag":327,"props":2979,"children":2980},{"style":2898},[2981],{"type":53,"value":2982},"Id\n",{"type":48,"tag":327,"props":2984,"children":2985},{"class":329,"line":480},[2986,2990,2995,2999,3004,3008,3013,3017,3022],{"type":48,"tag":327,"props":2987,"children":2988},{"style":360},[2989],{"type":53,"value":2977},{"type":48,"tag":327,"props":2991,"children":2992},{"style":2898},[2993],{"type":53,"value":2994},"GeneratedValue",{"type":48,"tag":327,"props":2996,"children":2997},{"style":360},[2998],{"type":53,"value":917},{"type":48,"tag":327,"props":3000,"children":3001},{"style":2920},[3002],{"type":53,"value":3003},"strategy",{"type":48,"tag":327,"props":3005,"children":3006},{"style":343},[3007],{"type":53,"value":637},{"type":48,"tag":327,"props":3009,"children":3010},{"style":389},[3011],{"type":53,"value":3012}," GenerationType",{"type":48,"tag":327,"props":3014,"children":3015},{"style":360},[3016],{"type":53,"value":515},{"type":48,"tag":327,"props":3018,"children":3019},{"style":389},[3020],{"type":53,"value":3021},"IDENTITY",{"type":48,"tag":327,"props":3023,"children":3024},{"style":360},[3025],{"type":53,"value":2943},{"type":48,"tag":327,"props":3027,"children":3028},{"class":329,"line":489},[3029,3033,3037,3041],{"type":48,"tag":327,"props":3030,"children":3031},{"style":343},[3032],{"type":53,"value":380},{"type":48,"tag":327,"props":3034,"children":3035},{"style":383},[3036],{"type":53,"value":386},{"type":48,"tag":327,"props":3038,"children":3039},{"style":389},[3040],{"type":53,"value":392},{"type":48,"tag":327,"props":3042,"children":3043},{"style":395},[3044],{"type":53,"value":398},{"type":48,"tag":327,"props":3046,"children":3047},{"class":329,"line":497},[3048,3052,3056,3060],{"type":48,"tag":327,"props":3049,"children":3050},{"style":343},[3051],{"type":53,"value":380},{"type":48,"tag":327,"props":3053,"children":3054},{"style":409},[3055],{"type":53,"value":412},{"type":48,"tag":327,"props":3057,"children":3058},{"style":389},[3059],{"type":53,"value":417},{"type":48,"tag":327,"props":3061,"children":3062},{"style":395},[3063],{"type":53,"value":398},{"type":48,"tag":327,"props":3065,"children":3066},{"class":329,"line":537},[3067,3071,3075,3079],{"type":48,"tag":327,"props":3068,"children":3069},{"style":343},[3070],{"type":53,"value":380},{"type":48,"tag":327,"props":3072,"children":3073},{"style":383},[3074],{"type":53,"value":386},{"type":48,"tag":327,"props":3076,"children":3077},{"style":389},[3078],{"type":53,"value":438},{"type":48,"tag":327,"props":3080,"children":3081},{"style":395},[3082],{"type":53,"value":398},{"type":48,"tag":327,"props":3084,"children":3085},{"class":329,"line":571},[3086],{"type":48,"tag":327,"props":3087,"children":3088},{"emptyLinePlaceholder":35},[3089],{"type":53,"value":336},{"type":48,"tag":327,"props":3091,"children":3092},{"class":329,"line":579},[3093],{"type":48,"tag":327,"props":3094,"children":3095},{"style":457},[3096],{"type":53,"value":460},{"type":48,"tag":327,"props":3098,"children":3099},{"class":329,"line":600},[3100],{"type":48,"tag":327,"props":3101,"children":3102},{"emptyLinePlaceholder":35},[3103],{"type":53,"value":336},{"type":48,"tag":327,"props":3105,"children":3106},{"class":329,"line":608},[3107],{"type":48,"tag":327,"props":3108,"children":3109},{"style":457},[3110],{"type":53,"value":477},{"type":48,"tag":327,"props":3112,"children":3113},{"class":329,"line":661},[3114],{"type":48,"tag":327,"props":3115,"children":3116},{"style":360},[3117],{"type":53,"value":486},{"type":48,"tag":327,"props":3119,"children":3120},{"class":329,"line":717},[3121],{"type":48,"tag":327,"props":3122,"children":3123},{"emptyLinePlaceholder":35},[3124],{"type":53,"value":336},{"type":48,"tag":327,"props":3126,"children":3127},{"class":329,"line":768},[3128,3132],{"type":48,"tag":327,"props":3129,"children":3130},{"style":360},[3131],{"type":53,"value":2895},{"type":48,"tag":327,"props":3133,"children":3134},{"style":2898},[3135],{"type":53,"value":3136},"Repository\n",{"type":48,"tag":327,"props":3138,"children":3139},{"class":329,"line":819},[3140,3144,3149,3154,3159,3165,3169,3173,3177,3182,3186],{"type":48,"tag":327,"props":3141,"children":3142},{"style":343},[3143],{"type":53,"value":346},{"type":48,"tag":327,"props":3145,"children":3146},{"style":343},[3147],{"type":53,"value":3148}," interface",{"type":48,"tag":327,"props":3150,"children":3151},{"style":354},[3152],{"type":53,"value":3153}," CustomerRepository",{"type":48,"tag":327,"props":3155,"children":3156},{"style":343},[3157],{"type":53,"value":3158}," extends",{"type":48,"tag":327,"props":3160,"children":3162},{"style":3161},"--shiki-default:#8FBCBB;--shiki-default-font-weight:bold;--shiki-default-font-style:inherit;--shiki-default-text-decoration:inherit;--shiki-dark:#B392F0;--shiki-dark-font-weight:inherit;--shiki-dark-font-style:inherit;--shiki-dark-text-decoration:inherit;--shiki-sepia:#A6E22E;--shiki-sepia-font-weight:inherit;--shiki-sepia-font-style:italic;--shiki-sepia-text-decoration:underline",[3163],{"type":53,"value":3164}," JpaRepository",{"type":48,"tag":327,"props":3166,"children":3167},{"style":360},[3168],{"type":53,"value":1833},{"type":48,"tag":327,"props":3170,"children":3171},{"style":1836},[3172],{"type":53,"value":1839},{"type":48,"tag":327,"props":3174,"children":3175},{"style":360},[3176],{"type":53,"value":927},{"type":48,"tag":327,"props":3178,"children":3179},{"style":1836},[3180],{"type":53,"value":3181}," Integer",{"type":48,"tag":327,"props":3183,"children":3184},{"style":360},[3185],{"type":53,"value":1844},{"type":48,"tag":327,"props":3187,"children":3188},{"style":360},[3189],{"type":53,"value":363},{"type":48,"tag":327,"props":3191,"children":3192},{"class":329,"line":827},[3193],{"type":48,"tag":327,"props":3194,"children":3195},{"emptyLinePlaceholder":35},[3196],{"type":53,"value":336},{"type":48,"tag":327,"props":3198,"children":3199},{"class":329,"line":870},[3200],{"type":48,"tag":327,"props":3201,"children":3202},{"style":360},[3203],{"type":53,"value":486},{"type":48,"tag":327,"props":3205,"children":3206},{"class":329,"line":883},[3207],{"type":48,"tag":327,"props":3208,"children":3209},{"emptyLinePlaceholder":35},[3210],{"type":53,"value":336},{"type":48,"tag":327,"props":3212,"children":3213},{"class":329,"line":951},[3214,3218],{"type":48,"tag":327,"props":3215,"children":3216},{"style":360},[3217],{"type":53,"value":2895},{"type":48,"tag":327,"props":3219,"children":3220},{"style":2898},[3221],{"type":53,"value":3222},"Service\n",{"type":48,"tag":327,"props":3224,"children":3225},{"class":329,"line":968},[3226,3230,3234,3239],{"type":48,"tag":327,"props":3227,"children":3228},{"style":343},[3229],{"type":53,"value":346},{"type":48,"tag":327,"props":3231,"children":3232},{"style":343},[3233],{"type":53,"value":351},{"type":48,"tag":327,"props":3235,"children":3236},{"style":354},[3237],{"type":53,"value":3238}," CustomerService",{"type":48,"tag":327,"props":3240,"children":3241},{"style":360},[3242],{"type":53,"value":363},{"type":48,"tag":327,"props":3244,"children":3245},{"class":329,"line":1006},[3246],{"type":48,"tag":327,"props":3247,"children":3248},{"emptyLinePlaceholder":35},[3249],{"type":53,"value":336},{"type":48,"tag":327,"props":3251,"children":3252},{"class":329,"line":1057},[3253,3257],{"type":48,"tag":327,"props":3254,"children":3255},{"style":360},[3256],{"type":53,"value":2977},{"type":48,"tag":327,"props":3258,"children":3259},{"style":2898},[3260],{"type":53,"value":3261},"Autowired\n",{"type":48,"tag":327,"props":3263,"children":3264},{"class":329,"line":1066},[3265,3269,3273,3278],{"type":48,"tag":327,"props":3266,"children":3267},{"style":343},[3268],{"type":53,"value":380},{"type":48,"tag":327,"props":3270,"children":3271},{"style":409},[3272],{"type":53,"value":3153},{"type":48,"tag":327,"props":3274,"children":3275},{"style":389},[3276],{"type":53,"value":3277}," customerRepository",{"type":48,"tag":327,"props":3279,"children":3280},{"style":395},[3281],{"type":53,"value":398},{"type":48,"tag":327,"props":3283,"children":3284},{"class":329,"line":1075},[3285],{"type":48,"tag":327,"props":3286,"children":3287},{"emptyLinePlaceholder":35},[3288],{"type":53,"value":336},{"type":48,"tag":327,"props":3290,"children":3291},{"class":329,"line":1083},[3292,3296,3300,3305,3309,3313,3317,3321],{"type":48,"tag":327,"props":3293,"children":3294},{"style":343},[3295],{"type":53,"value":833},{"type":48,"tag":327,"props":3297,"children":3298},{"style":383},[3299],{"type":53,"value":1142},{"type":48,"tag":327,"props":3301,"children":3302},{"style":845},[3303],{"type":53,"value":3304}," saveCustomer",{"type":48,"tag":327,"props":3306,"children":3307},{"style":360},[3308],{"type":53,"value":917},{"type":48,"tag":327,"props":3310,"children":3311},{"style":409},[3312],{"type":53,"value":1839},{"type":48,"tag":327,"props":3314,"children":3315},{"style":992},[3316],{"type":53,"value":2278},{"type":48,"tag":327,"props":3318,"children":3319},{"style":360},[3320],{"type":53,"value":944},{"type":48,"tag":327,"props":3322,"children":3323},{"style":360},[3324],{"type":53,"value":363},{"type":48,"tag":327,"props":3326,"children":3327},{"class":329,"line":1091},[3328,3333,3337,3342,3346,3350,3354],{"type":48,"tag":327,"props":3329,"children":3330},{"style":389},[3331],{"type":53,"value":3332},"        customerRepository",{"type":48,"tag":327,"props":3334,"children":3335},{"style":360},[3336],{"type":53,"value":515},{"type":48,"tag":327,"props":3338,"children":3339},{"style":845},[3340],{"type":53,"value":3341},"save",{"type":48,"tag":327,"props":3343,"children":3344},{"style":360},[3345],{"type":53,"value":917},{"type":48,"tag":327,"props":3347,"children":3348},{"style":708},[3349],{"type":53,"value":2349},{"type":48,"tag":327,"props":3351,"children":3352},{"style":360},[3353],{"type":53,"value":944},{"type":48,"tag":327,"props":3355,"children":3356},{"style":395},[3357],{"type":53,"value":398},{"type":48,"tag":327,"props":3359,"children":3360},{"class":329,"line":1099},[3361],{"type":48,"tag":327,"props":3362,"children":3363},{"style":360},[3364],{"type":53,"value":1072},{"type":48,"tag":327,"props":3366,"children":3367},{"class":329,"line":1120},[3368],{"type":48,"tag":327,"props":3369,"children":3370},{"emptyLinePlaceholder":35},[3371],{"type":53,"value":336},{"type":48,"tag":327,"props":3373,"children":3374},{"class":329,"line":1128},[3375,3379,3384,3388,3392,3396,3401,3405],{"type":48,"tag":327,"props":3376,"children":3377},{"style":343},[3378],{"type":53,"value":833},{"type":48,"tag":327,"props":3380,"children":3381},{"style":409},[3382],{"type":53,"value":3383}," List",{"type":48,"tag":327,"props":3385,"children":3386},{"style":360},[3387],{"type":53,"value":1833},{"type":48,"tag":327,"props":3389,"children":3390},{"style":1836},[3391],{"type":53,"value":1839},{"type":48,"tag":327,"props":3393,"children":3394},{"style":360},[3395],{"type":53,"value":1844},{"type":48,"tag":327,"props":3397,"children":3398},{"style":845},[3399],{"type":53,"value":3400}," getAllCustomers",{"type":48,"tag":327,"props":3402,"children":3403},{"style":360},[3404],{"type":53,"value":853},{"type":48,"tag":327,"props":3406,"children":3407},{"style":360},[3408],{"type":53,"value":363},{"type":48,"tag":327,"props":3410,"children":3411},{"class":329,"line":1166},[3412,3416,3420,3424,3429,3433],{"type":48,"tag":327,"props":3413,"children":3414},{"style":343},[3415],{"type":53,"value":2464},{"type":48,"tag":327,"props":3417,"children":3418},{"style":389},[3419],{"type":53,"value":3277},{"type":48,"tag":327,"props":3421,"children":3422},{"style":360},[3423],{"type":53,"value":515},{"type":48,"tag":327,"props":3425,"children":3426},{"style":845},[3427],{"type":53,"value":3428},"findAll",{"type":48,"tag":327,"props":3430,"children":3431},{"style":360},[3432],{"type":53,"value":853},{"type":48,"tag":327,"props":3434,"children":3435},{"style":395},[3436],{"type":53,"value":398},{"type":48,"tag":327,"props":3438,"children":3439},{"class":329,"line":1201},[3440],{"type":48,"tag":327,"props":3441,"children":3442},{"style":360},[3443],{"type":53,"value":1072},{"type":48,"tag":327,"props":3445,"children":3446},{"class":329,"line":1238},[3447],{"type":48,"tag":327,"props":3448,"children":3449},{"emptyLinePlaceholder":35},[3450],{"type":53,"value":336},{"type":48,"tag":327,"props":3452,"children":3453},{"class":329,"line":1278},[3454,3458,3462,3467,3471,3476,3480,3484],{"type":48,"tag":327,"props":3455,"children":3456},{"style":343},[3457],{"type":53,"value":833},{"type":48,"tag":327,"props":3459,"children":3460},{"style":409},[3461],{"type":53,"value":357},{"type":48,"tag":327,"props":3463,"children":3464},{"style":845},[3465],{"type":53,"value":3466}," getCustomerById",{"type":48,"tag":327,"props":3468,"children":3469},{"style":360},[3470],{"type":53,"value":917},{"type":48,"tag":327,"props":3472,"children":3473},{"style":383},[3474],{"type":53,"value":3475},"int",{"type":48,"tag":327,"props":3477,"children":3478},{"style":992},[3479],{"type":53,"value":392},{"type":48,"tag":327,"props":3481,"children":3482},{"style":360},[3483],{"type":53,"value":944},{"type":48,"tag":327,"props":3485,"children":3486},{"style":360},[3487],{"type":53,"value":363},{"type":48,"tag":327,"props":3489,"children":3490},{"class":329,"line":1313},[3491,3495,3499,3503,3508,3512,3516,3521,3526,3530,3535,3539],{"type":48,"tag":327,"props":3492,"children":3493},{"style":343},[3494],{"type":53,"value":2464},{"type":48,"tag":327,"props":3496,"children":3497},{"style":389},[3498],{"type":53,"value":3277},{"type":48,"tag":327,"props":3500,"children":3501},{"style":360},[3502],{"type":53,"value":515},{"type":48,"tag":327,"props":3504,"children":3505},{"style":845},[3506],{"type":53,"value":3507},"findById",{"type":48,"tag":327,"props":3509,"children":3510},{"style":360},[3511],{"type":53,"value":917},{"type":48,"tag":327,"props":3513,"children":3514},{"style":708},[3515],{"type":53,"value":2144},{"type":48,"tag":327,"props":3517,"children":3518},{"style":360},[3519],{"type":53,"value":3520},").",{"type":48,"tag":327,"props":3522,"children":3523},{"style":845},[3524],{"type":53,"value":3525},"orElse",{"type":48,"tag":327,"props":3527,"children":3528},{"style":360},[3529],{"type":53,"value":917},{"type":48,"tag":327,"props":3531,"children":3532},{"style":2641},[3533],{"type":53,"value":3534},"null",{"type":48,"tag":327,"props":3536,"children":3537},{"style":360},[3538],{"type":53,"value":944},{"type":48,"tag":327,"props":3540,"children":3541},{"style":395},[3542],{"type":53,"value":398},{"type":48,"tag":327,"props":3544,"children":3545},{"class":329,"line":1345},[3546],{"type":48,"tag":327,"props":3547,"children":3548},{"style":360},[3549],{"type":53,"value":1072},{"type":48,"tag":327,"props":3551,"children":3552},{"class":329,"line":1394},[3553],{"type":48,"tag":327,"props":3554,"children":3555},{"emptyLinePlaceholder":35},[3556],{"type":53,"value":336},{"type":48,"tag":327,"props":3558,"children":3559},{"class":329,"line":1402},[3560,3564,3568,3573,3577,3581,3585,3589],{"type":48,"tag":327,"props":3561,"children":3562},{"style":343},[3563],{"type":53,"value":833},{"type":48,"tag":327,"props":3565,"children":3566},{"style":383},[3567],{"type":53,"value":1142},{"type":48,"tag":327,"props":3569,"children":3570},{"style":845},[3571],{"type":53,"value":3572}," deleteCustomerById",{"type":48,"tag":327,"props":3574,"children":3575},{"style":360},[3576],{"type":53,"value":917},{"type":48,"tag":327,"props":3578,"children":3579},{"style":383},[3580],{"type":53,"value":3475},{"type":48,"tag":327,"props":3582,"children":3583},{"style":992},[3584],{"type":53,"value":392},{"type":48,"tag":327,"props":3586,"children":3587},{"style":360},[3588],{"type":53,"value":944},{"type":48,"tag":327,"props":3590,"children":3591},{"style":360},[3592],{"type":53,"value":363},{"type":48,"tag":327,"props":3594,"children":3595},{"class":329,"line":1410},[3596,3601,3605,3609,3613,3617,3621,3625,3629,3633,3637,3641,3645],{"type":48,"tag":327,"props":3597,"children":3598},{"style":409},[3599],{"type":53,"value":3600},"        Optional",{"type":48,"tag":327,"props":3602,"children":3603},{"style":360},[3604],{"type":53,"value":1833},{"type":48,"tag":327,"props":3606,"children":3607},{"style":1836},[3608],{"type":53,"value":1839},{"type":48,"tag":327,"props":3610,"children":3611},{"style":360},[3612],{"type":53,"value":1844},{"type":48,"tag":327,"props":3614,"children":3615},{"style":389},[3616],{"type":53,"value":2278},{"type":48,"tag":327,"props":3618,"children":3619},{"style":343},[3620],{"type":53,"value":637},{"type":48,"tag":327,"props":3622,"children":3623},{"style":389},[3624],{"type":53,"value":3277},{"type":48,"tag":327,"props":3626,"children":3627},{"style":360},[3628],{"type":53,"value":515},{"type":48,"tag":327,"props":3630,"children":3631},{"style":845},[3632],{"type":53,"value":3507},{"type":48,"tag":327,"props":3634,"children":3635},{"style":360},[3636],{"type":53,"value":917},{"type":48,"tag":327,"props":3638,"children":3639},{"style":708},[3640],{"type":53,"value":2144},{"type":48,"tag":327,"props":3642,"children":3643},{"style":360},[3644],{"type":53,"value":944},{"type":48,"tag":327,"props":3646,"children":3647},{"style":395},[3648],{"type":53,"value":398},{"type":48,"tag":327,"props":3650,"children":3651},{"class":329,"line":1418},[3652],{"type":48,"tag":327,"props":3653,"children":3654},{"emptyLinePlaceholder":35},[3655],{"type":53,"value":336},{"type":48,"tag":327,"props":3657,"children":3658},{"class":329,"line":1480},[3659,3664,3668,3672,3676,3681,3685],{"type":48,"tag":327,"props":3660,"children":3661},{"style":343},[3662],{"type":53,"value":3663},"        if",{"type":48,"tag":327,"props":3665,"children":3666},{"style":360},[3667],{"type":53,"value":984},{"type":48,"tag":327,"props":3669,"children":3670},{"style":389},[3671],{"type":53,"value":2349},{"type":48,"tag":327,"props":3673,"children":3674},{"style":360},[3675],{"type":53,"value":515},{"type":48,"tag":327,"props":3677,"children":3678},{"style":845},[3679],{"type":53,"value":3680},"isPresent",{"type":48,"tag":327,"props":3682,"children":3683},{"style":360},[3684],{"type":53,"value":1271},{"type":48,"tag":327,"props":3686,"children":3687},{"style":360},[3688],{"type":53,"value":363},{"type":48,"tag":327,"props":3690,"children":3691},{"class":329,"line":1514},[3692,3697,3701,3706,3710,3714,3718],{"type":48,"tag":327,"props":3693,"children":3694},{"style":389},[3695],{"type":53,"value":3696},"            customerRepository",{"type":48,"tag":327,"props":3698,"children":3699},{"style":360},[3700],{"type":53,"value":515},{"type":48,"tag":327,"props":3702,"children":3703},{"style":845},[3704],{"type":53,"value":3705},"deleteById",{"type":48,"tag":327,"props":3707,"children":3708},{"style":360},[3709],{"type":53,"value":917},{"type":48,"tag":327,"props":3711,"children":3712},{"style":708},[3713],{"type":53,"value":2144},{"type":48,"tag":327,"props":3715,"children":3716},{"style":360},[3717],{"type":53,"value":944},{"type":48,"tag":327,"props":3719,"children":3720},{"style":395},[3721],{"type":53,"value":398},{"type":48,"tag":327,"props":3723,"children":3724},{"class":329,"line":1550},[3725,3729,3734],{"type":48,"tag":327,"props":3726,"children":3727},{"style":360},[3728],{"type":53,"value":974},{"type":48,"tag":327,"props":3730,"children":3731},{"style":343},[3732],{"type":53,"value":3733}," else",{"type":48,"tag":327,"props":3735,"children":3736},{"style":360},[3737],{"type":53,"value":363},{"type":48,"tag":327,"props":3739,"children":3740},{"class":329,"line":1599},[3741,3745,3749,3754,3758,3762,3767,3771,3775,3779,3783],{"type":48,"tag":327,"props":3742,"children":3743},{"style":343},[3744],{"type":53,"value":1012},{"type":48,"tag":327,"props":3746,"children":3747},{"style":343},[3748],{"type":53,"value":1017},{"type":48,"tag":327,"props":3750,"children":3751},{"style":845},[3752],{"type":53,"value":3753}," RuntimeException",{"type":48,"tag":327,"props":3755,"children":3756},{"style":360},[3757],{"type":53,"value":917},{"type":48,"tag":327,"props":3759,"children":3760},{"style":640},[3761],{"type":53,"value":654},{"type":48,"tag":327,"props":3763,"children":3764},{"style":646},[3765],{"type":53,"value":3766},"Customer not found for id :: ",{"type":48,"tag":327,"props":3768,"children":3769},{"style":640},[3770],{"type":53,"value":654},{"type":48,"tag":327,"props":3772,"children":3773},{"style":343},[3774],{"type":53,"value":705},{"type":48,"tag":327,"props":3776,"children":3777},{"style":708},[3778],{"type":53,"value":392},{"type":48,"tag":327,"props":3780,"children":3781},{"style":360},[3782],{"type":53,"value":944},{"type":48,"tag":327,"props":3784,"children":3785},{"style":395},[3786],{"type":53,"value":398},{"type":48,"tag":327,"props":3788,"children":3789},{"class":329,"line":1643},[3790],{"type":48,"tag":327,"props":3791,"children":3792},{"style":360},[3793],{"type":53,"value":1063},{"type":48,"tag":327,"props":3795,"children":3796},{"class":329,"line":1685},[3797],{"type":48,"tag":327,"props":3798,"children":3799},{"style":360},[3800],{"type":53,"value":1072},{"type":48,"tag":327,"props":3802,"children":3803},{"class":329,"line":1709},[3804],{"type":48,"tag":327,"props":3805,"children":3806},{"style":360},[3807],{"type":53,"value":486},{"type":48,"tag":61,"props":3809,"children":3811},{"id":3810},"other-resources",[3812],{"type":53,"value":3813},"Other Resources",{"type":48,"tag":49,"props":3815,"children":3816},{},[3817,3819,3826],{"type":53,"value":3818},"The following video is about Pros and Cons of JDBC and JPA presented\nby ",{"type":48,"tag":81,"props":3820,"children":3823},{"href":3821,"rel":3822},"https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Fgreg-l-turnquist\u002F",[85],[3824],{"type":53,"value":3825},"Greg Turnquist",{"type":53,"value":515},{"type":48,"tag":3828,"props":3829,"children":3831},"you-tube",{"id":3830},"XuLUnTlAWmw",[],{"type":48,"tag":49,"props":3833,"children":3834},{},[3835,3837,3844],{"type":53,"value":3836},"The following video is an explanation from ",{"type":48,"tag":81,"props":3838,"children":3841},{"href":3839,"rel":3840},"https:\u002F\u002Fwww.danvega.dev",[85],[3842],{"type":53,"value":3843},"Dan Vega",{"type":53,"value":3845}," about the difference between JDBC Client\nand Spring Data JDBC.",{"type":48,"tag":3828,"props":3847,"children":3849},{"id":3848},"qLDrfebeXS0",[],{"type":48,"tag":61,"props":3851,"children":3853},{"id":3852},"conclusion",[3854],{"type":53,"value":3855},"Conclusion",{"type":48,"tag":49,"props":3857,"children":3858},{},[3859],{"type":53,"value":3860},"In summary, JDBC is ideal for scenarios requiring low-level database control and performance optimization, while JPA\nexcels in providing a higher-level, object-oriented approach to data persistence, enhancing productivity and\nmaintainability. Combining both JDBC and JPA in a single application allows developers to leverage the strengths of\neach. JDBC can handle custom and performance-critical tasks, while JPA simplifies standard data access operations. The\nchoice between them or their combination depends on the specific needs of the application, balancing control, and\ndeveloper productivity.",{"type":48,"tag":3862,"props":3863,"children":3864},"style",{},[3865],{"type":53,"value":3866},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html .sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}html.sepia .shiki span {color: var(--shiki-sepia);background: var(--shiki-sepia-bg);font-style: var(--shiki-sepia-font-style);font-weight: var(--shiki-sepia-font-weight);text-decoration: var(--shiki-sepia-text-decoration);}",{"title":31,"searchDepth":339,"depth":339,"links":3868},[3869,3870,3871,3872,3873,3874,3875,3876,3877,3878],{"id":63,"depth":339,"text":66},{"id":91,"depth":339,"text":94},{"id":117,"depth":339,"text":120},{"id":237,"depth":339,"text":240},{"id":252,"depth":339,"text":255},{"id":263,"depth":339,"text":266},{"id":274,"depth":339,"text":277},{"id":299,"depth":339,"text":302},{"id":3810,"depth":339,"text":3813},{"id":3852,"depth":339,"text":3855},"markdown","content:blog:2024:01:25:jdbc-vs-jpa.md","content","blog\u002F2024\u002F01\u002F25\u002Fjdbc-vs-jpa.md","blog\u002F2024\u002F01\u002F25\u002Fjdbc-vs-jpa","md",{"loc":26},1773617924639]