API 2 « Criteria « JPA Q&A





1. Strange behaviour when using Criteria API    forum.hibernate.org

Hi folk, we have a very strange problem in our hibernate application. When performing a Criteria hibernate somehow writes data into the database. Debugging through the code we couldn't find any commits to the database driver. Anyways the data could not be rolledback afterwards. All operations are running in one single hibernate transaction and the corresponding commit/rollback of this transaction is ...

2. Hibernate and the JPA 2.0 Criteria API    forum.hibernate.org

Hi, JPA 2.0 will contain a Criteria API. Will hibernate implement this API ? We are interested in this as it would allow applications to be developed without exposing a specific Persistence Layer implementation. We have a requirement that the persistence layer implementation may be changed throughout the lifetime of our project. Utilizing the JPA Criteria API would allow us to ...