Redian新闻
>
Hibernate 问题:deprecated javax.persistence.spi.PersistenceProvider
avatar
Hibernate 问题:deprecated javax.persistence.spi.PersistenceProvider# Java - 爪哇娇娃
a*9
1
老公在2007年递的EB2,NIW,已有I485.那时我们还不认识,自然申请里只有他一人。
现在单位可以帮他申请EB1b,请问,可以把我加在里面吗?为什么律师说
I will file your OR online, which means your wife’s I-485 will not
technically be “concurrently filed.” We can file it at any time after we
file the OR, however, since the OR has a current priority date. My only
concern is that your I-485 is presently based on a different immigrant
visa, the NIW. A spouse cannot file an adjustment of status if the
principal applicant has not yet done so. In this case, you techn
avatar
h*8
2
我在用Hibernate 4.3.4,在createEntityManagerFactory("xxx");
已经在persistence.xml中配置了org.hibernate.jpa.
HibernatePersistenceProvider

用Junit调试时,还是出现了错误提示:
Mar 27, 2014 11:33:07 AM org.hibernate.ejb.HibernatePersistence
logDeprecation
WARN: HHH015016: Encountered a deprecated javax.persistence.spi.
PersistenceProvider [org.hibernate.ejb.HibernatePersistence]; use [org.
hibernate.jpa.HibernatePersistenceProvider] instead.
google了一下,发现Hibernate有这个bug,有人发了个帖子,我还是看不明白。不知道
哪位高手能帮忙解决一下。
https://community.jboss.org/thread/233644
avatar
s*y
3
为什么用那么新的版本呢?4.1也可以啊。
avatar
h*8
4
谢谢楼上的兄弟,我换了一个低版本的试了试,然后采用org.hibernate.ejb.
HibernatePersistence好了!
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。