摘要: [代码] hibernateUtils package cn.itcast.oa0808.hibernate; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; /** * http://www.haofapiao.com/linked/20130213.do; 比来没事写了一次hibernate的东西类,不知道写的有没有错,感受有许多欠好的当地 尤其是在前面界说了许多static类型的变量, ... 阅读全文
posted @ 2013-02-14 02:31 chinadiy197601 阅读(144) 评论(0) 推荐(0) 编辑
摘要: [代码] [Java]代码 package com.cdfy.ftransdata.client.test;import java.util.Scanner;public class My_tmp { /** * @param args */ private final int [] poker={1,2,3,4,5,6,7,8,9,10,11,12,13,1 http://www.fpnanchang.com/linked/20130213.do; 4,15,16, 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31, 32,33,34,3... 阅读全文
posted @ 2013-02-14 02:30 chinadiy197601 阅读(284) 评论(0) 推荐(0) 编辑
摘要: [代码] 反射对泛型的影响 package cn.itcast.apsliyuan.text;import java.util.ArrayList;import java.util.List;public class ReflectAndAnnotation { public static void main(String[] args) { List http://www.fpshamen.com/linked/20130212.do; listStr = new ArrayList(); listStr.add("apsliyuan@163.com"); // list 阅读全文
posted @ 2013-02-13 05:30 chinadiy197601 阅读(155) 评论(0) 推荐(0) 编辑
摘要: [代码] 运用注解 注解与需求生成Excel目标上 public class Excel { @ExcelAnnotation("称号") public String bookName; @ExcelAnnotation("行数") public int rows; @ExcelAnnotation("创立时刻") public Date createTime; http://www.aaafaipiao.com/linked/20130212.do; @ExcelAnnotation("内容") public D 阅读全文
posted @ 2013-02-13 02:30 chinadiy197601 阅读(214) 评论(0) 推荐(0) 编辑
摘要: [文件] MyTextureRect.java~4KB下载(18) /** * */package ghost.android3d.opengl35;import java.nio.ByteBuffer;import java.nio.ByteOrder;import java.nio.FloatBuffer;import java.nio.IntBu http://www.fpzhangsha.com/linked/20130211.do; ffer;import javax.microedition.khronos.opengles.GL10;/** * @author 玄雨... 阅读全文
posted @ 2013-02-12 05:30 chinadiy197601 阅读(259) 评论(0) 推荐(0) 编辑
摘要: [代码] [Java]代码 //首先是要写×。tld文件,当项目跟着服务器发动的时分,会查看项目中有没有*tld文件。//写的tld文件http://www.fpnanchang.com/linked/20130211.do; Schema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd" version="2.1"> 1.0 ap 阅读全文
posted @ 2013-02-12 02:30 chinadiy197601 阅读(174) 评论(0) 推荐(0) 编辑
摘要: [代码] [Java]代码 package cn.itcast.apsliyuan.text;public class TypeDemo { public static void main(String[] args) { A a1=new A(); A a2=new B(); A b=a1; //C c=(C) a2;这句话会发作java.lang.Class http://www.fpnanchang.com/linked/20130210.do; CastException 反常,只能向上转型, }}class A{ }class B extends A{ }class C ex... 阅读全文
posted @ 2013-02-11 02:30 chinadiy197601 阅读(389) 评论(0) 推荐(0) 编辑
摘要: [代码] 依据 @Table 注解 获取 数据库 表名 字段名 东西类 @author www.soservers.com 晚风工作室 import java.lang.reflect.Method;import javax.persistence.Table;/** * 经过注解javax.persistence.Table获取数据库表的详细信息 * java hiberna http://www.fpnanchang.com/linked/20130209.do; te 依据 Table 注解 获取 数据库 表名 字段名 东西类 * 需要 注解方法为 javax.persistence.T 阅读全文
posted @ 2013-02-10 05:30 chinadiy197601 阅读(1065) 评论(0) 推荐(0) 编辑
摘要: [代码] hibernateUtils package cn.itcast.oa0808.hibernate; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.Configuration; /** * http://www.fpzhangsha.com/linked/20130209.do; 比来没事写了一次hibernate的东西类,不知道写的有没有错,感受有许多欠好的当地 尤其是在前面界说了许多static类型的变量,... 阅读全文
posted @ 2013-02-10 02:30 chinadiy197601 阅读(154) 评论(0) 推荐(0) 编辑
摘要: [代码] [Java]代码 package com.cdfy.ftransdata.client.test;import java.util.Scanner;public class My_tmp { /** * @param args */ private final int [] poker={1,2,3,4,5,6,7,8,9,10,11,12,13,1 http://www.szhaoexport.com/linked/20130208.do; 4,15,16, 17,18,19,20,21,22,23,24,25,26,27,28,29,30,31, 32,33,34,... 阅读全文
posted @ 2013-02-09 05:30 chinadiy197601 阅读(990) 评论(0) 推荐(0) 编辑