Try to search your question here, if you can't find : Ask Any Question Now ?

If using HIbernate with Database (and c3p0 dbpooling) is is still possible and safe to directly get connection by pasing Hibernate

HomeCategory: stackoverflowIf using HIbernate with Database (and c3p0 dbpooling) is is still possible and safe to directly get connection by pasing Hibernate
Avatarrupesh asked 6 days ago

Using Hibernate 4.3.11 with H2 1.4.199 and C3p0

If using Hibernate with Database is is still possible and safe to directly get connection from pool bypassing Hibernate?

Im trying to write an sql query, now I know I can use session.createSQLQuery() but this returns a Hibernate org.hibernate SQLQuery class rather than a java.sql.Connection and this is causing a problem for me trying to set the parameters, so I wanted to try using a Connection instead.

1 Answers
Best Answer
AvatarAmit answered 6 days ago
Your Answer

6 + 13 =

Popular Tags

WP Facebook Auto Publish Powered By : XYZScripts.com