rainsun的博客
rainsun · 共 4 篇文章
linux和windows交互 sz rz(转)
开发过程中使用ssh连接服务器,有时需要将处理结果传到windows下查看,所以经常用到数据在windows和linux之间的交互。 sz filename:由linux将文件拷贝到windows; rz ,敲入该命令,出现选择框,选择要导入linux的文件,确定后将windows文件拷贝到linux端。 对ssh客户端有要求,putty貌似不支持ZMODEM协议,所以不行。 能用的客户端有:Xshell,SecureCRT Linux下和Windows之间的文件传输工具rz/sz(lrz/lsz) 【什么是rz/sz (lsz/lrz)】 简单说就是,可以很方便地用这两个sz/rz工具,实…
2012-07-12 14:38 · System · 评论(0)
Mybatis处理存储过程返回的游标需要怎么配置
目标:调用存储过程,该存储过程有一个入参(类型 long),一个出参(类型 cursor),从这个cursor中取出一个List。 存储过程: CREATE OR REPLACE PROCEDURE GET_SOMETHING( SOME_NUMBER IN NUMBER DEFAULT 30, RC1 IN OUT globalPkg.RCT1){ OPEN RC1 FOR SELECT field1, field2 FROM some_table WHERE some_conditions; } Java类: public interface SomethingMapperDao { p…
2012-06-20 13:54 · Mybatis · 评论(0)
Eclipse “cannot find the tag library descriptor”
http://stackoverflow.com/questions/1265309/eclipse-cannot-find-the-tag-library-descriptor>] In Eclipse Helios "Java EE Module Dependencies" in the project properties has been replaced with "Deployment Assembly". So for solving this problem with Eclipse Helios, the way I did it is the following: Rig…
2012-05-15 19:01 · Web · 评论(0)