05 2015 档案
摘要:今天学习在本地搭建Maven工程时,执行了mvn archetype:generate 命令,报错。Unable to create project from archetype [org.apache.maven.archetypes:maven-archetype-quickstart:1.1]...
阅读全文
摘要:C# 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace ConsoleApplication4 7 { 8 class Pr...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.IO; 4 using System.Runtime.Serialization; 5 using System.Runtime.Serializatio...
阅读全文
摘要:转自:http://blog.chinaunix.net/uid-25829053-id-3067619.html 查看磁盘信息: 挂载好新硬盘后输入fdisk -l命令查看当前磁盘信息(linux中新硬盘的加入,未挂载的文件系统df是看不到的) fdisk -l 查看当前磁盘信息 可以看到除了当前
阅读全文
摘要:一、/etc/fstab文件的作用 磁盘被手动挂载之后都必须把挂载信息写入/etc/fstab这个文件中,否则下次开机启动时仍然需要重新挂载。 系统开机时会主动读取/etc/fstab这个文件中的内容,根据文件里面的配置挂载磁盘。这样我们只需要将磁盘的挂载信息写入这个文件中我们就不需要每次开机启动之...
阅读全文
摘要:http://blog.csdn.net/cdnight/article/details/18082255这里是一份经过再三调试测试而成功的postgres数据库单表crud存储过程,请注意,对于多结果的返回方式,请查看 getPageByCondition的书写方式,用的是refcursor,返回...
阅读全文
摘要:http://blog.chinaunix.net/uid-7591044-id-1742967.html今天学会了用 PL/pgSQL 写 postgreSQL 的存储过程,网上资料实在少得可怜,唯一能搜到的一些还是抄来抄去的;还是翻postgresql的文档吧,把今天解决的问题说一下吧,希望对其...
阅读全文