自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(23)
  • 收藏
  • 关注

在UltraEdit的查找和替换中使用正则表达式 (转)

很多朋友都用过或者正在用UltraEdit,这个编辑器陪伴我也好几年了,从很多地方影响着我写代码的快捷键习惯,Ultraedit提供了非常丰富的编辑功能,其中非常重要的查找和替换功能一定大家都用过,Ultraedit提供的查找替换功能非常方便和强大,可以在单独文件里面查找替换,也可以在多个文件、多个目录里面进行查找替换。而我们在使用这些查找替换功能的时候,一般都是针对某个字符串进行,前两天我要对一...

2006-12-06 15:35:18 1019

Mysql取得最新插入的auto_increment列的值

Mysql取得最新插入的auto_increment列的值关键词: Mysql    auto_increment                                           select last_insert_id() as ID from tablename limit 1 ...

2006-07-03 00:14:00 234

ORA-01401: 插入的值对于列过大

为什么在Oracle9i里,我定义的字段类型为varchar2(50),为什么只能存16个汉字呢?並且系統會提示:ORA-01401: 插入的值对于列过大 解決辦法:(1)注册表里:HKEY_LOCAL_MACHINE--SOFTWARE--ORACLE-HOME0--NSL_LANG的值为:SIMPLIFIED CHINESE_CHINA.ZHS16GBK (2)查了数据库:select * f...

2006-07-02 17:31:00 5861

java.lang.OutOfMemoryError: PermGen space 之解决方案

在tomcat中redeploy时出现outofmemory的错误.可以有以下几个方面的原因:1,使用了proxool,因为proxool内部包含了一个老版本的cglib.2, log4j,最好不用,只用common-logging3, 老版本的cglib,快点更新到最新版。4,更新到最新的hibernate3.2...

2006-04-07 13:25:00 103

css+js画圆角的一个类库niftycube,推荐

http://pro.html.it/niftycube/http://pro.html.it/niftycube/nifty12.html  效果图 If you're new to Nifty Corners, I suggest to look in particular at the article on the first version to understand the con...

2006-03-24 17:43:00 128

spring,hibernate使用xml文件为mysql数据库配连接池proxool

 <bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">       <!--<property name="dataSource" ref="dataSource"/>-->        <prop

2006-03-22 23:40:00 120

Valuelist中 hsql使用select 子句的情况 (hibernate3.12)

想要支持hibernate3.12的valuelist的可以发邮件到 bzshow 在 gmail select new com.sina.model.TopPubInfo(info.studentAccount.username,info.teacherSex) from PublishInfo info order by info.publishTime desc 其中定义如下 public ...

2006-03-21 13:48:00 147

Valuelist中列内容的修改,例如要显示"hahahaha",但数据库里为"sdfdsf"

在jsp代码中这样写<vlh:column title="First" property="firstNameAsString" adapterProperty="firstName" sortable="desc" />   相应的pojo中要加上getFirstNameAsString这个函数 public class Player { public Player() {...

2006-03-21 13:47:00 173

spring+hibernate的c3p0 连接池配置

<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean">         <property name="hibernateProperties">             <props>                 <

2006-03-17 13:28:00 214

Hibernate: Communication link failure: java.io.IOException

I recently launched a new site based on Struts, Hibernate and MySQL and immediately ran into a weird issue where Hibernate lost the ability to make database connections after a long period of inactivi...

2006-03-16 17:54:00 150

hibernate in 查询

StringBuffer buf = new StringBuffer();   if (!forObject) {    buf.append("select count(*) ");   }   buf.append("from Agent agent where 1=1 ");            String gradeId = (String)conditions.get("grade...

2006-02-18 20:34:00 267

Hibernate用Mysql数据库时链接关闭异常的解决 (转)

http://bjzhanghao.cnblogs.com/archive/2004/12/10/75145.html在一个项目中,客户要求除操作系统外全部使用免费软件,因此我使用了Mysql 4.0作为数据库服务器,其JDBC驱动为3.0.9版本,在给客户安装后调试一切正常。可是到了第二天,只要一登录就提示“No operations allowed after connection close...

2006-01-21 15:05:00 112

Dbunit import oracle出错解决方法

Why I get a "AmbiguousTableNameException" and NoSuchTableException? This error occurs when no schema is specified and that DbUnit detect that it is getting columns information from multiple tables hav...

2006-01-18 15:32:00 116

valuelist在程序中修改sql语句

在action中:        String hsql = "FROM com.ruancu.model.MailTemplate AS vo " +                      "/~name: WHERE vo.identifier LIKE {name} ~/" +                      "/~sortColumn: ORDER BY vo.[sortCo...

2006-01-17 16:02:00 274

Valuelist使用指南续-对象作为where子句的条件

Valuelist使用指南续-对象作为where子句的条件 corporation/ComAccountAction.java public ActionForward search(ActionMapping mapping, ActionForm form, HttpServletRequest request, ...

2006-01-16 17:31:00 189

Valuelist使用指南

Valuelist使用指南 [编辑]applicationContext-valuelist.xml<entry key="mailTemplateList"> <bean class="net.mlw.vlh.adapter.hibernate.Hibernate3Adapter"> <property name="sessio...

2006-01-16 17:29:00 318

各系Rails大点兵 (转)

不知道明年今日,会不会出现一队只会用Ruby On Rails的毕业生,像当年的asp、jsp、php迅速剿了C++/perl的CGI那样,把我们给剿了。同好们劝我,根据大公司经济学,这基本不会发生。    在茫茫的框架之海认出一个Rails框架,基本上靠四个特征    1.一门动态语言    2.一个extreme simple to use的ORM框架    3.一个extreme simpl...

2006-01-09 09:29:00 98

ajax demo

http://61.151.239.187/doradosample/

2006-01-06 11:09:00 87

Cygwin/Rails

A few notes taken while trying to get Rails working on Cygwin:Stock Ruby works perfectly (so far) Getting gem to work is also standard fare (get tar file, unpack, ruby setup.rb) Installing Rails using...

2005-12-24 13:20:00 141

Windows 上安装Lighttpd (转)

Lighttpd For Windows http://www.kevinworthington.com:8181/?p=85If you a need for a small, fast lightweight web server and you’re running Windows, I have just the solution for you: Lighttpd For Windows...

2005-12-24 13:19:00 239

Appfuse之appgen模板修改

 如果pojo类中有多对一,一对多关系时,自动生成的sample-data.sql会有问题 因此要修改sample-data.xdt加黑的部分为增加,划线的为删除<XDtTagDef:tagDef namespace="MethodEx" handler="org.example.antbook.xdoclet.MethodExTagsHandler"/>  <!--<XD...

2005-12-16 13:50:00 102

集成Axis and Appfuse part1

集成Axis and Appfuse  part1 http://spaces.msn.com/members/chenztw/PersonalSpace.aspx?_c=Introduction  这个练习的目的是为了说明如何集成Apache Axis into Appfuse第一部分,我们增加一些lib与jsp第二部分,我们将从appfuse的服务层提供webservice,然后做一个简单的测...

2005-12-03 21:15:00 101

CString Management (关于CString的所有操作,例如char*到CString的转换等等,强力推荐)...

                        CString Management  CStrings are a useful data type. They greatly simplify a lot of operations in MFC, making it much more convenient to do string manipulation. However, there ...

2001-11-09 10:18:00 153

空空如也

空空如也

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

TA关注的人

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