- 博客(6)
- 收藏
- 关注
原创 oracle 密码永不过期
过期的原因一般有两种可能:一.由于oracle11g中默认在default概要文件中设置了“PASSWORD_LIFE_TIME=180天”所导致。二.由于oracle11g中默认在default概要文件中设置了“FAILED_LOGIN_ATTEMPTS=10次”,当输入密码错误次数达到设置值将导致此问题。如果是第一种情况解决方法如下: 1、查看用户的proifle是哪个,一般是defa
2016-05-12 15:15:23 645
原创 表空间
删除表空间同时删除数据文件drop tablespace test_data including contents and datafiles; 删除用户drop user ×× cascade查询用户对应默认表空间select username,default_tablespace from dba_users;查询系统所有表空间select
2016-05-12 15:11:40 221
原创 hibernate 获取SessionFactory的方法
本次使用hibernate 4.3.11 获取Sessionfactory的方法太乱,搞不清楚了package com.test.db;import org.hibernate.Session;import org.hibernate.SessionFactory;import org.hibernate.boot.registry.StandardServiceRegistryBuilder
2016-05-12 14:39:29 541
原创 hibernate SessionFactory的获取方法
Hibernate 4 已经将configuration的buildSessionFactory方法已经划线了,说明已经过时了。 Configuration configuration = new Configuration().configure(); SessionFactory sessionFactory = configuration.buildSessionFactory(
2016-05-09 23:06:05 391
原创 公共 DNS
腾讯DNS(DNSPod Public DNS+)使用同一个服务IP,号称拥有安全零劫持、准确不丢包、快速无等待、稳定多容灾的优势。119.29.29.29Public DNS+地址:https://www.dnspod.cn/Products/Public.DNS/百度DNS据官方介绍,百度公共DNS服务具有云防护、无劫持、以及更加精准等特性。
2016-05-09 13:10:41 633
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人