Skip to content

Commit

Permalink
add HibernatePersistenceConfiguration.jdbcPoolSize
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinking committed Dec 22, 2024
1 parent 2487390 commit 617359f
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,16 @@ public HibernatePersistenceConfiguration jdbcCredentials(String username, String
return this;
}

/**
* The JDBC connection pool size.
*
* @see JdbcSettings#POOL_SIZE
*/
public HibernatePersistenceConfiguration jdbcPoolSize(int poolSize) {
property( JdbcSettings.POOL_SIZE, poolSize );
return this;
}

/**
* Enables SQL logging to the console.
* <p>
Expand Down

0 comments on commit 617359f

Please sign in to comment.