mybatis-generator-plugins | Set of plugins for the mybatis-generator | Generator Utils library

 by   dcendents Java Version: 1.3 License: Apache-2.0

kandi X-RAY | mybatis-generator-plugins Summary

kandi X-RAY | mybatis-generator-plugins Summary

mybatis-generator-plugins is a Java library typically used in Generator, Generator Utils applications. mybatis-generator-plugins has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub, Maven.

[Dependabot SemVer Compatibility] See the following project for a demo of most of these plugins: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mybatis-generator-plugins has a low active ecosystem.
              It has 67 star(s) with 22 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 3 open issues and 4 have been closed. On average issues are closed in 582 days. There are 20 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of mybatis-generator-plugins is 1.3

            kandi-Quality Quality

              mybatis-generator-plugins has 0 bugs and 0 code smells.

            kandi-Security Security

              mybatis-generator-plugins has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              mybatis-generator-plugins code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              mybatis-generator-plugins is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              mybatis-generator-plugins releases are available to install and integrate.
              Deployable package is available in Maven.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 4077 lines of code, 357 functions and 25 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed mybatis-generator-plugins and discovered the below as its top functions. This is intended to give you an instant insight into mybatis-generator-plugins implemented functionality, and help decide if they suit your requirements.
            • Generate the top level class
            • Add the field for the given column
            • Build inner class
            • Add an alias for the table field
            • Validates the properties
            • Validate that the subpackage is valid
            • Generate additional Java files for the given table
            • Returns a DynamicSqlSupportClassGenerator
            • Validates the plugin
            • Initializes the interface
            • Checks if the interface generated by the given interface
            • Override this method to provide additionalJavaJavaFiles
            • Updates the type of the example table
            • Checks whether the base record class is generated by the user
            • Gets the value of the wrapped getter method
            • Validates that the plugin is valid
            • Checks if the client is generated
            • Checks if the plugin is valid
            • Validates the properties of the plugin
            • Checks if model class is generated
            • Validates if the plugin name is valid
            • Validates that the plugin name and column values are valid
            • Validates the configuration
            • Gets the model setter method
            Get all kandi verified functions for this library.

            mybatis-generator-plugins Key Features

            No Key Features are available at this moment for mybatis-generator-plugins.

            mybatis-generator-plugins Examples and Code Snippets

            No Code Snippets are available at this moment for mybatis-generator-plugins.

            Community Discussions

            QUESTION

            How to set custom name, suffix for mapper files and interfaces in mybatis generator?
            Asked 2019-May-15 at 20:04

            Can you set custom suffix and naming rule mapper xml and interfaces in MyBatis Generator (MBG)?

            For example, When generating mapper files for class Book. MBG generates mapper file BookMapper.xml and interface PartnerDao.java. However, I wish to change the suffix to something else, like BookMapperBase.xml or BookDaoBase.xml, and PartnerMapperBase.java or PartnerDaoBase.java.

            The reason is, former colleagues were using BookMapper.xml for their hand-written sql statements and using the same name would cause confusion. Moreover, I do not wish to use generated mappers directly, but use custom mapper files that extend BookMapperBase.xml.

            I have searched online and found some github projects and hot rod ORM, but is it really not supported by official Mybatis Generator? If not, what is your recommended alternative?

            ...

            ANSWER

            Answered 2019-May-15 at 20:04

            There are a couple of options.

            1. You could use a domain object renaming rule as documented here: http://www.mybatis.org/generator/configreference/domainObjectRenamingRule.html

            2. If that doesn't work the way you want it to, you could write a MyBatis Generator plugin to change the names of the generated artifacts. There is an example here: https://github.com/mybatis/generator/blob/master/core/mybatis-generator-core/src/main/java/org/mybatis/generator/plugins/RenameExampleClassPlugin.java

            Source https://stackoverflow.com/questions/56150566

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mybatis-generator-plugins

            You can download it from GitHub, Maven.
            You can use mybatis-generator-plugins like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the mybatis-generator-plugins component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
            Maven
            Gradle
            CLONE
          • HTTPS

            https://github.com/dcendents/mybatis-generator-plugins.git

          • CLI

            gh repo clone dcendents/mybatis-generator-plugins

          • sshUrl

            git@github.com:dcendents/mybatis-generator-plugins.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link