Hibernate 5 and Typed Criteria Queries (JPA2)
<p>Questions:</p>

<p>1) If I upgrade from Hibernate 4.x to Hibernate 5.x, can I still use the "old" Criteria Queries, or only the new <strong>Typed</strong> JPA2 Criteria Queries? Is the old one deprecated, or can I use both side by side?</p>

<p>2) Did I understand correctly that the new Typed Criteria forces me to create a second class for <strong>each</strong> Entity class I have, thus duplicating the number of classes? Am I supposed to create these classes by hand? If not, how? Rant: Having to duplicate classes seem bizarre, so I must be misunderstanding it somehow? Isn't that overkill and unnecessarily complicated? </p>