Java Code Examples for org.mybatis.generator.codegen.XmlConstants#IBATIS2_SQL_MAP_PUBLIC_ID
The following examples show how to use
org.mybatis.generator.codegen.XmlConstants#IBATIS2_SQL_MAP_PUBLIC_ID .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SqlMapGenerator.java From mybatis-generator-core-fix with Apache License 2.0 | 5 votes |
@Override public Document getDocument() { Document document = new Document( XmlConstants.IBATIS2_SQL_MAP_PUBLIC_ID, XmlConstants.IBATIS2_SQL_MAP_SYSTEM_ID); document.setRootElement(getSqlMapElement()); if (!context.getPlugins().sqlMapDocumentGenerated(document, introspectedTable)) { document = null; } return document; }
Example 2
Source File: SqlMapGenerator.java From mybatis-generator-plus with Apache License 2.0 | 5 votes |
@Override public Document getDocument() { Document document = new Document( XmlConstants.IBATIS2_SQL_MAP_PUBLIC_ID, XmlConstants.IBATIS2_SQL_MAP_SYSTEM_ID); document.setRootElement(getSqlMapElement()); if (!context.getPlugins().sqlMapDocumentGenerated(document, introspectedTable)) { document = null; } return document; }