Awesome
Java Sample Project for Data Anonymization
- Download and start H2 database server
- Connect to source (movies_source) database and execute create_tables.sql script
- Connect to destination (movies_dest) database and execute create_tables.sql script
- Insert sample data into source database tables using scripts insert_movies.sql and insert_ratings.sql
- Run this main program using following command
- Now change Main program (Anonymizer.kt) as per your need and delete resources (*.sql files)
Running it using maven command line
$ mvn exec:java
Running it as executable jar
first package it and run the generated jar in target folder
$ mvn package
$ java -jar target/dataanon-java-sample-1.0-SNAPSHOT.jar