native « Oracle « JPA Q&A

1. Hibernate and Oracle native functions

I have an entity that maps to an external oracle table which is one of the primary data sources of my application. This entity is modelled using hibernate. The oracle table now ...

2. Hibernate native SQL error

I am trying to execute sql native query using hibernate 3.3.2.GA. I have following query.

session.createSQLQuery("SELECT {dept1.*}, {dept2.*} FROM Dept d1, Dept d2 WHERE d1.deptId = d2.deptId").

3. Hibernate doesn't use Oracle's native isolation levels

Hi All, Could you please help me out with a problem that keeps bothering me. I use Hibernate with spring transaction management and Oracle 10g database. Hibernate is initialized the next way: ...

4. Native Oracle functions for @Id