jakartaee / jakartaee/persistence

database-specific DDL for schema export

Open
#1,023 2 comments 0 reactions 0 assignees View on GitHub
candidate-for-4
Dominant language
Java
Stars
268
Forks
78
Avg merge
1d 6h
Merged PRs (30d)
13

Description

It would be useful to be able to register platform-specific DDL for execution by the schema management tooling. The most logical place for this is XML. Something like:

```xml

major-version
12
CREATE OR REPLACE FUNCTION ...
DROP FUNCTION ...

```

This came up as being potentially useful for the TCK.

Hibernate already has something quite similar to this.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the schema management tooling and the TCK use case described in the issue, then compare Hibernate's similar capability. The issue is complete when the project has agreed how XML registers database-specific create and drop DDL, including product and major-version matching, and how the tooling executes it.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, xml
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.