linux安装mysql5.7.19
摘要:1:下载[root@localhost soft]# wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.19-linux-glibc2.12-x86_64.tar.gz2:解压文件[root@dbser...
阅读全文
posted @
2017-08-31 19:20
2637282556
阅读(175)
推荐(0)
su: warning: cannot change directory to /home/mysql: No such file or directory
摘要:[root@dbserver ~]# su - mysqlLast login: Thu Aug 31 17:20:03 CST 2017 on pts/1su: warning: cannot change directory to /home/mysql: No ...
阅读全文
posted @
2017-08-31 17:29
2637282556
阅读(1435)
推荐(0)
ORA-12547: TNS:lost contact+oracle 开启监听失败
摘要:1、ORA-12547: TNS:lost contact[root@dbserver /]# sqlplus sys/xiniu123 as sysdba SQL*Plus: Release 12.2.0.1.0 Pro...
阅读全文
posted @
2017-08-26 14:17
2637282556
阅读(1107)
推荐(0)
ORA-00923: 未找到要求的 FROM 关键字
摘要:ORA-00923: 未找到要求的 FROM 关键字注意:别名不能是数字和使用”
阅读全文
posted @
2017-08-25 15:50
2637282556
阅读(330)
推荐(0)
oracle sql 行转列 unpivot的使用
摘要:测试数据create table userTest( id int ,name varchar(20), passwd int, score int, age int);insert into userTest values(1,'小明',111,67,21);ins...
阅读全文
posted @
2017-08-24 10:35
2637282556
阅读(225)
推荐(0)
oracle case when 在sql中的使用
摘要:selectFullDepartmentName, YearBudget , SupplementaryBudget , TotalSum , BudgetDate, case jidu when 'JANUARYBUDG...
阅读全文
posted @
2017-08-24 10:05
2637282556
阅读(317)
推荐(0)
查看被锁的表和解锁
摘要:查看被锁的表 select b.owner,b.object_name,a.session_id,a.locked_mode from v$locked_object a,dba_objects b where b.object_id = a.object_id;查看...
阅读全文
posted @
2017-08-23 09:11
2637282556
阅读(189)
推荐(0)
new XSSFWorkbook(is); Package should contain a content type part [M1.13]
摘要:workbook = new XSSFWorkbook(is);改为 workbook = WorkbookFactory.create(is); 具体细节 http://blog.csdn.net/blueheart20/article/details...
阅读全文
posted @
2017-08-21 13:44
2637282556
阅读(316)
推荐(0)
JAVA POI 读取2007 EXCEL时 XSSFWorkbook(fis);出错
摘要:原因 poi-ooxml的版本3.16和poi的版本3.9不一致 org.apache.poi poi 3.9 org.apache...
阅读全文
posted @
2017-08-21 10:40
2637282556
阅读(312)
推荐(0)
mybaties+oracle:插入数据,返回自增长的id
摘要:mybaties insert into Privilege PrivilegeID, ...
阅读全文
posted @
2017-08-20 12:04
2637282556
阅读(241)
推荐(0)
ecliplse 安装svn
摘要:方式1(该方式不需要考虑eclipse版本的问题)1:help=》Eclipse Marketplace 2:搜索svn插件 3 : 安装 具体如下 方式2(eclipse版本: Mars.1 Release (4.5.1),TortoiseSVN-1.9.5.27...
阅读全文
posted @
2017-08-20 11:13
2637282556
阅读(140)
推荐(0)
listener.ora/sqlnet.ora/tnsnames.ora配置文件详解
摘要:转载http://www.cnblogs.com/qianyuliang/p/6520515.htmlOracle网络配置 三个配置文件 listener.ora、sqlnet.ora、tnsnames.ora ,都是放在$ORACLE_HOME/network/a...
阅读全文
posted @
2017-08-19 17:07
2637282556
阅读(181)
推荐(0)
TNS-12537: TNS:connection closed TNS-12560: TNS:protocol adapter error TNS-00507: Connection clos
摘要:原因 1localhost有多个地址,引发监听冲突 2在linux中搭建的oracle没有监听配置,没有下面相应的文件解决方法 问题1 localhost有多个地址,引发监听冲突[oracle@localhost bin]$ cat /etc/hosts127.0.0...
阅读全文
posted @
2017-08-19 16:55
2637282556
阅读(538)
推荐(0)
Linux 下hosts文件
摘要:hosts文件127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain local...
阅读全文
posted @
2017-08-19 11:11
2637282556
阅读(123)
推荐(0)
oracle建表规则
摘要:1:字段使用全拼(不要缩写),因为缩写的话其他人可能认识不了。 2.以下是我建表犯的错误 简化的图如下
阅读全文
posted @
2017-08-17 18:01
2637282556
阅读(132)
推荐(0)
ORA-08002: 序列 SEQ_WGB_TEST2.CURRVAL 尚未在此会话中定义
摘要:ORA-08002: 序列 SEQ_WGB_TEST2.CURRVAL 尚未在此会话中定义创建Sequence后直接查询它的当前值(CURRVAL)会出错,要先调用Sequence对象.NEXTVAL,才能查询当前值。
阅读全文
posted @
2017-08-17 00:32
2637282556
阅读(474)
推荐(0)
写一个类的时候一些注意点
摘要:1 java 定义类的时候,属性的类型最好使用自动装配的类型 比如 错误的做法: public class user{ private int id; 正确的做法 public class user{ private Integer id;原因:第一种做法,表单提...
阅读全文
posted @
2017-08-17 00:31
2637282556
阅读(98)
推荐(0)
oracle12c 可视化安装(桌面类)
摘要:步骤 1 2 3 4 5 6 7 8 9 10
阅读全文
posted @
2017-08-17 00:17
2637282556
阅读(151)
推荐(0)
### Error updating database. Cause: java.sql.SQLException: ORA-01722: 无效数字
摘要:Error updating database. Cause: java.sql.SQLException: ORA-01722: 无效数字原因: update Menu set IsActive='0' wher...
阅读全文
posted @
2017-08-15 21:24
2637282556
阅读(1612)
推荐(0)
el表达式的一些小问题:javax.el.PropertyNotFoundException: Property 'Title' not found on type
摘要:原因: el表达式的属性首字母要小写(即使我在menu类定义的属性为大写的Title)解决 将menu.Title改为{menu.title }
阅读全文
posted @
2017-08-09 16:21
2637282556
阅读(121)
推荐(0)
Invalid bound statement (not found):.....sysFunctionDao.getSysFunctionsById...(MapperMethod.ja
摘要:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): cn.xiniu.core.dao.function.SysFunctionDao.getSysFun...
阅读全文
posted @
2017-08-09 09:51
2637282556
阅读(125)
推荐(0)
MyBatis+oracle 批量插入数据的一些问题
摘要:当mybaties执行到 insert into userPrivilegeTemp这里的时候,进程就卡死了, 后来我改为insert into userPrivilegeTemp(UserID,PrivilegeID)就不会卡了, 应该是mybati...
阅读全文
posted @
2017-08-08 17:48
2637282556
阅读(180)
推荐(0)
Invocation of init method failed;... Result Maps collection already contains value for
摘要:Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: org.apache.ibatis.builder.BuilderException: ...
阅读全文
posted @
2017-08-08 15:34
2637282556
阅读(168)
推荐(0)
eclipse的一些奇葩事
摘要:1场景 newUserInfo = userInfoService.login(userInfo); -- newUserInfo 的值是null if (StringUtil.isEmpty(newUserInfo)) { ...
阅读全文
posted @
2017-08-07 18:08
2637282556
阅读(90)
推荐(0)
Injection of autowired dependencies failed nested exception is Could not autowire field No qualify
摘要:Error creating bean with name 'userInfoController': Injection of autowired dependencies failed; nested exception is org.springframewor...
阅读全文
posted @
2017-08-03 17:11
2637282556
阅读(175)
推荐(0)
Could not delete .........May be locked by another process.
摘要:问题 原因:默认的设置是文件修改后立即发布,这样的设置是在你每个保存文件时都会触发,如果tomcat已经在运行,这样频繁的操作也会造成文件锁死 解决: Tomcat 右键clean
阅读全文
posted @
2017-08-03 16:25
2637282556
阅读(173)
推荐(0)
maven配置setting.xml报Could not read settings.xml
摘要:Could not read settings.xml, assuming default values解决 1settings.xml不能有中文 2settings.xml 路径的标识是/
阅读全文
posted @
2017-08-02 17:05
2637282556
阅读(354)
推荐(0)
Eclipse添加新server时无法选择Tomcat7的问题
摘要:New Server对话框中选择了Tomcat 7后,无法单击“Next”按钮的问题解决 这时打开工程目录下的.metadata.plugins\org.eclipse.core.runtime.settings文件夹, 删除org.eclipse.wst.serve...
阅读全文
posted @
2017-08-02 16:02
2637282556
阅读(147)
推荐(0)
linux安装nexus(支持jdk1.7)并设置开机启动
摘要:版本:nexus-2.6.4-02-bundle 这个版本jdk需要1.7或以上 注:nexus 2.6版本之后不再支持jdk1.6 nexus 2.5.x nexus最后一个支持jdk1.6版本的1创建安装目录[root@xiniu maven]# mkdir -p...
阅读全文
posted @
2017-08-01 17:40
2637282556
阅读(486)
推荐(0)
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
摘要:问题[oracle@localhost oracle]$ ./sqlplusError 6 initializing SQL*PlusMessage file sp1.msb not foundSP2-0750: You may need to set ORACLE_...
阅读全文
posted @
2017-08-01 15:18
2637282556
阅读(445)
推荐(0)
ORA-01034: ORACLE not available
摘要:问题SQL> select * from all_users; select * from all_users*ERROR at line 1:ORA-01034: ORACLE not availableProcess ID: 0Session ID: 0 Seri...
阅读全文
posted @
2017-08-01 15:09
2637282556
阅读(117)
推荐(0)
linux安装maven3.3.9
摘要:1、下载mavenhttp://apache.fayea.com/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz2创建指定目录[root@fei java]# mkdir -p /usr/java/...
阅读全文
posted @
2017-08-01 00:17
2637282556
阅读(219)
推荐(0)