• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
Clarence Pan的博客
苦海无涯,学作舟
博客园 首页 新随笔 订阅 订阅 管理

2010年7月23日

html-js
摘要: 输入的HTML 输入的JS <p id="testPar" style="color:red;font-size:3em;">Hello world!</p> $("#testPar").animate({ "font-size" : "5em" }).hover(function(){$(this).anima... 阅读全文
posted @ 2010-07-23 16:32 Clarence_Pan 阅读(270) 评论(2) 推荐(0)
 
jQuery-ui modal dialog
摘要: All form fields are required. Name Email Password Existing Users: Name Email Password John Doejohn.doe@example.comjohndoe1Create new userUse a modal dialog to require that the u... 阅读全文
posted @ 2010-07-23 15:33 Clarence_Pan 阅读(893) 评论(0) 推荐(0)
 
使用Transaction来使hibernate的缓存刷新
摘要: 今天遇到个问题:  使用hibernate的数据做的一个页面在数据库数据改变之后还不能及时刷新,在浏览器中强制刷新也没有用。  到百度谷歌搜到的方法大多是禁用缓存之类的——没有效果最终发现:  使用Transaction可以使hibernate的缓存刷新原因:  应该是hibernate在提交一个Transaction时就会认为缓存已经脏了,就会刷新缓存了 阅读全文
posted @ 2010-07-23 14:57 Clarence_Pan 阅读(450) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3