上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 27 下一页

2012年6月14日

用PowerDesigner导出oracle数据库表SQL文时带双引号的问题

摘要: from:http://topic.csdn.net/u/20081023/14/38518221-b6c7-4648-b822-ce5bab8f94a8.html使用PowerDesigner生成数据库建表SQL脚本时,尤其是Oracle数据库时,表名一般会带引号。其实加引号是PL/SQL的规范,数据库会严格按照“”中的名称建表,如果没有“”,会按照ORACLE默认的设置建表(DBA STUDIO里面),默认是全部大写,这样,在ORACLE数据库里的字段就如“Column_1”。如果你把引号去掉,ORACLE自动默认为全部大写,即“COLUMN_1”,所以这段SQL在PL/SQL中执行的时候 阅读全文

posted @ 2012-06-14 16:01 izumi 阅读(1922) 评论(0) 推荐(1)

2012年6月6日

NetBeans 的统一注释模板

摘要: 1、Java类的模板 - templateNetBeans File Template Module Tutorialhttp://platform.netbeans.org/tutorials/nbm-filetemplates.html采用FreeMarker语言编写http://freemarker.org/2、代码的模板 - code templateCustomize Your NetBeans Java Template to Fit Your Needhttp://netbeans.org/competition/win-with-netbeans/customize-java- 阅读全文

posted @ 2012-06-06 11:11 izumi 阅读(1751) 评论(0) 推荐(0)

2012年6月1日

Swing JFileChooser中过滤图片格式

摘要: http://hi.baidu.com/sunxiangwei/blog/item/6ebdd5a2e5e980abcbefd04b.html 阅读全文

posted @ 2012-06-01 16:57 izumi 阅读(195) 评论(0) 推荐(0)

2012年5月31日

NetBeans IDE 7.1.1输入中文显示乱码

摘要: OS:win7 家庭在Fonts & Colors 中修改字体为 Monospaced 以后可输入中文,其他字体不可以 阅读全文

posted @ 2012-05-31 13:44 izumi 阅读(346) 评论(0) 推荐(0)

2012年5月27日

MyBatis使用MySQL数据库如何在执行insert操作后返回自增的主键

摘要: 数据库:MySQL5表:create table play(iid int(10) not null primary key auto_increment,typeId int(3));Play.java:public class Play{ private Integer iID; private Integer typeID; ...setter and getter省略...}play-mapper.xml:<mapper namespace="PlayDAO"> <resultMap id="BaseResultMap" typ 阅读全文

posted @ 2012-05-27 09:33 izumi 阅读(18658) 评论(1) 推荐(0)

2012年5月22日

ContextLoaderListener与DispatcherServlet所加载的applicationContext的区别

摘要: http://starscream.iteye.com/blog/1107036http://yonge812.iteye.com/blog/1535488org.springframework.web.servlet.DispatcherServlet是使用Spring MVC时的Front Controller,并不会初始化applicationContext。只使用它,肯定会找不到bean定义。web程序必须使用org.springframework.web.context.ContextLoaderListenerorg.springframework.web.context.Cont 阅读全文

posted @ 2012-05-22 15:17 izumi 阅读(987) 评论(0) 推荐(0)

2012年5月18日

Swing使用总结

摘要: 一、JTree:http://hi.baidu.com/beer_zh/blog/item/5c135c8f4d7ad1ebf11f3666.htmlhttp://blog.csdn.net/arjick/article/details/45266921、常用方法:(1)、选择模式改成只能单选tree.getSelectionModel().setSelectionModel(TreeSelectionModel.SINGLE_TREE_SELECTION);(2)、取得选中的节点(DefaultMutableTreeNode)tree.getLastSelectedPathComponent 阅读全文

posted @ 2012-05-18 14:49 izumi 阅读(457) 评论(0) 推荐(0)

2012年5月16日

用Swing作类似google搜索的搜索条

摘要: http://abruzzi.iteye.com/blog/470732 阅读全文

posted @ 2012-05-16 16:13 izumi 阅读(174) 评论(0) 推荐(0)

2012年5月7日

mybatis打印sql

摘要: mybatis默认使用log4j,当有self4j这个日志jar包存在时会无法打印sql,请移除或者在工程启动时显示设置mybatis使用的日志类log4j.logger.org.apache.ibatis=debug,stdoutlog4j.logger.java.sql=debug,stdoutfrom:http://13146489.iteye.com/blog/1037512 阅读全文

posted @ 2012-05-07 09:11 izumi 阅读(3320) 评论(0) 推荐(0)

2012年4月27日

Mybatis many to many

摘要: http://mybatis.co.uk/index.php/2010/10/mybatis-one-to-many-mapping.html 阅读全文

posted @ 2012-04-27 18:14 izumi 阅读(531) 评论(0) 推荐(0)

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 27 下一页

导航