![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Hibernate
文章平均质量分 65
pskylight
这个作者很懒,什么都没留下…
展开
-
Hibernate错误
1.错误提示:Exception in thread "main" java.lang.NoClassDefFoundError: javax/persistence/EntityListenersat org.hibernate.cfg.annotations.reflection.JPAMetadataProvider.getDefaults(JPAMetadataProvider原创 2012-07-07 16:10:02 · 479 阅读 · 0 评论 -
Hibernate 一对一双向关联 Annotation
Husband:package com.hibernate.model;import javax.persistence.Entity;import javax.persistence.GeneratedValue;import javax.persistence.Id;import javax.persistence.JoinColumn;import javax.persist原创 2012-07-18 09:03:25 · 353 阅读 · 0 评论