Spring
文章平均质量分 78
sjuhui
这个作者很懒,什么都没留下…
展开
-
P6Spy + SQL Profiler + Spring
P6Spy 1.下载p6spy-install.zip 2.将p6spy.jar放到应用的lib目录下,将spy.properties放到WEB-INF\classes目录下 3.修改spy.properties样本的第42行,改为对应驱动,(#部分可以不管) realdriver=net.sourceforge.jtds.jdbc.Driver 修改spy.properties原创 2013-03-19 09:23:00 · 827 阅读 · 0 评论 -
Spring定时操作的例子
在spring中你有时候需要在每天或者指定的一个时候进行一系列的操作。这个时候我们的spring为我们提供了一个很好的包来解决这个问题,你这是需要写一个Class文件,在文件中定义你要执行操作的函数你就可以通过配置来达到定时操作了。 1)需要的jar包为:quartz.jar包,将他加到你工程的classpath中去。 2)在applicationContext中配置你的定时发送操作。 (1原创 2013-03-19 09:23:08 · 446 阅读 · 0 评论 -
Eclipse快捷键
Eclipse 中的快捷键 快捷键命令作用 快捷键序列 Open Java Type Ctrl+Alt+T Show In Spring Beans View Ctrl+Alt+V Zoom In Ctrl+= Zoom Out Ctrl+- 关闭用户帮助托盘原创 2013-03-19 09:22:53 · 598 阅读 · 0 评论 -
Hbnc3p0
xml version = "1.0" encoding = "UTF-8" ?> beans xmlns = "http://www.springframework.org/schema/beans" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns:jee = "http://原创 2013-03-19 09:22:55 · 538 阅读 · 0 评论 -
spring send mail
使用Spring发邮件 关于Spring的邮件发送的功能演示: (我把程序中一些敏感的地方替换成了其他的文字,直接调试肯定不行,只是给大家一个参考) 需要用到的jar包是 spring-context.jar mail.jar spring-core.jar activation.jar commons-logging.jar 这些是原创 2013-03-19 09:23:04 · 505 阅读 · 0 评论 -
Hibernate连接池的配置(hibernate和hibernate+spring)
1. Hibernate 默认连接池 com.mysql.jdbc.Driver jdbc:mysql://localhost:3306/schoolproject root org.hibernate.dialect.MySQLDialect 2 .C3P0 连接配置 //spring+hibernate 1.下载c3p02.导入包3原创 2013-03-19 09:23:02 · 492 阅读 · 0 评论