O'Reilly logo

Spring Persistence with Hibernate by Ahmad Seddighi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

More on Hibernate configuration

Although database properties, dialect, and mapping files are the most important parts of a Hibernate configuration file, Hibernate's configuration properties include far more than what you have seen so far. This section discusses some of these configuration properties.

JDBC properties

These properties relate directly to the java.sql.Connection and java.sql.Statement objects, which Hibernate uses behind the scenes to interact with the database:

  • hibernate.jdbc.fetch_size: This property specifies the number of database rows that are buffered with every fetch. Using this property can improve performance when the application retrieves many rows. The optimized value can be achieved by balancing memory usage and network ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required