`
choelea
  • 浏览: 72752 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
preparedStatement 有三大优点: 一.代码的可读性和可维护性. 二.PreparedStatement尽最大可能提高性能. 三.最重要的一点是极大地提高了安全性.   其中一和三的确很易理解。 关于性能的提高也是最有价值的这点, 我对其原理 ...
目标:实现微服务的归总方便分析 YUMedit To add the Beats repository for YUM: Download and install the public signing key: sudo rpm --import https://packages.elastic.co/GPG-KEY
开放端口: firewall-cmd --zone=public --add-port=80/tcp --permanent  firewall-cmd --reload 
用mysqldump导出的数据文件,再用source导进去的时候常常有一些报错,百度了好几回,终于找到是mysql导出的注释语句问题,导出的文件常常 如下: 复制内容到剪贴板 0./*!40101 SET SQL_MODE=@OLD_SQL_MODE */; 0./*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; 0./*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; 0./*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_ ...

Hibernate Log

Hibernate cannot log the SQL and its parameters in the same line like you want . The logging provided by the Hibernate (by setting log4j.logger.org.hibernate.SQL=debug and log4j.logger.org.hibernate.type=trace in the log4j configuration) can only log the SQL and the parameters in the different lines ...

Spring Roo 学习

    博客分类:
  • J2EE
运行:roo 出现异常: "Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5" 解决办法: Go into your Start Menu and type regedit into the search field.Navigate to the following pathHKEY_LOCAL_MACHINE\Software\JavaSoftRight ...

Brackets 使用

    博客分类:
  • HTML
brackets 快捷键 有大用 星期二, 07/29/2014 - 10:38 — shipingzhong ctrl+alt+/ 调出快捷键的快捷键ctrl+b 当选中一个文本时,会出现相同的文本,被高亮显示 按ctrl+b 相同的文本就全部获得了焦点 这样就可以同时更改这些相同的文本ctrl+e    打开或关闭快速编辑alt+u 注释ctrl+/ 注释ctrl+\ 注释ctrl+d 复制一行ctrl+shift+d 删除一行alt+u 注释ctrl+/ 注释ctrl+\ 注释ctrl+q 退出整个编辑器ctrl+w 关闭当前文件ctrl+e 查找文档ctrl+k 查找文档c ...

Maven 相关

M2Eclipse  加入 eclipse org 组织后, maven出现好多问题。 具体可以参考文章:http://grumpyapache.blogspot.com/2011/08/mess-that-is-m2e-connectors.html   最后装了一个m2e-connector 后才没这些问题。 好晕, 有空再去弄清楚看看怎么回事  
   Linux虽然是免费的,但它的确是一个非常优秀的操作系统,与MS-WINDOWS相比具有可靠、 稳定、速度快等优点,且拥有丰富的根据UNIX版本改进的强大功能。下面让我们一起来学习Linux的一些主要命令。有一点一定要注意,和dos命令不同 的是,Linux的命令(也包括文件名等等)对大小写是敏感的。 sbin 系统底层命令存放目录 bin  一般用户常用命令目录       一年多linux(字符界面)使用记录大概使用了以下命令,我按照自己意思把linux(centos)命令大概分为几种类型,有些也不是很合理的分类:文件用户管理 ls -lh 显示权限cp   -r ...

PostgresSQL

PostgreSQL 列所有表结构的查询语句 SELECT  tablename  FROM  pg_tables  WHERE  tablename  NOT  LIKE  'pg%'  AND tablename NOT LIKE 'sql_%' ORDER  BY  tablename; 查询表t_appointment_apply表的字段信息 SELECT a.attnum,a.attname AS field,t.typname AS type,a.attlen AS lengt ...
@Transactional Propagation Defines how transactions relate to each other. Common options Required: Code will always run in a transaction. Create a new transaction or reuse one if availble. Requires_new: Code will always run in a new transaction. Suspend current transaction if one exist. Iso ...

Spring mvc Session

    博客分类:
  • J2EE
Using Sessions in Spring-MVC (including "scoped-proxies")     On the Spring-MVC video training course, I described three different approaches to handling sessions in Spring. On the video, I mention that there is also a fourth way, but since the course was getting a bit long I said that ...

Log4j

    博客分类:
  • J2EE
#1.配置根Logger(日志记录的优先级从高到低ERROR,WARN,INFO,DEBUG)++++++++++++++++++++++++++++++#appenderName就是指定日志信息输出到哪个地方。您可以同时指定多个输出目的地log4j.rootLogger=INFO, A1#2.配置日志信息输出目的地Appender++++++++++++++++++++++ ...

MySQL Command

MySQL Command Line[mysql命令行常用命令]                       第一招、mysql服务的启动和停止 net stop mysql net start mysql 第二招、登陆mysql mysql -u用户名 -p用户密码 mysql -uroot -p, 回车後提示你输入密码,输入12345,然後回车即可进入到mysql中了,mysql的提示符是: mysql> 注意,如果是连接到另外的机器上,则需要加入一个参数-h机器IP  指定地址和端口号登陆:mysql -uroot -p -h127.0.0.1 ...
sqlplus连接远程数据库 1、首先要配置网络服务名。 在:E:\oracle9201\ora92\network\admin\tnsnames.ora 文件中 MYORACLE =   (DESCRIPTION =     (ADDRESS_LIST =       (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.20)(PORT = 1521))     )     (CONNECT_DATA =       (SERVER = DEDICATED)       (SERVICE_NAME ...
Global site tag (gtag.js) - Google Analytics