木其网络科技专业程序员代写http://www.xmsydw.com
程序员学历擅长经验网店链接
apenny硕士ASP.NET PHP 电子 通信设计 图像 编程 网络5年进入店铺
zheng_qianqian本科C语言 C++面向对象 Java3年进入店铺
guoguanl本科Java Web项目 JSP Hibernate Struts Mysql4年进入店铺
摘要: "> 修改论文 发送成功!本窗口将在3秒后自动跳转 注: ${action} 要在跳转的action放入 就是方法名 阅读全文
posted @ 2010-07-29 17:36 C语言程序 阅读(686) 评论(0) 推荐(0) 编辑
摘要: @Entity@javax.persistence.SequenceGenerator( name="SEQ_STORE", sequenceName="my_sequence")createtableS_Depart( @Id @GeneratedBalue(stratey=GenerationType.SEQUENCE,generator="SEQ_STORE")private LongDepartId;@Column("depart_name") private String DepartName ;@Bas 阅读全文
posted @ 2010-07-05 19:22 C语言程序 阅读(184) 评论(0) 推荐(0) 编辑
摘要: public String exportExcel() { try { /** * 设置标题 */ List headerList = new ArrayList(); headerList.add("序号"); headerList.add("专业"); headerList.add("题目"); headerList.add("姓名"); headerList.add("状态"); /** * 得到要导出的数据集 */ List dataList = managerCentreService 阅读全文
posted @ 2010-06-26 12:03 C语言程序 阅读(209) 评论(0) 推荐(0) 编辑
摘要: *** 班级* @author Administrator* @hibernate.class table="t_grade"**/public class Grade { /** * @hibernate.id generator-class="native" */ private int id; /** * 名称 * @hibernate.property */ private String name; /** * 包含的学生 * @hibernate.set inverse="true" lazy="extra&quo 阅读全文
posted @ 2010-06-26 11:59 C语言程序 阅读(139) 评论(0) 推荐(0) 编辑
摘要: //部门public class Department { private Long id; private String name; private String description; private Set employees; //一端执有多端的一个集合引用 getter(); setter();}//员工public class Employee { private Long id; private String username; private Date joinTime; private Department de... 阅读全文
posted @ 2010-06-09 23:13 C语言程序 阅读(231) 评论(0) 推荐(0) 编辑
摘要: public class User { private Integer id; private String name; private String pwd; getter(); setter();}和此类(User) 放在同一个目录下User-userLoginContext-validation.xml这个文件!User-userLoginContext-validation.xml如下: 姓名是必填的 姓名不合法 密码是必填的 action 如下public class UserAction extends ActionS... 阅读全文
posted @ 2010-06-09 19:31 C语言程序 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 首先!要安装JBPM的插件。使用的是 jbpm-jpdl-designer-site-3.1.7!在myEclipse 图标点属性,查找目标D:/Program Files/Genuitec/MyEclipse 7.5/dropins把以上插件安入dropins 既可!JbpmConfiguration jbpmConfiguration =JbpmConfiguration.getInstance();JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();ProcessDefinuration pd = jbpmCon 阅读全文
posted @ 2010-06-08 19:46 C语言程序 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 每一个实体一张表 以上是表person,student,teacher的继承映射,在继承映射做数据的关连时!删除person中的数据,如果student,teacher中有对应的数据也会删除!删除student,teacher中的数据如果person中有对应的数据也会删除! 自动创建生成的sql语句,... 阅读全文
posted @ 2010-06-08 19:38 C语言程序 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 在测试Hibernate的一对多双向关联映射时,碰到很有趣的问题,跟inverse属性直接相关。1、People.hbm.xml<hibernate-mapping default-lazy="false"> <class name="com.persistent.People" table="people"> <id name="id" column="peopleId" unsaved-value="0"> <generator class="increment 阅读全文
posted @ 2010-06-08 19:26 C语言程序 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2010-06-08 19:21 C语言程序 阅读(107) 评论(0) 推荐(0) 编辑
木其网络科技专业程序员代写http://www.xmsydw.com
程序员学历擅长经验网店链接
apenny硕士ASP.NET PHP 电子 通信设计 图像 编程 网络5年进入店铺
zheng_qianqian本科C语言 C++面向对象 Java3年进入店铺
guoguanl本科Java Web项目 JSP Hibernate Struts Mysql4年进入店铺