Skip to content

Commit cf23b86

Browse files
authored
Fixes #4545 - Document datasource extension (#4615)
1 parent 2a963f9 commit cf23b86

File tree

1 file changed

+8
-0
lines changed
  • extension/datasource/src/site/markdown

1 file changed

+8
-0
lines changed

extension/datasource/src/site/markdown/index.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
The DataSource extension delivers you with a default DataSource in a Piranha runtime.
44

5+
## Default DataSource Configuration
6+
7+
The default DataSource is configured with the following details:
8+
9+
- **Name**: `java:comp/DefaultDataSource`
10+
- **Class**: `org.h2.jdbcx.JdbcDataSource`
11+
- **URL**: `jdbc:h2:mem:test;DB_CLOSE_DELAY=-1`
12+
513
## Override the default DataSource using web.xml
614

715
You override the default DataSource using the snippet below:

0 commit comments

Comments
 (0)