一、什么是注解? 解析:来源:Hibernate提供了Hibernate Annotations扩展包,它可以替换复杂的hbm.xml文件( Annotations扩展包是hibernate-annotation-3.4.0GA.zip) 作用:使得Hibernate程序的开发大大的简化。利用注解后 ...
分类:
Web程序 时间:
2016-08-23 18:33:28
阅读次数:
155
Hibernate中用注解配置一对多双向关联和多对一单向关联 Hibernate提供了Hibernate Annotations扩展包,使用注解完成映射。在Hibernate3.3之前,需单独下载注解开发包 配置持久化类 配置关联关系 下面我们先从多对一单向关联关系讲起,多对一单向关联就是在多的一方 ...
分类:
Web程序 时间:
2016-08-23 12:52:54
阅读次数:
308
Guava 中文是石榴的意思,该项目是 Google 的一个开源项目,包含许多 Google 核心的 Java 常用库。
目前主要包含:
com.google.common.annotations
com.google.common.base
com.google.common.collect
com.google.common.io
com.google.common.net
com.goog...
分类:
其他好文 时间:
2016-08-14 16:23:38
阅读次数:
198
由于公司的winform项目需要用到Chart图表,抽空研究了一下,特地发上来给大家做个参考,就目前而言用到的属性说明都做了注释; 主要用到Chart控件图表区域的属性有五个属性 Annotations 批注集合(我没怎么用到,但是配置的话会在图标区域出现一些可以备注的东西吧) ChartAreas ...
spring文档地址 : http://docs.spring.io/spring/docs/4.2.0.RC1/spring-framework-reference/htmlsingle/#transaction-declarative-annotations 说明: 代理模式中,只拦截外部方法调 ...
分类:
数据库 时间:
2016-08-06 09:52:00
阅读次数:
4949
Activates various annotations to be detected in bean classes: Spring's @Required and @Autowired, as well as JSR 250's @PostConstruct, @PreDestroy and ...
分类:
其他好文 时间:
2016-08-06 08:37:15
阅读次数:
223
本文原地址 http://www.itzhai.com/java-based-notebook-annotation-annotation-introduction-and-use-custom-annotations.html ...
分类:
编程语言 时间:
2016-08-05 21:10:30
阅读次数:
187
S1.Json2Java根据 JSon 数据自动生成对应的 Java 实体类,还支持 Parcel、Gson Annotations 对应代码自动生成。期待后续的提取父类以及多 url 构建整个工程的功能项目地址:https://github.com/jonfhancock/JsonToJava在线 ...
分类:
编程语言 时间:
2016-08-05 06:35:16
阅读次数:
257
以下使用在Entity Framework Code First Entity Framework Code First 利用一种被称为约定(Conventions)优于配置(Configuration)的编程模式允许你使用自己的 domain classes 来表示 EF 所依赖的模型去执行查询、 ...
分类:
Web程序 时间:
2016-08-04 22:57:10
阅读次数:
553
40. Testing 40. Testing 40. Testing 40. Testing Spring Boot provides a number of utilities and annotations to help when testing your application. Test ...
分类:
编程语言 时间:
2016-07-31 15:46:56
阅读次数:
280