-
Notifications
You must be signed in to change notification settings - Fork 350
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
Schema generation [DATAJDBC-536] #756
Labels
Milestone
Comments
Closed
Any updates? |
It seems like we would want something similar to this Liquibase project - in terms of functionality (initial schema generation and change sets) https://github.com/liquibase/liquibase-hibernate except that of course it would use Spring Data JDBC annotations as the source to Liquibase. |
mp911de
added a commit
that referenced
this issue
Jun 6, 2023
Reformat code, switch to tabs. Accept property in DatabaseTypeMapping to provide more context to the type mapping component. Rename LiquibaseChangeSetGenerator to …Writer as we're writing a changeset and computing the contents is a consequence of writing a changeset. Refine naming to express what we're actually doing. Introduce setters for enhanced configuration of predicates. Reduce visibility of types to avoid unwanted public API where public access is not needed. Remove usused code, move methods around for improved grouping of code. Rename package to schema as the schema is being created and updated and not generated. Rename …Model classes to just their name as types are package-private and not visible externally. Refactor SchemaDiff to Java record. Use different overloads to write schema changes to avoid LiquibaseException leaking into cases where no diff is being used. Introduce SchemaFilter to filter unwanted mapped entities. Move code to JDBC module. Introduce comparator strategy to customize how table and column names are compared. See #756 Original pull request: #1520
4 tasks
This was referenced Sep 1, 2023
kobaeugenea
added a commit
to kobaeugenea/spring-data-relational
that referenced
this issue
Sep 30, 2023
4 tasks
schauder
pushed a commit
that referenced
this issue
Nov 24, 2023
schauder
added a commit
that referenced
this issue
Nov 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using this issue as the epic to track implementing Schema Generation
Issues in epic:
Original comment in ticket
Mark Paluch opened DATAJDBC-536 and commented
We should investigate how we can generate a base-schema to be used with Spring Data JDBC. Schema generation should consider a simple approach without reflecting each database quirk. We should investigate whether we could integrate with tools like Liquibase and provide customization hooks so that applications can hook into the process and provide advanced schema definitions where needed
Issue Links:
The text was updated successfully, but these errors were encountered: