jdbc « Stored Procedure « JPA Q&A

1. Hibernate for stored procedure access    stackoverflow.com

We have business restriction in accessing the database only through stored procedure calls. Caching is also not allowed. Is there value in using Hibernate framework where in you are not using ...

2. JPA vs. JDBC, stored procedures and Co. or How to convince old school programmer to try ORM?    stackoverflow.com

This is something I deal periodically with, and first time it was me who needed conviction. Luckily, I just tried, made extra effort to learn and thanks to this book, ...

3. stored procedures in Hibernate    java-forums.org

4. Calling stored procedures in JPA? (no JDBC)    forum.hibernate.org

Hi all, what about calling (database) stored procedures, when using an EJB3 container with hibernate? Is there a way to implement such a calling? I have found in another forum of an object StoredProcedureCall found in "Eclipselink". Is there any analog mechanism in hiberate, is this part of the JPA spec? Thanks in advance, Xenofon

5. Call stored procedure via jdbc    forum.hibernate.org

Hi all, i try to execute a stored procedure via jdbc on sybase. Code: ... Session session = null; java.sql.ResultSet result = null; java.sql.PreparedStatement st; SessionFactory sessionFactory = new Configuration().configure().buildSessionFactory(); session = sessionFactory.openSession(); try { st = session.connection().prepareCall("{call ta_generic_password_check (?,?)}"); session.connection().setAutoCommit(true); ...