摘要: package com.youngdeer.DbConnect; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics2D; import java.awt.geom.RoundRectangle2D; import java.awt.image.BufferedImage; import ja... 阅读全文
posted @ 2019-02-22 10:12 Hutton‘ 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1、firewalld的基本使用 1、firewalld的基本使用 1、firewalld的基本使用 启动: systemctl start firewalld 关闭: systemctl stop firewalld 查看状态: systemctl status firewalld 开机禁用 : 阅读全文
posted @ 2019-02-11 17:41 Hutton‘ 阅读(102) 评论(0) 推荐(0) 编辑
摘要: One or more constraints have not been satisfied. 解决办法: Go to project Build Path and change the Java Library version to 1.8 Go to Eclipse Preferences - 阅读全文
posted @ 2019-01-17 15:34 Hutton‘ 阅读(2935) 评论(0) 推荐(0) 编辑
摘要: 打开eclipse.ini文件,添加红框内容,则eclipse将不再依赖操作系统环境变量中配置的路径信息,而使用此处制定的jdk。 阅读全文
posted @ 2018-04-20 15:23 Hutton‘ 阅读(129) 评论(0) 推荐(0) 编辑
摘要: jdbc连接数据库使用sid和service_name的区别 jdbc连接数据库使用sid和service_name的区别 最近使用jdbc连接oracle时报错: ORA-12505, TNS:listener does not currently know of SID given in con 阅读全文
posted @ 2016-09-10 08:55 Hutton‘ 阅读(1268) 评论(0) 推荐(0) 编辑
摘要: 如果系统中存在多数据源,spring启动默认加载时,datasouce、session、transaction的id值不能设置为相同,必须对其使用不同的名称命名,否则将会出现数据调用问题。 如从mysql读取数据,则会始终提示no persistent classes found for query 阅读全文
posted @ 2016-06-03 20:44 Hutton‘ 阅读(783) 评论(0) 推荐(0) 编辑
摘要: reference from:http://blog.csdn.net/zhutulang/article/details/26968159 mappingResources、mappingLocations、mappingDirectoryLocations、mappingJarLocations 阅读全文
posted @ 2016-06-03 15:09 Hutton‘ 阅读(382) 评论(0) 推荐(0) 编辑
摘要: 问题现象: 请求URL为: http://127.0.0.1:9999/micp/queryObjectOut?moduleId=1&json={"hphm":"H3XX96","hpzl":"02","hphm_cn":"陕"} 后台接收到json字符串中hphm_cn始终为乱码。 解决办法: 1 阅读全文
posted @ 2016-05-17 16:17 Hutton‘ 阅读(1728) 评论(0) 推荐(0) 编辑
摘要: Spring事务为业务逻辑进行事务管理,保证业务逻辑上数据的原子性。 事务得根据项目性质来细分:事务可以设置到三个层面(dao层、service层和web层)。 第一:web层事务,这一般是针对那些安全性要求较高的系统来说的。例如电子商务网站。粒度小,一般系统用不着这么细。 第二:service层事 阅读全文
posted @ 2016-05-14 18:27 Hutton‘ 阅读(14597) 评论(0) 推荐(1) 编辑
摘要: 1、 下载axis2版本http://axis.apache.org/axis2/java/core/download.html 2、下载完成后解压,打开命令行,进入bin目录下,执行命令: ${installdir}>WSDL2Java -uri http://10.176.133.7:9080/ 阅读全文
posted @ 2016-02-18 21:22 Hutton‘ 阅读(11506) 评论(0) 推荐(0) 编辑