摘要:
昨天看了看注解,于是简单模拟一下hibernate整个包:先来看注解Table.java,主要是把实体类和表名联系起来package annotation;import java.lang.annotation.ElementType;import java.lang.annotation.Retention;import java.lang.annotation.RetentionPolicy;import java.lang.annotation.Target;//自定义的Annotation@Target(ElementType.TYPE)@Retention(RetentionPoli 阅读全文
posted @ 2012-05-21 12:57
_SharpCode
阅读(484)
评论(0)
推荐(1)

浙公网安备 33010602011771号