Git Product home page Git Product logo

dbpopulator-java's Introduction

Database Populator for Java

This project is still a work in progress (WIP) and currently it's just a dirty draft to show the workflow. The aim of this project is to provide an extensible & customizable framework to generate dummy data and populate a database with it. This is done by the combination of a database populator(DBPopulator) and generators.

The Workflow in detail

The process starts by defining a database descriptor, which represents the structure of the database, as well as the required connection parameters. This information will be used by the populator to actually submit the generated data to the database, as well as exporting the data as a script. You can see a sample here

The populator will delegate the generation of data to the generators, through their generate method. Each generator will produce dummy data for a specific field (or a set of fields). The populator on its turn will pack the generated data into the corresponding entries (e.g. rows) and return them back to the caller.

Why reinvent the wheel once more?

I know there are already some solutions out there, but most of them just limit to generate a script, at least the free ones, there are some commercial tools that actually submit the data to the database. However, even the commercial tools are a bit limited, for example they only work with a specific database type (e.g. SQL Server).

This software is designed in such a way that once it matures it will provide:

  • Support for multiple databases, even NoSQL ones.
  • Support for populating foreign keys.
  • Support for multiple backends to generate the data.
  • Support for running the library as a command line program (or even with a GUI).

dbpopulator-java's People

Contributors

lordscales91 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.