Discussion:
Hibernate vs. JPA (hibernate-5.x deprecation warnings after upgrading to dropwizard-1.0.0)
frankgrimes97
2016-08-10 14:25:28 UTC
Permalink
Hi All,

I am seeing the following warnings in the logs after upgrading to
dropwizard-1.0.0.

"WARN org.hibernate.orm.deprecation - HHH90000022: Hibernate's legacy
org.hibernate.Criteria API is deprecated; use the JPA
javax.persistence.criteria.CriteriaQuery instead "

Are there plans to migrate to the JPA APIs?

Regards,

Frank Grimes
--
You received this message because you are subscribed to the Google Groups "dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dropwizard-user+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Scott Escue
2016-09-10 06:47:23 UTC
Permalink
Frank,

I just created and published a JPA module for Dropwizard. I basically
reworked Dropwizard Hibernate to expose a shareable, thread-safe
EntityManager that works with the UnitOfWork annotation. Setup and
configuration is almost identical to that for Dropwizard Hibernate. So far
I've only published releases compatible with Dropwizard 0.9.0 - 0.9.3. I'd
like to get some feedback on the project before releasing a 1.0 milestone
compatible with Dropwizard 1.0.0. If you have the interest and time to
check it out I'd appreciate any thoughts or feedback you might have.


Github: https://github.com/scottescue/dropwizard-entitymanager

User Guide: http://scottescue.com/dropwizard-entitymanager/
Post by frankgrimes97
Hi All,
I am seeing the following warnings in the logs after upgrading to
dropwizard-1.0.0.
"WARN org.hibernate.orm.deprecation - HHH90000022: Hibernate's legacy
org.hibernate.Criteria API is deprecated; use the JPA
javax.persistence.criteria.CriteriaQuery instead "
Are there plans to migrate to the JPA APIs?
Regards,
Frank Grimes
--
You received this message because you are subscribed to the Google Groups "dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dropwizard-user+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...