首先从最基本的说起,int属于基本数据类型,Integer属于类封装的对象,两者的定义本身就不同,但两者又是直接相关的,在java中,最核心的就是对象,万物皆对象,所以每个基本数据类型都与类相对应的,int对应的类是Integer,char对应的类是Character,float对应的类是Float ...
分类:
其他好文 时间:
2019-12-26 19:24:38
阅读次数:
117
hive中可能会出现一个非常常见的异常:Specified key was too long;max key length is 767 bytes?是mysql/hive字符集问题。需要改变hive元数据库的字符集:mysql>alert database ruozedata character ...
分类:
其他好文 时间:
2019-12-26 19:14:17
阅读次数:
69
以5和8做比较 Unknown initial character set index '255' received from server. Initial client character set can be forced via the 'characterEncoding' propert ...
分类:
数据库 时间:
2019-12-26 09:31:56
阅读次数:
101
string (1) size_t find_first_of (const string& str, size_t pos = 0) const noexcept; c-string (2) size_t find_first_of (const char* s, size_t pos = 0) ...
分类:
其他好文 时间:
2019-12-24 14:08:52
阅读次数:
67
https://www.jianshu.com/p/91a2d0a1e45a MVC 设计概述 在早期 Java Web 的开发中,统一把显示层、控制层、数据层的操作全部交给 JSP 或者 JavaBean 来进行处理,我们称之为 Model1: 出现的弊端: JSP 和 Java Bean 之间严 ...
分类:
其他好文 时间:
2019-12-23 15:22:48
阅读次数:
125
firebird3数据表中,如果字段是varchar时, delphiXE的firedac在读取时正常,但lazarus中读取时会显示乱码. 经过测试发现,如果lazarus显示正常的话,必须在建表时,在字段后添加 CHARACTER SET GB2312. 另外,self.SQLConnector ...
分类:
其他好文 时间:
2019-12-23 09:13:03
阅读次数:
114
动态规划 [TOC] 数字三角形问题 LeetCode 120.Triangle 尝试使用分治法 Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent nu ...
分类:
其他好文 时间:
2019-12-22 16:41:16
阅读次数:
132
学习MYSQL过程中自己写的数据库操作 2119731621 查看所有数据库 show databases; 进入数据库 use 数据库名字; 创建数据库 create database 数据库名字 【charset/character set 字符集】 根据数据库设置中文编码 set names ...
分类:
数据库 时间:
2019-12-21 15:46:31
阅读次数:
124
原来series_id是numeric型,现在转换为varchar(64); ...
分类:
数据库 时间:
2019-12-20 20:53:13
阅读次数:
135
application.properties server.port=8080 spring.thymeleaf.prefix = classpath:/static/ spring.thymeleaf.suffix=.html spring.thymeleaf.mode=HTML spring.t ...
分类:
编程语言 时间:
2019-12-20 15:22:48
阅读次数:
62