- 浏览: 129297 次
最新评论
-
hexudong2012:
zihou 写道又是一个转载不注明出处的人。。。。也许人家就是 ...
在UltraEdit的查找和替换中使用正则表达式 (转) -
zihou:
又是一个转载不注明出处的人。。。。
在UltraEdit的查找和替换中使用正则表达式 (转) -
shenshuibomb:
"/~name: WHERE vo.identifi ...
valuelist在程序中修改sql语句 -
lonewan:
[size=x-small][/size]
引用[u][/u ...
Valuelist使用指南
文章列表
很多朋友都用过或者正在用UltraEdit,这个编辑器陪伴我也好几年了,从很多地方影响着我写代码的快捷键习惯,Ultraedit提供了非常丰富的编辑功能,其中非常重要的查找和替换功能一定大家都用过,Ultraedit提供的查找替换功能非常方便和强大,可以在单独文件里面查找替换,也可以在多个文件、多个目录里面进行查找替换。而我们在使用这些查找替换功能的时候,一般都是针对某个字符串进行,前两天我要对一个目录下(包含子目录)所有的html文件中某一段代码进行查找替换,一下子不知道怎么操作了,由于长期写程序用到正则表达式,于是猜想具备如此强大功能的Ultraedit一定也有这样类似的匹配功能,于是点击H ...
- 2006-12-06 15:35
- 浏览 65656
- 评论(2)
Mysql取得最新插入的auto_increment列的值关键词: Mysql auto_increment select last_insert_id() as ID from tablename limit 1
- 2006-07-03 00:14
- 浏览 3927
- 评论(0)
为什么在Oracle9i里,我定义的字段类型为varchar2(50),为什么只能存16个汉字呢?並且系統會提示:ORA-01401: 插入的值对于列过大 解決辦法:(1)注册表里:HKEY_LOCAL_MACHINE--SOFTWARE--ORACLE-HOME0--NSL_LANG的值为:SIMPLIFIED CHINESE_CHINA.ZHS16GBK (2)查了数据库:select * from props$ (3) 查询了数据库视图:select * from V$NLS_PARAMETERS (4)对系统表执行以下操作: update props$ set value$='ZHS16 ...
- 2006-07-02 17:31
- 浏览 6773
- 评论(0)
在tomcat中redeploy时出现outofmemory的错误.可以有以下几个方面的原因:1,使用了proxool,因为proxool内部包含了一个老版本的cglib.2, log4j,最好不用,只用common-logging3, 老版本的cglib,快点更新到最新版。4,更新到最新的hibernate3.2
- 2006-04-07 13:25
- 浏览 2337
- 评论(0)
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 concept behind them. Basically, Nifty Corners are a solution based on CSS and Javascript to get rounded ...
- 2006-03-24 17:43
- 浏览 3697
- 评论(0)
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> <!--<property name="dataSource" ref="dataSource"/>--> <property name="mappingResources"> <list> ...
- 2006-03-22 23:40
- 浏览 5505
- 评论(0)
想要支持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 class TopPubInfo { /** identifier field */ protected String name; protected byte teacherSex; ...
- 2006-03-21 13:48
- 浏览 2503
- 评论(0)
在jsp代码中这样写<vlh:column title="First" property="firstNameAsString" adapterProperty="firstName" sortable="desc" /> 相应的pojo中要加上getFirstNameAsString这个函数 public class Player { public Player() { } public Player(String name, String firstName, String mi ...
- 2006-03-21 13:47
- 浏览 1678
- 评论(0)
<bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"> <property name="hibernateProperties"> <props> <prop key="hibernate.connection.driver_class">org.hsqldb.jdbc ...
- 2006-03-17 13:28
- 浏览 2880
- 评论(0)
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 inactivity. For the record, the stack trace is below:java.sql.SQLException: Communication link failure: java. ...
- 2006-03-16 17:54
- 浏览 2800
- 评论(0)
StringBuffer buf = new StringBuffer(); if (!forObject) { buf.append("select count(*) "); } buf.append("from Agent agent where 1=1 "); String gradeId = (String)conditions.get("gradeId"); if(gradeId != null && !gradeId.equals("&q ...
- 2006-02-18 20:34
- 浏览 1951
- 评论(0)
http://bjzhanghao.cnblogs.com/archive/2004/12/10/75145.html在一个项目中,客户要求除操作系统外全部使用免费软件,因此我使用了Mysql 4.0作为数据库服务器,其JDBC驱动为3.0.9版本,在给客户安装后调试一切正常。可是到了第二天,只要一登录就提示“No operations allowed after connection closed”异常,显示在浏览器上。在经过一番检查后我发现,在这种情况下只要重新启动Tomcat就恢复正常,然而到了第二天问题依旧。在网上查找一下,原来Mysql在经过8小时不使用后会自动关闭已打开的连接,摘录原 ...
- 2006-01-21 15:05
- 浏览 1814
- 评论(0)
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 having the same name and located in different schemas. You can solve this problem in three dif ...
- 2006-01-18 15:32
- 浏览 2032
- 评论(0)
在action中: String hsql = "FROM com.ruancu.model.MailTemplate AS vo " + "/~name: WHERE vo.identifier LIKE {name} ~/" + "/~sortColumn: ORDER BY vo.[sortColumn] [sortDirection] ...
- 2006-01-17 16:02
- 浏览 4992
- 评论(1)
Valuelist使用指南续-对象作为where子句的条件 corporation/ComAccountAction.java public ActionForward search(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { if (log.isDebugEnabled ...
- 2006-01-16 17:31
- 浏览 2051
- 评论(0)