cndavy

导航

 

2012年11月2日

摘要: hibernate.query.factory_class= org.hibernate.hql.classic.ClassicQueryTranslatorFactoryhibernate3支持中文查询hibernate.show_sql=truehibernate.use_sql_comments=truehibernate.dialect=org.hibernate.dialect.Oracle9Dialecthibernate.jdbc.fetch_size=100hibernate.jdbc.batch_size=50hibernate.generate_statistics=tr. 阅读全文
posted @ 2012-11-02 18:52 cndavy 阅读(175) 评论(0) 推荐(0) 编辑
 

2012年9月24日

摘要: private void processNumericCell(HSSFRow row, HSSFCell cell, int rowPoint, int colPoint) {xmlFileBuffer.append("<td ");String styleString = combineCellStyle(getCellStyle(row, cell, rowPoint, colPoint));xmlFileBuffer.append(styleString + ">");String cellvalue = "";i 阅读全文
posted @ 2012-09-24 15:14 cndavy 阅读(2607) 评论(0) 推荐(0) 编辑
 

2012年8月3日

摘要: package common;import junit.framework.Assert;import org.junit.AfterClass;import org.junit.BeforeClass;import org.junit.Test;import org.junit.runners.JUnit4;/*** Created by IntelliJ IDEA.* User: hantongchao* Date: 12-8-3* Time: 上午9:40* To change this template use File | Settings | File Templates.*/p. 阅读全文
posted @ 2012-08-03 09:55 cndavy 阅读(217) 评论(0) 推荐(0) 编辑
 
摘要: a b f getcell 1 $A$1 $B$1 $C$1 2 1 1 1 3 1 2 3 4 2 2 2 5 a b f 6 a b =HYPERLINK("http://www.ccb.com","f") 7 G/通用格式 G/通用格式 G/通用格式 8 1 1 1 9 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 TRUE... 阅读全文
posted @ 2012-08-03 09:20 cndavy 阅读(650) 评论(0) 推荐(0) 编辑
 

2012年6月19日

摘要: private void loadLocationFile(int resourceID){//注解2Resources res = this.getResources();InputStream in = null;BufferedReader br = null;try{in = res.openRawResource(R.raw.location_a0 + resourceID);String str;br = new BufferedReader(new InputStreamReader(in, "GBK"));while ((str = br.readLine( 阅读全文
posted @ 2012-06-19 14:56 cndavy 阅读(628) 评论(0) 推荐(0) 编辑
 

2012年6月11日

摘要: dll vc 阅读全文
posted @ 2012-06-11 10:50 cndavy 阅读(3352) 评论(2) 推荐(0) 编辑
 

2012年6月7日

摘要: C:\Program Files\Microsoft Visual Studio 10.0\VC\atlmfc\lib 阅读全文
posted @ 2012-06-07 14:31 cndavy 阅读(347) 评论(0) 推荐(0) 编辑
 
摘要: VC中新建项目opencv安装目录 D:\opencv\opencv\ includeD:\opencv\opencv\build\include\opencv;D:\opencv\opencv\build\include\opencv2;D:\opencv\opencv\build\include;$(IncludePath)库目录D:\opencv\opencv\build\x86\vc10\bin;C:\Program Files\Microsoft Visual Studio 10.0\VC\lib;C:\Program Files\Microsoft SDKs\Windows\v7. 阅读全文
posted @ 2012-06-07 11:23 cndavy 阅读(1037) 评论(0) 推荐(0) 编辑
 

2012年5月3日

摘要: View Code 自己目前开发的项目中使用的错误类型词条编辑的功能,使用 datatable行编辑1<h:formid="typeform">2<p:growlid="msge"showDetail="true"/>3<p:outputPanelid="paneltype">4<p:dataTableid="tabletype"var="tp"5value="#{typeProblemAction.typeofproble 阅读全文
posted @ 2012-05-03 09:30 cndavy 阅读(795) 评论(0) 推荐(0) 编辑
 

2012年4月10日

摘要: QQ远程功能很适合远程维护,考虑到下班后需要维护系统,需要一个自动远程的程序。QQ上获取文本框的内容不知道如何取得,只好使用笨笨的 控制鼠标复制粘贴,检查粘贴板来实现先修改QQ用户备注为 远程QQ com.sun.jna.platform.win32.WinDef.HWND hwnd = User32.INSTANCE.FindWindow("TXGuiFoundation", "远程QQ"); if (hwnd==null) { System.err.println("未发现 [远程QQ] QQ对话框"); System.exit( 阅读全文
posted @ 2012-04-10 11:16 cndavy 阅读(1730) 评论(0) 推荐(0) 编辑