You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: HibernateSpringBootDataSourceBuilderC3P0Kickoff/README.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
3
3
**Note:** The best way to tune the connection pool parameters consist in using [Flexy Pool](https://github.com/vladmihalcea/flexy-pool) by Vlad Mihalcea. Via [Flexy Pool](https://github.com/vladmihalcea/flexy-pool) you can find the optim settings that sustain high-performance of your connection pool.
4
4
5
-
**Description:** This is a kickoff application that set up C3P0 via `DataSourceBuilder`. The `jdbcUrl` is set up for a MySQL database. For testing purpose the application uses an `ExecutorService` for simulating concurrent users.
5
+
**Description:** This is a kickoff application that set up C3P0 via `DataSourceBuilder`. The `jdbcUrl` is set up for a MySQL database. For testing purposes, the application uses an `ExecutorService` for simulating concurrent users.
6
6
7
-
**Key points:**\
8
-
- in `pom.xml` add the C3P0 dependency\
9
-
- in `application.properties`, configure C3P0 via a custom prefix, e.g., `app.datasource.*`\
10
-
- write a `@Bean` that returns the `DataSource`
7
+
**Key points:**
8
+
- in `pom.xml` add the C3P0 dependency
9
+
- in `application.properties`, configure C3P0 via a custom prefix, e.g., `app.datasource.*`
0 commit comments