jaxio / celerio

Celerio is a code generator tool for data-driven application.
Apache License 2.0
80 stars 35 forks source link

How to omit some tables when doing database schema extraction #1

Closed AVE-cesar closed 8 years ago

AVE-cesar commented 8 years ago

I would like to be able to filter tables that I don't want when I am doing database schema extraction.

Is there a way to do it ?

I would appreciate a parameter (with wilcard) that can be used to tell you tool table names we don't want JPA classes to be generated and so on.

nromanetti commented 8 years ago

Use the celerio bootstrap to initiate a project. Then open the src/main/config/celerio-maven-plugin/celerio-maven-plugin.xml file

You can configure which tables are used:

        <tables>
            <!-- <table include="false" pattern="*_AUDIT"/> -->
            <table include="true" pattern="*"/>
        </tables>
AVE-cesar commented 8 years ago

thanks

have you ever heard about this tool named jhipster ?

nromanetti commented 8 years ago

sure, check out this...https://github.com/jaxio/jhipser-lab