摘要: git基础 git status 状态 git pull 获取代码 git mergetool 对比去除冲突 git log 查看提交历史记录 git push git add -A 将所有文件变更提交到commit列表 git commit -m “注释” git clone 地址 克隆服务器代码 阅读全文
posted @ 2018-04-17 14:11 Sunray0330 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-04-17 13:55 Sunray0330 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 1:对hibernate 自动生成的优化,和OID中的高低位算法。 <?xml version="1.0" encoding="UTF-8"?><!-- dtd文件在:hibernate3.jar\org\hibernate\hibernate-mapping-3.0.dtd --><!DOCTYP 阅读全文
posted @ 2018-04-17 08:57 Sunray0330 阅读(169) 评论(0) 推荐(0) 编辑
摘要: package com.anrongtec.utils; import org.hibernate.Session;import org.hibernate.SessionFactory;import org.hibernate.cfg.Configuration;/** * 工具类。 * * @a 阅读全文
posted @ 2018-04-17 08:55 Sunray0330 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 0:hibernate的开发步骤: 开发步骤 1)搭建好环境 引入hibernate最小的jar包 准备Hibernate.cfg.xml启动配置文件 2)写实体类(pojo) 3)为实体类写映射文件"User.hbm.xml" 在hibernate.cfg.xml添加映射的实体 4)创建库表 5) 阅读全文
posted @ 2018-04-17 08:53 Sunray0330 阅读(167) 评论(0) 推荐(0) 编辑