Git Product home page Git Product logo

codegenunderstorio's Introduction

CodeGenUnderStorIO

####It's a Java classes code generator to work with SQLite through StorIO

CodeGenUnderStorIO generates entity classes (with annotations) needed to work StorIO, as well as the supporting metadata classes that contain static information describing the tables of the database.

####For whom and why: The project will be useful for those users of StorIO, who is developing its database in any visual editor that can generate queries to create tables. And will help you to save time when you describe а developed database schema in Android project by generating the required java classes of the tables description.

####How to use:

  1. You need to collect in a single text file the queries such as CREATE TABLE
  2. Run with arguments the file CodeGenUnderStorIO.jar

Available arguments in the order they appear:

  • The full path and name of the file containing the SQL queries (the path can be omitted if the file is located in the same folder with CodeGenUnderStorIO.jar)
  • The java package name to specify it in the generated classes and create the appropriate directory structure
  • Full or relative path to the location of the generated files

####Example See [there] (https://github.com/shivan42/CodeGenUnderStorIO/tree/master/sample). To run codegen use

And don't forget look at their code to see the arguments.

For those who have not decided with a visual editor database structure, it is proposed to use Visual Paradigm Community Edition. In this editor was generated schema used in the example.

####Assembly of project To run the source codes of the project will need to specify dependencies from third party libraries:


The project is inspired by the plugin AutoGenerator for which separate him thanks. There are also plans to assembly from this project a plugin for IDE, but when... who knows. So, if you like the project and you have time to create a plugin from it, I will gladly accept your pull-requsts : )

Created by @Shivan

codegenunderstorio's People

Contributors

artem-zinnatullin avatar shivan42 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.