Comments (7)
@Dzeri96
In the new release, there is now a feature ("Data Model" -> "Generate DDL Script") to generate the "create table/view..." statements using Liquibase.
from jailer.
@Dzeri96 That's a really interesting idea. Thank you very much for it. I will definitely take a closer look at it!
from jailer.
There was a continuation of this topic here: #113
which finally resulted in release 16.1.3.
from jailer.
Creation scripts for the tables are currently not created automatically. Please use the appropriate tools of your DBMS for this.
The creation of DDL scripts is highly DBMS-specific and thus non-trivial. I do not believe that such a feature would work satisfactorily in Jailer. I would always resort to database on-board means. This is the only way to guarantee complete and error-free creation of all database objects.
from jailer.
Thanks for the quick response! Trying to find another way to dump the database with used tables only.
from jailer.
I know this issue is closed, but what about using Liquibase as a library to do the schema export (it has the generate-changelog command)? I've noticed that Liquibase does not do schema subsets well, because it always includes foreign key constraints, no matter if the referenced table is included or not. Having Jailer tell it exactly which tables it needs and then using its engine to export the schema seems like a great match.
from jailer.
I also opened a corresponding issue with liquibase, but no matter which way it goes, I still think integrating it into Jailer is a good idea. You could probably even offload some of the model analysis to it since it can talk to so many databases.
from jailer.
Related Issues (20)
- liquibase.exception.MigrationFailedException when importing generated XML files with dates HOT 6
- Ignore generated columns when export data HOT 12
- redmine mysql
- Error when using API with Java 17 HOT 1
- Data anonymization HOT 2
- Analyzing a Postgres DB with lots of partitioned tables creates seperate tables for each partition HOT 3
- ClickHouse database support HOT 3
- SQL statement detection incorrect while contain blank lines HOT 2
- Liquibase exception: Invalid string encoding on column.remarks. HOT 12
- The route for the custom installation is absent. HOT 1
- Open Table popover stuck on screen HOT 39
- Database tab - Schema Mapping should alter expanded table list HOT 8
- Subsetting SQL script generation fails with '"Connection reset" in statement "Insert into JAILER_ENTITY...' after having been running for 10s of hours HOT 1
- OSX Unable to connect to SSMS HOT 1
- Laggy SQL Console. HOT 5
- Liquibase export of Oracle RAW-columns fails HOT 2
- HTML Renderer - Fetch Database Comments HOT 2
- Some panels cannot display non ASCII characters correctly HOT 2
- PSQLException: SSL error: Received fatal alert: handshake_failure HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jailer.