• 大小: 81KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-05-29
  • 语言: 其他
  • 标签: springboot  

资源简介

简单的springboot+jdbc的增删改查,实现了与数据库的连接

资源截图

代码片段和文件信息

package com.example.girl1;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

@Entity
public class Girl{
   @Id
    private int id;

    private String username;

    private String password;

    public Girl(){

    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return “User{“ +
                “id=“ + id +
                “ username=‘“ + username + ‘\‘‘ +
                “ password=‘“ + password + ‘\‘‘ +
                ‘}‘;
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     文件         333  2019-07-11 16:59  springboot+jdbc增删改查\.gitignore
     目录           0  2019-07-13 17:48  springboot+jdbc增删改查\.idea\
     文件         806  2019-07-11 17:05  springboot+jdbc增删改查\.idea\compiler.xml
     文件         177  2019-07-11 17:05  springboot+jdbc增删改查\.idea\encodings.xml
     目录           0  2019-07-11 20:07  springboot+jdbc增删改查\.idea\libraries\
     文件         486  2019-07-11 20:07  springboot+jdbc增删改查\.idea\libraries\Maven__antlr_antlr_2_7_7.xml
     文件         592  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__ch_qos_logback_logback_classic_1_2_3.xml
     文件         571  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__ch_qos_logback_logback_core_1_2_3.xml
     文件         546  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__com_fasterxml_classmate_1_4_0.xml
     文件         668  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_annotations_2_9_0.xml
     文件         619  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_core_2_9_9.xml
     文件         647  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__com_fasterxml_jackson_core_jackson_databind_2_9_9.xml
     文件         698  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jdk8_2_9_9.xml
     文件         712  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__com_fasterxml_jackson_datatype_jackson_datatype_jsr310_2_9_9.xml
     文件         753  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__com_fasterxml_jackson_module_jackson_module_parameter_names_2_9_9.xml
     文件         570  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__com_jayway_jsonpath_json_path_2_4_0.xml
     文件         598  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__com_sun_xml_messaging_saaj_saaj_impl_1_5_0.xml
     文件         724  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__com_vaadin_external_google_android_json_0_0_20131108_vaadin1.xml
     文件         527  2019-07-11 20:07  springboot+jdbc增删改查\.idea\libraries\Maven__com_zaxxer_HikariCP_3_2_0.xml
     文件         527  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__commons_io_commons_io_2_5.xml
     文件         596  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__io_netty_netty_buffer_4_1_36_Final.xml
     文件         589  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__io_netty_netty_codec_4_1_36_Final.xml
     文件         624  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__io_netty_netty_codec_http_4_1_36_Final.xml
     文件         631  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__io_netty_netty_codec_http2_4_1_36_Final.xml
     文件         631  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__io_netty_netty_codec_socks_4_1_36_Final.xml
     文件         596  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__io_netty_netty_common_4_1_36_Final.xml
     文件         603  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__io_netty_netty_handler_4_1_36_Final.xml
     文件         645  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__io_netty_netty_handler_proxy_4_1_36_Final.xml
     文件         610  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__io_netty_netty_resolver_4_1_36_Final.xml
     文件         617  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__io_netty_netty_transport_4_1_36_Final.xml
     文件         734  2019-07-11 17:05  springboot+jdbc增删改查\.idea\libraries\Maven__io_netty_netty_transport_native_epoll_linux_x86_64_4_1_36_Final.xml
............此处省略134个文件信息

评论

共有 条评论