ICode9

精准搜索请尝试: 精确搜索
  • 什么是虚函数?什么是纯虚函数?2020-11-01 09:31:35

    虚函数是允许被其子类重新定义的成员函数。 虚函数的声明:virtual returntype func(parameter);引入虚函数的目的是为了动态绑定; 纯虚函数声明:virtual returntype func(parameter)=0;引入纯虚函数是为了派生接口。(使派生类仅仅只是继承函数的接口)

  • Mybati源码解析篇之六剑客!!!2020-09-10 12:01:02

    目录 前言 环境版本 Mybatis的六剑客 SqlSession 有何方法 语句执行方法 立即批量更新方法 事务控制方法 本地缓存方法 获取映射方法 有何实现类? Executor 实现类 BaseExecutor CachingExecutor SimpleExecutor BatchExecutor ReuseExecutor SpringBoot中如何创建? Stat

  • 服务器内存升级与oracle 参数调整 实施2020-07-25 18:00:22

    版权 由于服务器升级内存(4g升级到48G),需要调整oracle 参数。 sga 调整参数具体大小根据实际业务情况,自己搞定。我的这个sga参数比较呵呵 下面是详细操作步骤(经过实践证明OK的): 1.关闭数据库以及准备工作 关掉 所有业务连接: ps -ef|grep LOCAL=NO|grep -v grep|awk  '{pri

  • Java 方法签名2020-07-11 13:03:18

    方法头指定修饰符(例如static)、返回值类型、方法名、和形式参数。 方法头中定义的变量称为形参 (形式参数,formal parameter 或 parameter),形参如同占位符。当方法被调用时,传递一个值给形参,此值称为实参(实际参数, actual parameter 或 argument),形参列表指的是形参的类型、顺序和

  • Mybatis查询sql传入一个字符串传参数,报There is no getter for property named 'ids' in 'class java.la2020-07-10 14:03:17

    Mybatis查询sql传入一个字符串传参数,报There is no getter for property named 'ids' in 'class java.lang.String'。 解决方法: 1.在接口参数里加上mybatis中的@param注解 @MyBatisDao public interface OfficeDao extends TreeDao<Office> { List<Office> findCompanyNa

  • Zabbix监控Redis状态2020-07-05 10:34:36

    监控redis通过info信息来监控redis的状态自动发现脚本编写 cat /etc/zabbix/scripts/redis_parameter #自动发现redis脚本参数的脚本 #!/bin/bash/usr/local/bin/redis-cli -p 3000 -a redis66cs "info">/home/zabbix/tmp/info.txtcat /tmp/info.txt |grep -v "^#"|awk -F ":&qu

  • ROS2 launch文件demo与parameter设置2020-06-21 14:03:45

    ROS2 launch文件demo与parameter设置项目架构launch文件的整体编排yaml编写C++程序获取parameterCMakeLists修改 项目架构 project_name │ README.md │ └───package_1 │ │ CMakeLists.txt │ │ package.xml │ │ │ └───include │ │

  • C#中的泛型2020-06-08 09:59:18

    C#中的泛型 简介:     泛型,就是在定义方法时先不声明方法的返回值类型或者参数类型,只是声明占位符,而是在调用方法时才声明类型。泛型是延迟声明的:即定义的时候没有指定具体的参数类型,把参数类型的声明推迟到了调用的时候才指定参数类型。 延迟思想在程序架构设计的时候很受欢迎。

  • SpringBoot:自定义注解实现后台接收Json参数2020-05-09 14:07:34

    0.需求 在实际的开发过程中,服务间调用一般使用Json传参的模式,SpringBoot项目无法使用@RequestParam接收Json传参 只有@RequestBody支持Json,但是每次为了一个接口就封装一次实体类比较麻烦 如果使用Map来进行参数接收,则会导致参数不可控,会在接口中新增较多判断进行入参控制   其次

  • mybatis源码分析一2020-04-18 21:08:30

    更多精彩内容可以访问我的独立博客 我们从最简单的一段代码开始,分析清楚mybatis的大致工作流程。然后再从代码细节上分析mybatis的一些特性。 基础代码示例 public class test { public static void main(String[] args) throws IOException{ String resource = "example/my

  • Jenkins持续集成_06_参数化构建2020-04-14 23:54:44

    前言 Jenkins构建项目时,有的项目需要根据传入参数进行构建,如下: 要实现jenkins参数化构建,可在项目配置General下勾选“This project is parameterized”实现。 Jenkins参数化构建 配置参数 1.勾选参数化构建 进入项目 ->配置 -> 勾选"This project is parameterized" 2.设置参数

  • inStream parameter is null找不到配置文件错误2020-04-06 16:07:41

    当我把eclipse中的普通项目导入到IDEA中出现这个错误 inStream parameter is null 百度了一下原来是配置文件找不到 解决办法 在IDEA中将java文件夹与resources文件夹放在同一级目录即可

  • Failed to bind properties under 'mybatis.configuration.mapped-statements[0].parameter-map.param2020-03-25 15:05:27

    springboot 2.2.0版本在和mybatis整合过程中使用tomcat 启动会报错,而使用自带的启动器就没啥事,今天再部署的时候遇到的坑,记录一下 Caused by: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'mybatis.configuration.mapped-s

  • 设计模式-抽象工厂模式2020-03-16 23:58:29

    设计模式-抽象工厂模式 https://mp.weixin.qq.com/s/n0pBULUsE3MKN07rVPaJAA   using System;namespace AbstractFactory_DesignPattern{ /// <summary> /// 公司接口 /// </summary> public interface Company { /// <summary> /// 生产电脑

  • Parameter 'XXX' not found. Available parameters are [collection, list]] with root cause2020-03-05 11:02:55

    在使用mybatis的时候,mapper只传了一个list集合参数,结果就报错: Parameter 'roleIds' not found. Available parameters are [collection, list]] with root cause 就是说这个参数没有找到, 这个时候可以用@Param指定参数就行了。 mapper import org.apache.ibatis.annotatio

  • datax安装(Windows版)2020-03-03 18:57:44

    一、安装datax 下载地址:http://datax-opensource.oss-cn-hangzhou.aliyuncs.com/datax.tar.gz      将其解压即可。 二、测试安装是否成功                              5,使用datax    首先我们需要自定义好的json文件(从网上获取的,内容如下),命名

  • nginx报错 the "ssl" directive is deprecated, use the "listen ... ssl"2020-02-23 21:01:50

    nginx报错 the "ssl" directive is deprecated, use the "listen ... ssl"原创fengqiaoguke 最后发布于2019-08-22 12:50:40 阅读数 889 收藏展开今天更新了nginx然后重启docker发现报错了:the "ssl" directive is deprecated, use the "listen ... ssl" 下面是详细的日志

  • java基本数据类型--Basic Datatypes2020-02-03 17:02:52

    Variables are nothing but reserved memory locations to store values. This means that when you create a variable you reserve some space in the memory.---说的好有道理 Based on the data type of a variable, the operating system allocates memory and decides what c

  • Jenins 参数化构建2020-01-31 11:52:28

    Jenins 参数化构建 功能:构建时可根据传参的方式 传入脚本中。 场景:可根据需要传入参数的场景使用。 常用参数化构建 1、任务configure --> General --> 选择参数化构建选项 常用:文本参数、字符参数、密码参数 Name:变量名 Default Value:值 任务configure --> General --> Buil

  • mybatis源码阅读(一):SqlSession和SqlSessionFactory2020-01-27 12:42:20

    转载自  mybatis源码阅读(一):SqlSession和SqlSessionFactory  一、接口定义     听名字就知道这里使用了工厂方法模式,SqlSessionFactory负责创建SqlSession对象。其中开发人员最常用的就是DefaultSqlSession (1)SqlSession接口定义 public interface SqlSession extends

  • 【dataX】阿里开源ETL工具——dataX简单上手2020-01-14 21:04:53

    一、概述   1.是什么?   DataX 是阿里巴巴集团内被广泛使用的离线数据同步工具/平台,实现包括 MySQL、Oracle、SqlServer、Postgre、HDFS、Hive、ADS、HBase、TableStore(OTS)、MaxCompute(ODPS)、DRDS 等各种异构数据源之间高效的数据同步功能。   开源地址:https://github.c

  • 如何使用BOL接口set_property修改SAP CRM BO实例的某个属性2020-01-13 21:41:26

    REPORT zsat_order_modify. PARAMETERS: po_id TYPE crmd_orderadm_h-object_id, text TYPE string, maxhit TYPE i. DATA: lo_core TYPE REF TO cl_crm_bol_core, lo_collection TYPE REF TO if_bol_entity_co

  • WPF-命令-基础知识2019-12-27 14:56:31

    命令模型的主要元素: 1、命令 2、命令绑定:命令连接到相关的应用程序逻辑 3、命令源:命令源触发命令, 4、命令目标:应用程序逻辑。 ---------------------------------------------------------------- ICommand接口 命令模型的核心是System.Windows.Input.ICommand接口。 public int

  • SAP 下钻功能大全2019-12-20 14:00:24

    FORM ALV_USER_COMMAND USING R_UCOMM LIKE SY-UCOMM "作为reuse_alv_grid_display的事件i_callback_user_command RS_SELFIELD TYPE SLIS_SELFIELD. CASE R_UCOMM. WHEN '&IC1'. " 获取当前ALV所在行数据 READ

  • 官方elasticsearch-certutiledit命令2019-12-17 12:55:55

    地址:https://www.elastic.co/guide/en/elasticsearch/reference/7.5/certutil.html 语法: bin/elasticsearch-certutil ( (ca [--ca-dn <name>] [--days <n>] [--pem]) | (cert ([--ca <file_path>] | [--ca-cert <file_path> --ca-key <file_path

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有