native « EntityManager « JPA Q&A





1. Invoke a native statement on obtaining connection in entity manager    stackoverflow.com

My company is using database ONINSERT, ONUPDATE, ONDELETE triggers for logging changes and there is also a way to impersonate another database user by calling a stored procedure which sets a ...

2. Fixes in Hibernate: Core (native) vs. EntityManager?    forum.hibernate.org

We'd like to get the benefit of a fix that has been implemented in Hibernate EntityManager 3.3.1, but our use of Hibernate is thoroughly and exclusive native (Core). I'm afraid I know the answer to this, but I need to ask just the same: what is the policy planned for Hibernate maintenance in this respect? Will applications need to migrate to ...

3. Problem with JPA Native queries in EntityManager    forum.hibernate.org

Dear Members, I have a problem with native queries with JPA and entity manager. I have to query databse to get some scalar values that does not belong to model/entities. Actually I call some stored procedures on Oracle DB. I found that Hibernate returns an array list of java.lang.Object. On the other hand, TopLink returns Vector of Vector as a result. ...

4. How to remove native deleted entities from a EntityManager    forum.hibernate.org

Hi, In my application I have several EntityManager at the same time. In some cases I delete entities via a native query (to increase the performance) - NOT via EntityManager.remove(..). My question is: How to remove these (already deleted) entities from all/one EntityManager? Re-initialization oft he existing EntityManager is not a accepted solution. Note: I have a List with all removed ...