编程笔记

  • 06-MyBatis中ResultType和ResultMap的区别

    MyBatis中ResultType和ResultMap的区别 如果数据库结果集中的列名和要封装的属性名完全一致的话用resultType属性 如果数据库结果集中的列名和要封装实体的属性名有不一致的情况使用resultMap属性 通过resultMap手动…

    编程笔记 2022年9月17日
  • 05-MyBatis中${}和#{}的区别

    MyBatis中${}和#{}的区别 #{}是占位符,预编译处理;${}是字符串替换 MyBatis在处理#{}的时候,会将SQL中的#{}转换为占位符?,调用PrepareStatement的set方法来赋值 MyBatis在处理${}的时候,就是把${}替换成变量的…

    编程笔记 2022年9月17日
  • LeetCode 128 Longest Consecutive Sequence

    Given an unsorted array of integers nums, return the length of the longest consecutive elements sequence. You must write an algorithm that runs in /(O(n)/) time. Solution 既然不能排序,那就用 /(set/)…

    编程笔记 2022年9月17日
  • 封装的详解和代码图

           接  

    编程笔记 2022年9月17日
  • 解决IDEA Maven依赖下载总是失败的几种方法

    参考地址: https://blog.csdn.net/weixin_40517799/article/details/121277524 # 这里写你的仓库路径 # REPOSITORY_PATH=~/.m2/repository REPOSITORY_PATH=D:/devtool/maven/repository echo 正在搜索... find $R…

    编程笔记 2022年9月17日
  • LeetCode 1231 Divide Chocolate 二分答案

    You have one chocolate bar that consists of some chunks. Each chunk has its own sweetness given by the array sweetness. You want to share the chocolate with your k friends so you start cutting the ch…

    编程笔记 2022年9月17日
  • C#教程 - Lambda Expressions

    更新记录转载请注明出处:https://www.cnblogs.com/cqpanda/p/16690958.html2022年9月17日 发布。2022年9月10日 从笔记迁移到博客。 Lambda Expressions说明 在匿名函数的基础上删除delegate关键字 在参数列表和函…

    编程笔记 2022年9月17日
  • C#教程 - 事件类型(Event Type)

    更新记录转载请注明出处:https://www.cnblogs.com/cqpanda/p/16690975.html2022年9月17日 发布。2022年9月10日 从笔记迁移到博客。 发布者和订阅者模式 发布者和订阅者(publisher/subscriber pattern) 即:当一…

    编程笔记 2022年9月17日
  • 好书推荐之《码出高效》、《阿里巴巴JAVA开发手册》

    好评如潮 《码出高效:Java 开发手册》 简介 《码出高效:Java 开发手册》源于影响了全球250万名开发工程师的《阿里巴巴Java开发手册》,作者静心沉淀,对Java规约的来龙去脉进行了全面而彻底的内容梳理。《码出高…

    编程笔记 2022年9月17日
  • Linux下使用docker安装达梦数据库

    1、下载 Docker 安装包 [root@localhost ~]# wget -O dm8_docker.tar -c https://download.dameng.com/eco/dm8/dm8_docker.tar 2、导入镜像 docker import dm8_docker.tar dm8:v01 3、启动容器 镜像导入后,使用 do…

    大数据 2022年9月17日