自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 问答 (1)
  • 收藏
  • 关注

原创 重写OpenSessionInView

解决Hibernate的Write operations are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your Session into FlushMode.COMMIT/AUTO or remove readOnly marker from transaction definition.问题 一

2008-12-10 19:12:00 356 1

原创 InMemoryDaoImpl

bean id="inMemoryDaoImpl" class="org.acegisecurity.userdetails.memory.InMemoryDaoImpl">  property name="userMap">    value>      marissa=koala,ROLE_TELLER,ROLE_SUPERVISOR      dianne=emu,ROLE_TELLER  

2008-12-01 11:27:00 370

翻译 Filter在web.xml中的配置顺序

The order that filters are defined in web.xml is very important. Irrespective of which filters you are actually using, the order of the s should be as follows:ChannelProcess

2008-11-30 15:15:00 1038

原创 xml文件读取-dom4j

import java.net.URL;import java.util.List;import org.dom4j.Document;import org.dom4j.Node;import org.dom4j.io.SAXReader;public class dom4j {    String filepath = "";    public String DomXml(String fil

2008-11-18 15:18:00 288 1

原创 读取properties文件-PropertyResourceBundle

import java.util.PropertyResourceBundle;import java.util.ResourceBundle;import org.apache.log4j.Logger;public class FileBasedProperties implements Properties {    private static final Logger LOGGER = 

2008-11-18 15:09:00 741

翻译 logger about yui

html>    head>        title>loggertitle>        style>        .yui-log .mycategory {background-color:#7B0099;}         style>        link type="text/css" rel="stylesheet" href="./../build/logger/asset

2008-11-10 09:57:00 256

原创 hibernate数据库分页

一.DAO实现   public List queryHistroyByPage(Page page) {        Session session = getSession();        page.setTotalRows(getTotalRows(session));        DetachedCriteria dc = DetachedCriteria.forClass(His

2008-11-06 09:04:00 288

一生的旅程一生的旅程一生的旅程

一生的旅程一生的旅程一生的旅程

2022-12-15

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除