oracle « Struts « JPA Q&A





1. Call Oracle stored function using Hibernate    struts.1045723.n5.nabble.com

Hi. I am using Spring, Struts 2, Hibernate and Oracle as DB. Until now everything worked ok since I only needed full entity objects but now I have to call some stored functions from the DB using the hibernate api. Until now I have used the following syntax: Query q = getEntityManager().createQuery(). Can you give me an example please on how ...

2. reconnecting to the Oracle database.with Hibernate 3. I    struts.1045723.n5.nabble.com

Hi I am getting Exception while reconnecting to the Oracle database.with Hibernate 3. I was getting this problem when Data Base server restarts. its start working when restartig the application server. Here is the error message I am getting in logs JDBCException W org.hibernate.util.JDBCExceptionReporter logExceptions SQL Error: 17002, SQLState: null JDBCException E org.hibernate.util.JDBCExceptionReporter logExceptions Io exception: The Network Adapter could not ...