2015年1月21日

OneToOne.orphanRemoval()Z

摘要: 错误提示:Exception in thread "main" java.lang.NoSuchMethodError: javax.persistence.OneToOne.orphanRemoval()Zat org.hibernate.cfg.AnnotationBinder.processE... 阅读全文

posted @ 2015-01-21 14:02 ziyi_ang 阅读(225) 评论(0) 推荐(0)

java截取字符串,截串,substring和split,分割字母和数字,正则缝隙

摘要: http://heisetoufa.iteye.com/blog/227238如果用竖线“|”分隔的话,将出现不可得到的结果,必须改为“\\|”如果用竖线“.”分隔的话,将出现不可得到的结果,必须改为“\\.”给定以下字符串:zhangsan:89|lisi:90|wangwu:78要求拆分成:zh... 阅读全文

posted @ 2015-01-21 13:56 ziyi_ang 阅读(626) 评论(0) 推荐(0)

mysql 安装错误1045

摘要: 不要输入密码。提示输入密码直接按回车就能进去。所有的操作都可以进行。如果想改密码很简单的。use mysqlupdate user set password=password('newpassword') where user='root';flush privileges; 阅读全文

posted @ 2015-01-21 13:46 ziyi_ang 阅读(101) 评论(0) 推荐(0)

hibernate-annotation 方式

摘要: hibernate官网:http://www.hibernate.org/annotation[ænə'teɪʃ(ə)n]注释jar包在hibernate-distribution-3.5.6-Final里,因为hibernate3的包下有hibernate-annotations.jar和hibe... 阅读全文

posted @ 2015-01-21 13:45 ziyi_ang 阅读(78) 评论(0) 推荐(0)

hibernate 最基本存入数据

摘要: 依据参考手册去开发!\hibernate-distribution-3.5.6-Final\hibernate-distribution-3.5.6-Final\documentation\manual\zh-CN\html_single 阅读全文

posted @ 2015-01-21 13:44 ziyi_ang 阅读(97) 评论(0) 推荐(0)

配置hibernate(myeclipse8.6)

摘要: http://blog.sina.com.cn/s/blog_8d0d1d160101f3p0.html 阅读全文

posted @ 2015-01-21 13:43 ziyi_ang 阅读(76) 评论(0) 推荐(0)

去除开机密码

摘要: 开始----运行,输进:Control Userpasswords2 在弹出的“用户帐户”对话窗中“要应用本机,用户必需输入用户名和密码”前复选框中的勾去掉。然后在主动登陆对话窗中输入用户名和密码然后在高级选项里,把要求用户按ctrl+alt+del 勾也去掉。 阅读全文

posted @ 2015-01-21 12:33 ziyi_ang 阅读(126) 评论(0) 推荐(0)

局域网的几个小功能

摘要: 1 查看本地ip地址:cmd -->ipconfig2 测试链接是否成功cmd -->ping ip3 访问对方文件: 1)对方需要共享 2)在我的电脑 地址栏 里 输入 \\ ip地址 eg:\\192.168.0.224 访问自己共享的文件 1)第一种方法:\\127.0.0.1 2) 第二种方... 阅读全文

posted @ 2015-01-21 12:32 ziyi_ang 阅读(125) 评论(0) 推荐(0)

ssh包及项目搭建

摘要: [struts2]\struts-2.3.1.2-all\struts-2.3.1.2\apps\struts2-blank.war\WEB-INF\lib 的所有包asm-3.3.jarasm-commons-3.3.jarasm-tree-3.3.jarcommons-fileupload-1.... 阅读全文

posted @ 2015-01-21 12:31 ziyi_ang 阅读(126) 评论(0) 推荐(0)

ssh设计

摘要: 设计模式:单利模式(singleton),有两种,分别是懒汉式和饿汉式1.懒汉式class A{ private static A instance ; private A(){ }public static A getInstance(){ if(instance==null){ instance... 阅读全文

posted @ 2015-01-21 12:29 ziyi_ang 阅读(264) 评论(0) 推荐(0)

导航