mandragorn / dbdiff Goto Github PK
View Code? Open in Web Editor NEWThis project forked from vecnatechnologies/dbdiff
Database schema diff tool
License: Apache License 2.0
This project forked from vecnatechnologies/dbdiff
Database schema diff tool
License: Apache License 2.0
About ======== Database Diff Tool is a library for comparing database schemas. Features ======== - Can compare differences between database schemas: - Missing or unexpected tables - Missing or unexpected columns - Checks and compares column names, types, nullability, defaults, and sizes - Missing or unexpected foreign keys - Missing or unexpected primary keys/indices/unique constraints - Database Independent - Uses JDBC MetaData class -- as long as you have a JDBC driver and a solid MetaData implementation, you should be fine. - Supports Hibernate - Can compare Hibernate configuration with a live database schema Usage ======== Briefly, there are two programs: 1) com.vecna.dbDiff.tools.MakeReferenceDatabase - Use this tool to create a new reference database file. - The db file is a serialized version of the internal program db model class. - The file to be created is specified with a command-line argument. By default, it is 'myDb.ser'. - Refer to main method's javadoc for parameters to supply (eg DB connection params) 2) com.vecna.dbDiff.tools.CompareDatabase - Use this tool to read in a reference db file created by the first program and compare a live DB to it - Specify db connection params for the to-be-tested db using command line (refer to javadoc for paramaters to supply) - Any database differences are output to the console in human-readable results The easiest way to run these tools is to load this project in Eclipse, open up those two classes, hit Run Configurations, supply the appropriate arguments in the Arguments tab (eg db url, username, and password), and then run it from inside Eclipse. You will need the JDBC driver on the classpath. Credits ======= Originally developed by Vecna Technologies, Inc. and open sourced as part of its community service program. See the LICENSE file for more details. Vecna Technologies encourages employees to give 10% of their paid working time to community service projects. To learn more about Vecna Technologies, its products and community service programs, please visit http://www.vecna.com.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.