Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.x] Backports database-related information present on 4.x to 3.x archetypes #7936

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions archetypes/helidon/src/main/archetype/mp/custom/database.xml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ Instructions for H2 can be found here: https://www.h2database.com/html/cheatShee
</list>
<value key="jdbcDataSource">org.h2.jdbcx.JdbcDataSource</value>
<value key="databaseUrl">jdbc:h2:mem:test;DB_CLOSE_DELAY=-1</value>
<value key="dbUser">sa</value>
<value key="userPassword"></value>
<list key="MainTest-methods">
<value><![CDATA[
@Test
Expand Down Expand Up @@ -307,6 +309,9 @@ docker run --rm --name mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root -e MYSQL_D
</map>
</list>
<value key="jdbcDataSource">com.mysql.cj.jdbc.MysqlDataSource</value>
<value key="databaseUrl">jdbc:mysql://127.0.0.1:3306/pokemon?useSSL=false</value>
<value key="dbUser">user</value>
<value key="userPassword">password</value>
</model>
</output>
</option>
Expand Down Expand Up @@ -351,6 +356,9 @@ docker run --rm --name xe -p 1521:1521 -p 8888:8080 -e ORACLE_PWD=oracle wnamele
</map>
</list>
<value key="jdbcDataSource">oracle.jdbc.pool.OracleDataSource</value>
<value key="databaseUrl">jdbc:oracle:thin:@localhost:1521:XE</value>
<value key="dbUser">sys as sysdba</value>
<value key="userPassword">oracle</value>
</model>
</output>
</option>
Expand Down
Loading