Skip to content

[AMQ-9806] Add H2 database support#1535

Merged
jeanouii merged 1 commit intoapache:mainfrom
mattrpav:AMQ-9806
Feb 11, 2026
Merged

[AMQ-9806] Add H2 database support#1535
jeanouii merged 1 commit intoapache:mainfrom
mattrpav:AMQ-9806

Conversation

@mattrpav
Copy link
Contributor

No description provided.

@mattrpav mattrpav self-assigned this Nov 16, 2025
@mattrpav mattrpav changed the title WIP: Add H2 database support WIP: [AMQ-9806] Add H2 database support Nov 24, 2025
@mattrpav mattrpav force-pushed the AMQ-9806 branch 2 times, most recently from d222e0b to 87f01b2 Compare January 17, 2026 18:53
@mattrpav mattrpav changed the title WIP: [AMQ-9806] Add H2 database support [AMQ-9806] Add H2 database support Jan 17, 2026
Copy link
Contributor

@jeanouii jeanouii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

}

@Override
public String limitQuery(String query) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a PR open to use the limitQuery everywhere because it's not in the default adapter (super class). Just an FYI

}

public static String createURL(String db) {
return "jdbc:h2:./target/h2-db/" + db + "/" + db + "-h2.db;DB_CLOSE_DELAY=-1";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to have a database per test so we can later use parallelism if needed.

@jeanouii jeanouii merged commit e98f9f2 into apache:main Feb 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants