• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mybatis / generator / 2122

26 Mar 2026 06:40PM UTC coverage: 90.331% (+0.06%) from 90.271%
2122

Pull #1480

github

web-flow
Merge f1ba1864e into c987e5562
Pull Request #1480: Comment Generator Enhancements

2416 of 3182 branches covered (75.93%)

166 of 178 new or added lines in 35 files covered. (93.26%)

5 existing lines in 3 files now uncovered.

11752 of 13010 relevant lines covered (90.33%)

0.9 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/core/mybatis-generator-core/src/main/java/org/mybatis/generator/api/PluginUtilities.java
1
/*
2
 *    Copyright 2006-2026 the original author or authors.
3
 *
4
 *    Licensed under the Apache License, Version 2.0 (the "License");
5
 *    you may not use this file except in compliance with the License.
6
 *    You may obtain a copy of the License at
7
 *
8
 *       https://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 *    Unless required by applicable law or agreed to in writing, software
11
 *    distributed under the License is distributed on an "AS IS" BASIS,
12
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 *    See the License for the specific language governing permissions and
14
 *    limitations under the License.
15
 */
16
package org.mybatis.generator.api;
17

18
public class PluginUtilities {
19
    private PluginUtilities() {
20
        // utility class - no instances
21
    }
22

23
    public static boolean isLegacyMyBatis3(IntrospectedTable introspectedTable) {
24
        return introspectedTable.getKnownRuntime().isLegacyMyBatis3Based();
1✔
25
    }
26

27
    public static boolean isDynamicSql(IntrospectedTable introspectedTable) {
UNCOV
28
        return introspectedTable.getKnownRuntime().isDynamicSqlBased();
×
29
    }
30
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc