1. How to limit resultset size through hibernate.cfg.xml? coderanch.comOh, please tell my you're using the Ganng of Four's (GOF's) Data Access Object (DAO) pattern. You are right? I always like to implement finder methods in an abstract DAO class, that implements a GenericDAO interface, which provides a way to limit the resultset. As you can see, I'm a big fan of the Hibernate Criteria API: public List |
2. hibernate.cfg.xml config - datasource - pool_size - how to forum.hibernate.orgHi, I had some preformance issues with my production environment. So I tried some things. I am in doubt about hibernate configuration. Environment: Tomcat 4-1-29 begin webapps/myapp.xml ---------------------------------------------------------------------------------- |
3. Increasing size of the prepared statement cache in cfg.xml? forum.hibernate.orgHibernate version 3.2.4 We are attempting to speed up our Hibernate generated SQL running against an Oracle database. A db trace of the Oracle db indicates that each execution of a SQL statement causes a re-parse (and recompilation?) of the statement. As far as I know, Hibernate should use Prepared Statements 'under the hood' by default. Is that true? If so, ... |