上一页 1 2 3 4 5 6 7 8 9 10 ··· 52 下一页
摘要: 一、定义GreetingService接口package cn.csdn.hr.service;publicinterface GreetingService { publicvoid sayGeeting();}二、定义GreetingServiceImpl类并实现GreetingService接口package cn.csdn.hr.service;publicclass GeetingServiceImplimplements GreetingService { private Stringgreeting;/*bean配置文件中property属性name的名称和greeting一致. 阅读全文
posted @ 2012-04-18 07:55 Springside4 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 转自: http://filext.com/faq/office_mime_types.phpWhat are the Microsoft Office MIME Types?FILExt does not presently have a search capability for MIME types however, in the interest of helping, this FAQ contains a complete list of the official Microsoft Office MIME types for the newest version of Micro 阅读全文
posted @ 2012-04-17 22:47 Springside4 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 转自:http://filext.com/faq/office_mime_types.phpWhat are the Microsoft Office MIME Types?FILExt does not presently have a search capability for MIME types however, in the interest of helping, this FAQ contains a complete list of the official Microsoft Office MIME types for the newest version of Micros 阅读全文
posted @ 2012-04-17 22:47 Springside4 阅读(350) 评论(0) 推荐(0) 编辑
摘要: public class Configurationextends Objectimplements SerializableAn instance ofConfigurationallows(允许) the application tospecify(指定) properties and mapping documents to be used when creating aSessionFactory. Usually an application will create a singleConfiguration,build(构建) a single instance ofSession 阅读全文
posted @ 2012-04-17 16:33 Springside4 阅读(139) 评论(0) 推荐(0) 编辑
摘要: org.hibernate.cfgClass ConfigurationAn instance ofConfigurationallows(允许) the application to specify properties and mapping documents to be used when creating aSessionFactory. Usually an application will create a singleConfiguration, build a single instance ofSessionFactoryand then instantiateSessio 阅读全文
posted @ 2012-04-17 15:49 Springside4 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 现在的java的数据库-关系映射技术似乎不提倡用存储过程,其实存储过程更能发挥数据库的效率。1 引言存储过程因其执行效率高、与事务处理的结合、运行更安全等优点,在数据库应用程序中被广泛采用。PL/SQL是用于从各种环境中访问Oracle数据库的一种编程语言,它与数据库服务器集成在一起,PL/SQL编写的存储过程编译效率高,网络系统开销小,同时PL/SQL直观性好,是大多数人的选择。以Number、Varchar等基本标量类型为输出参数的PL/SQL存 储过程,每个输出参数只能返回一个对应值。而在实际数据库应用程序中,尤其是在进行系统综合查询统计时,往往需要返回二维数组或结果集,这时应考虑在存储 阅读全文
posted @ 2012-04-17 15:32 Springside4 阅读(1401) 评论(0) 推荐(0) 编辑
摘要: 现在的java的数据库-关系映射技术似乎不提倡用存储过程,其实存储过程更能发挥数据库的效率。1 引言存储过程因其执行效率高、与事务处理的结合、运行更安全等优点,在数据库应用程序中被广泛采用。PL/SQL是用于从各种环境中访问Oracle数据库的一种编程语言,它与数据库服务器集成在一起,PL/SQL编写的存储过程编译效率高,网络系统开销小,同时PL/SQL直观性好,是大多数人的选择。以Number、Varchar等基本标量类型为输出参数的PL/SQL存 储过程,每个输出参数只能返回一个对应值。而在实际数据库应用程序中,尤其是在进行系统综合查询统计时,往往需要返回二维数组或结果集,这时应考虑在存储 阅读全文
posted @ 2012-04-17 15:28 Springside4 阅读(315) 评论(0) 推荐(0) 编辑
摘要: Android系统自带一个GridView和Gallery两个控件,GridView网格显示,Gallery单个浏览,两者结合起来可以真正实现Gallery浏览图片效果。本示例通过GridView和Gallery两个控件,模仿实现一个完整的仿Gallery图像集的图片浏览效果。效果图如下:1、GridView首先,自定义一个GridImageAdapter图片适配器,用于填充GridView控件的图片 public class GridImageAdapter extends BaseAdapter { private Context mContext; Drawable btnDra... 阅读全文
posted @ 2012-04-16 23:05 Springside4 阅读(247) 评论(0) 推荐(0) 编辑
摘要: Ctrl+1 快速修复(最经典的快捷键,就不用多说了)Ctrl+D: 删除当前行 Ctrl+Alt+↓ 复制当前行到下一行(复制增加)Ctrl+Alt+↑ 复制当前行到上一行(复制增加)Alt+↓ 当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了)Alt+↑ 当前行和上面一行交互位置(同上)Alt+← 前一个编辑的页面Alt+→ 下一个编辑的页面(当然是针对上面那条来说了)Alt+Enter 显示当前选择资源(工程,or 文件 or文件)的属性Shift+Enter 在当前行的下一行插入空行(这时鼠标可以在当前行的任一位置,不一定是最后)Shift+Ctrl+Enter 在当前行插 阅读全文
posted @ 2012-04-16 19:28 Springside4 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 1、PowerDesigner使用MySQL的auto_increment◇问题描述:PD怎样能使主键id使用MySQL的auto_increment呢?◇解决方法:打开table properties窗口 → columns → 选中id列 → 打开columns properties窗口 → 勾选identity即可注意:概念模型没有此选项,物理模型才有2、PowerDesigner去掉SQL脚本中的双引号◇问题描述:PD生成Oracle数据库建表SQL时,默认会给表名和字段名加上双引号,怎样能去掉SQL脚本中的双引号呢?◇解决方法: 把Database → Edit Current .. 阅读全文
posted @ 2012-04-16 13:10 Springside4 阅读(331) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 52 下一页