Skip to content

Commit a59344b

Browse files
committed
Update DTD for MBG 1.3.6
1 parent 7432103 commit a59344b

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

dtd/mybatis-generator-config_1_0.dtd

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
33
4-
Copyright 2006-2016 the original author or authors.
4+
Copyright 2006-2017 the original author or authors.
55
66
Licensed under the Apache License, Version 2.0 (the "License");
77
you may not use this file except in compliance with the License.
@@ -150,7 +150,7 @@
150150
The table element is used to specify a database table that will be the source information
151151
for a set of generated objects.
152152
-->
153-
<!ELEMENT table (property*, generatedKey?, columnRenamingRule?, (columnOverride | ignoreColumn | ignoreColumnsByRegex)*) >
153+
<!ELEMENT table (property*, generatedKey?, domainObjectRenamingRule?, columnRenamingRule?, (columnOverride | ignoreColumn | ignoreColumnsByRegex)*) >
154154
<!ATTLIST table
155155
catalog CDATA #IMPLIED
156156
schema CDATA #IMPLIED
@@ -228,6 +228,15 @@
228228
identity CDATA #IMPLIED
229229
type CDATA #IMPLIED>
230230

231+
<!--
232+
The domainObjectRenamingRule element is used to specify a rule for renaming
233+
object domain name before the corresponding domain object name is calculated
234+
-->
235+
<!ELEMENT domainObjectRenamingRule EMPTY>
236+
<!ATTLIST domainObjectRenamingRule
237+
searchString CDATA #REQUIRED
238+
replaceString CDATA #IMPLIED>
239+
231240
<!--
232241
The columnRenamingRule element is used to specify a rule for renaming
233242
columns before the corresponding property name is calculated

0 commit comments

Comments
 (0)